package fake
import "k8s.io/client-go/1.4/kubernetes/typed/batch/v1/fake"
Package fake has the automatically generated clients.
Index ¶
- type FakeBatch
- func (c *FakeBatch) GetRESTClient() *rest.RESTClient
- func (c *FakeBatch) Jobs(namespace string) v1.JobInterface
- type FakeJobs
- func (c *FakeJobs) Create(job *v1.Job) (result *v1.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 *v1.Job, err error)
- func (c *FakeJobs) List(opts api.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.ListOptions) (watch.Interface, error)
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.
func (*FakeBatch) Jobs ¶
func (c *FakeBatch) Jobs(namespace string) v1.JobInterface
type FakeJobs ¶
type FakeJobs struct { Fake *FakeBatch // contains filtered or unexported fields }
FakeJobs implements JobInterface
func (*FakeJobs) Create ¶
func (*FakeJobs) Delete ¶
func (c *FakeJobs) Delete(name string, options *api.DeleteOptions) error
func (*FakeJobs) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
func (*FakeJobs) Get ¶
func (*FakeJobs) List ¶
func (*FakeJobs) Patch ¶
func (c *FakeJobs) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Job, err error)
Patch applies the patch and returns the patched job.
func (*FakeJobs) Update ¶
func (*FakeJobs) UpdateStatus ¶
func (*FakeJobs) Watch ¶
Watch returns a watch.Interface that watches the requested jobs.
Source Files ¶
doc.go fake_batch_client.go fake_job.go
- Version
- v1.4.0
- Published
- Oct 17, 2016
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 7 minutes ago –
Tools for package owners.