Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApiServerSources
- func (c *FakeApiServerSources) Create(apiServerSource *v1alpha1.ApiServerSource) (result *v1alpha1.ApiServerSource, err error)
- func (c *FakeApiServerSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApiServerSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApiServerSources) Get(name string, options v1.GetOptions) (result *v1alpha1.ApiServerSource, err error)
- func (c *FakeApiServerSources) List(opts v1.ListOptions) (result *v1alpha1.ApiServerSourceList, err error)
- func (c *FakeApiServerSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApiServerSource, err error)
- func (c *FakeApiServerSources) Update(apiServerSource *v1alpha1.ApiServerSource) (result *v1alpha1.ApiServerSource, err error)
- func (c *FakeApiServerSources) UpdateStatus(apiServerSource *v1alpha1.ApiServerSource) (*v1alpha1.ApiServerSource, error)
- func (c *FakeApiServerSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeContainerSources
- func (c *FakeContainerSources) Create(containerSource *v1alpha1.ContainerSource) (result *v1alpha1.ContainerSource, err error)
- func (c *FakeContainerSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeContainerSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeContainerSources) Get(name string, options v1.GetOptions) (result *v1alpha1.ContainerSource, err error)
- func (c *FakeContainerSources) List(opts v1.ListOptions) (result *v1alpha1.ContainerSourceList, err error)
- func (c *FakeContainerSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ContainerSource, err error)
- func (c *FakeContainerSources) Update(containerSource *v1alpha1.ContainerSource) (result *v1alpha1.ContainerSource, err error)
- func (c *FakeContainerSources) UpdateStatus(containerSource *v1alpha1.ContainerSource) (*v1alpha1.ContainerSource, error)
- func (c *FakeContainerSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCronJobSources
- func (c *FakeCronJobSources) Create(cronJobSource *v1alpha1.CronJobSource) (result *v1alpha1.CronJobSource, err error)
- func (c *FakeCronJobSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCronJobSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCronJobSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CronJobSource, err error)
- func (c *FakeCronJobSources) List(opts v1.ListOptions) (result *v1alpha1.CronJobSourceList, err error)
- func (c *FakeCronJobSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CronJobSource, err error)
- func (c *FakeCronJobSources) Update(cronJobSource *v1alpha1.CronJobSource) (result *v1alpha1.CronJobSource, err error)
- func (c *FakeCronJobSources) UpdateStatus(cronJobSource *v1alpha1.CronJobSource) (*v1alpha1.CronJobSource, error)
- func (c *FakeCronJobSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSourcesV1alpha1
- func (c *FakeSourcesV1alpha1) ApiServerSources(namespace string) v1alpha1.ApiServerSourceInterface
- func (c *FakeSourcesV1alpha1) ContainerSources(namespace string) v1alpha1.ContainerSourceInterface
- func (c *FakeSourcesV1alpha1) CronJobSources(namespace string) v1alpha1.CronJobSourceInterface
- func (c *FakeSourcesV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApiServerSources ¶
type FakeApiServerSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeApiServerSources implements ApiServerSourceInterface
func (*FakeApiServerSources) Create ¶
func (c *FakeApiServerSources) Create(apiServerSource *v1alpha1.ApiServerSource) (result *v1alpha1.ApiServerSource, err error)
Create takes the representation of a apiServerSource and creates it. Returns the server's representation of the apiServerSource, and an error, if there is any.
func (*FakeApiServerSources) Delete ¶
func (c *FakeApiServerSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the apiServerSource and deletes it. Returns an error if one occurs.
func (*FakeApiServerSources) DeleteCollection ¶
func (c *FakeApiServerSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApiServerSources) Get ¶
func (c *FakeApiServerSources) Get(name string, options v1.GetOptions) (result *v1alpha1.ApiServerSource, err error)
Get takes name of the apiServerSource, and returns the corresponding apiServerSource object, and an error if there is any.
func (*FakeApiServerSources) List ¶
func (c *FakeApiServerSources) List(opts v1.ListOptions) (result *v1alpha1.ApiServerSourceList, err error)
List takes label and field selectors, and returns the list of ApiServerSources that match those selectors.
func (*FakeApiServerSources) Patch ¶
func (c *FakeApiServerSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ApiServerSource, err error)
Patch applies the patch and returns the patched apiServerSource.
func (*FakeApiServerSources) Update ¶
func (c *FakeApiServerSources) Update(apiServerSource *v1alpha1.ApiServerSource) (result *v1alpha1.ApiServerSource, err error)
Update takes the representation of a apiServerSource and updates it. Returns the server's representation of the apiServerSource, and an error, if there is any.
func (*FakeApiServerSources) UpdateStatus ¶
func (c *FakeApiServerSources) UpdateStatus(apiServerSource *v1alpha1.ApiServerSource) (*v1alpha1.ApiServerSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApiServerSources) Watch ¶
func (c *FakeApiServerSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested apiServerSources.
type FakeContainerSources ¶
type FakeContainerSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeContainerSources implements ContainerSourceInterface
func (*FakeContainerSources) Create ¶
func (c *FakeContainerSources) Create(containerSource *v1alpha1.ContainerSource) (result *v1alpha1.ContainerSource, err error)
Create takes the representation of a containerSource and creates it. Returns the server's representation of the containerSource, and an error, if there is any.
func (*FakeContainerSources) Delete ¶
func (c *FakeContainerSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the containerSource and deletes it. Returns an error if one occurs.
func (*FakeContainerSources) DeleteCollection ¶
func (c *FakeContainerSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeContainerSources) Get ¶
func (c *FakeContainerSources) Get(name string, options v1.GetOptions) (result *v1alpha1.ContainerSource, err error)
Get takes name of the containerSource, and returns the corresponding containerSource object, and an error if there is any.
func (*FakeContainerSources) List ¶
func (c *FakeContainerSources) List(opts v1.ListOptions) (result *v1alpha1.ContainerSourceList, err error)
List takes label and field selectors, and returns the list of ContainerSources that match those selectors.
func (*FakeContainerSources) Patch ¶
func (c *FakeContainerSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ContainerSource, err error)
Patch applies the patch and returns the patched containerSource.
func (*FakeContainerSources) Update ¶
func (c *FakeContainerSources) Update(containerSource *v1alpha1.ContainerSource) (result *v1alpha1.ContainerSource, err error)
Update takes the representation of a containerSource and updates it. Returns the server's representation of the containerSource, and an error, if there is any.
func (*FakeContainerSources) UpdateStatus ¶
func (c *FakeContainerSources) UpdateStatus(containerSource *v1alpha1.ContainerSource) (*v1alpha1.ContainerSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeContainerSources) Watch ¶
func (c *FakeContainerSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested containerSources.
type FakeCronJobSources ¶
type FakeCronJobSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeCronJobSources implements CronJobSourceInterface
func (*FakeCronJobSources) Create ¶
func (c *FakeCronJobSources) Create(cronJobSource *v1alpha1.CronJobSource) (result *v1alpha1.CronJobSource, err error)
Create takes the representation of a cronJobSource and creates it. Returns the server's representation of the cronJobSource, and an error, if there is any.
func (*FakeCronJobSources) Delete ¶
func (c *FakeCronJobSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cronJobSource and deletes it. Returns an error if one occurs.
func (*FakeCronJobSources) DeleteCollection ¶
func (c *FakeCronJobSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCronJobSources) Get ¶
func (c *FakeCronJobSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CronJobSource, err error)
Get takes name of the cronJobSource, and returns the corresponding cronJobSource object, and an error if there is any.
func (*FakeCronJobSources) List ¶
func (c *FakeCronJobSources) List(opts v1.ListOptions) (result *v1alpha1.CronJobSourceList, err error)
List takes label and field selectors, and returns the list of CronJobSources that match those selectors.
func (*FakeCronJobSources) Patch ¶
func (c *FakeCronJobSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CronJobSource, err error)
Patch applies the patch and returns the patched cronJobSource.
func (*FakeCronJobSources) Update ¶
func (c *FakeCronJobSources) Update(cronJobSource *v1alpha1.CronJobSource) (result *v1alpha1.CronJobSource, err error)
Update takes the representation of a cronJobSource and updates it. Returns the server's representation of the cronJobSource, and an error, if there is any.
func (*FakeCronJobSources) UpdateStatus ¶
func (c *FakeCronJobSources) UpdateStatus(cronJobSource *v1alpha1.CronJobSource) (*v1alpha1.CronJobSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCronJobSources) Watch ¶
func (c *FakeCronJobSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cronJobSources.
type FakeSourcesV1alpha1 ¶
func (*FakeSourcesV1alpha1) ApiServerSources ¶
func (c *FakeSourcesV1alpha1) ApiServerSources(namespace string) v1alpha1.ApiServerSourceInterface
func (*FakeSourcesV1alpha1) ContainerSources ¶
func (c *FakeSourcesV1alpha1) ContainerSources(namespace string) v1alpha1.ContainerSourceInterface
func (*FakeSourcesV1alpha1) CronJobSources ¶
func (c *FakeSourcesV1alpha1) CronJobSources(namespace string) v1alpha1.CronJobSourceInterface
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.