Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBatch
- type FakeJobs
- func (c *FakeJobs) Create(job *v1.Job) (result *v1.Job, err error)
- func (c *FakeJobs) Delete(name string, options *api_v1.DeleteOptions) error
- func (c *FakeJobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
- func (c *FakeJobs) Get(name string) (result *v1.Job, err error)
- func (c *FakeJobs) List(opts api_v1.ListOptions) (result *v1.JobList, err error)
- func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Job, err error)
- func (c *FakeJobs) Update(job *v1.Job) (result *v1.Job, err error)
- func (c *FakeJobs) UpdateStatus(job *v1.Job) (*v1.Job, error)
- func (c *FakeJobs) Watch(opts api_v1.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() *rest.RESTClient
GetRESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeJobs ¶
type FakeJobs struct { Fake *FakeBatch // contains filtered or unexported fields }
FakeJobs implements JobInterface
func (*FakeJobs) Delete ¶
func (c *FakeJobs) Delete(name string, options *api_v1.DeleteOptions) error
func (*FakeJobs) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error
Click to show internal directories.
Click to hide internal directories.