package fake

import "k8s.io/client-go/1.4/kubernetes/typed/batch/v1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakeBatch

type FakeBatch struct {
	*testing.Fake
}

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 (c *FakeJobs) Create(job *v1.Job) (result *v1.Job, err error)

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 (c *FakeJobs) Get(name string) (result *v1.Job, err error)

func (*FakeJobs) List

func (c *FakeJobs) List(opts api.ListOptions) (result *v1.JobList, err error)

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 (c *FakeJobs) Update(job *v1.Job) (result *v1.Job, err error)

func (*FakeJobs) UpdateStatus

func (c *FakeJobs) UpdateStatus(job *v1.Job) (*v1.Job, error)

func (*FakeJobs) Watch

func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error)

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.