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