Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuildJobs
- func (c *FakeBuildJobs) Create(buildJob *v1alpha1.BuildJob) (result *v1alpha1.BuildJob, err error)
- func (c *FakeBuildJobs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuildJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuildJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.BuildJob, err error)
- func (c *FakeBuildJobs) List(opts v1.ListOptions) (result *v1alpha1.BuildJobList, err error)
- func (c *FakeBuildJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BuildJob, err error)
- func (c *FakeBuildJobs) Update(buildJob *v1alpha1.BuildJob) (result *v1alpha1.BuildJob, err error)
- func (c *FakeBuildJobs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCbiV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuildJobs ¶
type FakeBuildJobs struct { Fake *FakeCbiV1alpha1 // contains filtered or unexported fields }
FakeBuildJobs implements BuildJobInterface
func (*FakeBuildJobs) Create ¶
Create takes the representation of a buildJob and creates it. Returns the server's representation of the buildJob, and an error, if there is any.
func (*FakeBuildJobs) Delete ¶
func (c *FakeBuildJobs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the buildJob and deletes it. Returns an error if one occurs.
func (*FakeBuildJobs) DeleteCollection ¶
func (c *FakeBuildJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuildJobs) Get ¶
func (c *FakeBuildJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.BuildJob, err error)
Get takes name of the buildJob, and returns the corresponding buildJob object, and an error if there is any.
func (*FakeBuildJobs) List ¶
func (c *FakeBuildJobs) List(opts v1.ListOptions) (result *v1alpha1.BuildJobList, err error)
List takes label and field selectors, and returns the list of BuildJobs that match those selectors.
func (*FakeBuildJobs) Patch ¶
func (c *FakeBuildJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.BuildJob, err error)
Patch applies the patch and returns the patched buildJob.
func (*FakeBuildJobs) Update ¶
Update takes the representation of a buildJob and updates it. Returns the server's representation of the buildJob, and an error, if there is any.
func (*FakeBuildJobs) Watch ¶
func (c *FakeBuildJobs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested buildJobs.
type FakeCbiV1alpha1 ¶
func (*FakeCbiV1alpha1) BuildJobs ¶
func (c *FakeCbiV1alpha1) BuildJobs(namespace string) v1alpha1.BuildJobInterface
func (*FakeCbiV1alpha1) RESTClient ¶
func (c *FakeCbiV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.