Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBatch
- type FakeJobs
- func (c *FakeJobs) Create(job *batch.Job) (result *batch.Job, err error)
- func (c *FakeJobs) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeJobs) Get(name string) (result *batch.Job, err error)
- func (c *FakeJobs) List(opts api.ListOptions) (result *batch.JobList, err error)
- func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *batch.Job, err error)
- func (c *FakeJobs) Update(job *batch.Job) (result *batch.Job, err error)
- func (c *FakeJobs) UpdateStatus(job *batch.Job) (*batch.Job, error)
- func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error)
- type FakeScheduledJobs
- func (c *FakeScheduledJobs) Create(scheduledJob *batch.ScheduledJob) (result *batch.ScheduledJob, err error)
- func (c *FakeScheduledJobs) Delete(name string, options *api.DeleteOptions) error
- func (c *FakeScheduledJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
- func (c *FakeScheduledJobs) Get(name string) (result *batch.ScheduledJob, err error)
- func (c *FakeScheduledJobs) List(opts api.ListOptions) (result *batch.ScheduledJobList, err error)
- func (c *FakeScheduledJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *batch.ScheduledJob, err error)
- func (c *FakeScheduledJobs) Update(scheduledJob *batch.ScheduledJob) (result *batch.ScheduledJob, err error)
- func (c *FakeScheduledJobs) UpdateStatus(scheduledJob *batch.ScheduledJob) (*batch.ScheduledJob, error)
- func (c *FakeScheduledJobs) Watch(opts api.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBatch ¶
func (*FakeBatch) GetRESTClient ¶
func (c *FakeBatch) GetRESTClient() *restclient.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeBatch) Jobs ¶
func (c *FakeBatch) Jobs(namespace string) unversioned.JobInterface
func (*FakeBatch) ScheduledJobs ¶
func (c *FakeBatch) ScheduledJobs(namespace string) unversioned.ScheduledJobInterface
type FakeJobs ¶
type FakeJobs struct { Fake *FakeBatch // contains filtered or unexported fields }
FakeJobs implements JobInterface
func (*FakeJobs) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
type FakeScheduledJobs ¶
type FakeScheduledJobs struct { Fake *FakeBatch // contains filtered or unexported fields }
FakeScheduledJobs implements ScheduledJobInterface
func (*FakeScheduledJobs) Create ¶
func (c *FakeScheduledJobs) Create(scheduledJob *batch.ScheduledJob) (result *batch.ScheduledJob, err error)
func (*FakeScheduledJobs) Delete ¶
func (c *FakeScheduledJobs) Delete(name string, options *api.DeleteOptions) error
func (*FakeScheduledJobs) DeleteCollection ¶
func (c *FakeScheduledJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeScheduledJobs) Get ¶
func (c *FakeScheduledJobs) Get(name string) (result *batch.ScheduledJob, err error)
func (*FakeScheduledJobs) List ¶
func (c *FakeScheduledJobs) List(opts api.ListOptions) (result *batch.ScheduledJobList, err error)
func (*FakeScheduledJobs) Patch ¶ added in v1.4.1
func (c *FakeScheduledJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *batch.ScheduledJob, err error)
Patch applies the patch and returns the patched scheduledJob.
func (*FakeScheduledJobs) Update ¶
func (c *FakeScheduledJobs) Update(scheduledJob *batch.ScheduledJob) (result *batch.ScheduledJob, err error)
func (*FakeScheduledJobs) UpdateStatus ¶
func (c *FakeScheduledJobs) UpdateStatus(scheduledJob *batch.ScheduledJob) (*batch.ScheduledJob, error)
func (*FakeScheduledJobs) Watch ¶
func (c *FakeScheduledJobs) Watch(opts api.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scheduledJobs.
Click to show internal directories.
Click to hide internal directories.