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