fake

package
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBatchV1

type FakeBatchV1 struct {
	*testing.Fake
}

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 *api_v1.DeleteOptions) error

func (*FakeJobs) DeleteCollection

func (c *FakeJobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.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_v1.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_v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL