Package fake has the automatically generated clients.



    This section is empty.


    This section is empty.


    This section is empty.


    type FakeBatchV1

    type FakeBatchV1 struct {

    func (*FakeBatchV1) Jobs

    func (c *FakeBatchV1) Jobs(namespace string) v1.JobInterface

    func (*FakeBatchV1) RESTClient

    func (c *FakeBatchV1) RESTClient() rest.Interface

      RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

      type FakeJobs

      type FakeJobs struct {
      	Fake *FakeBatchV1
      	// 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 *meta_v1.DeleteOptions) error

        func (*FakeJobs) DeleteCollection

        func (c *FakeJobs) DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error

        func (*FakeJobs) Get

        func (c *FakeJobs) Get(name string, options meta_v1.GetOptions) (result *v1.Job, err error)

        func (*FakeJobs) List

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

        func (*FakeJobs) Patch

        func (c *FakeJobs) Patch(name string, pt types.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 meta_v1.ListOptions) (watch.Interface, error)

            Watch returns a watch.Interface that watches the requested jobs.