fake

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Generated file, do not modify manually! Package fake has the automatically generated clients.

Generated file, do not modify manually!

Generated file, do not modify manually!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDaemonSetJobs

type FakeDaemonSetJobs struct {
	Fake *FakeDaemonsetjobV1
	// contains filtered or unexported fields
}

FakeDaemonSetJobs implements DaemonSetJobInterface

func (*FakeDaemonSetJobs) Create

func (c *FakeDaemonSetJobs) Create(daemonSetJob *daemonsetjob_v1.DaemonSetJob) (result *daemonsetjob_v1.DaemonSetJob, err error)

Create takes the representation of a daemonSetJob and creates it. Returns the server's representation of the daemonSetJob, and an error, if there is any.

func (*FakeDaemonSetJobs) Delete

func (c *FakeDaemonSetJobs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the daemonSetJob and deletes it. Returns an error if one occurs.

func (*FakeDaemonSetJobs) DeleteCollection

func (c *FakeDaemonSetJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDaemonSetJobs) Get

func (c *FakeDaemonSetJobs) Get(name string, options v1.GetOptions) (result *daemonsetjob_v1.DaemonSetJob, err error)

Get takes name of the daemonSetJob, and returns the corresponding daemonSetJob object, and an error if there is any.

func (*FakeDaemonSetJobs) List

List takes label and field selectors, and returns the list of DaemonSetJobs that match those selectors.

func (*FakeDaemonSetJobs) Patch

func (c *FakeDaemonSetJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *daemonsetjob_v1.DaemonSetJob, err error)

Patch applies the patch and returns the patched daemonSetJob.

func (*FakeDaemonSetJobs) Update

func (c *FakeDaemonSetJobs) Update(daemonSetJob *daemonsetjob_v1.DaemonSetJob) (result *daemonsetjob_v1.DaemonSetJob, err error)

Update takes the representation of a daemonSetJob and updates it. Returns the server's representation of the daemonSetJob, and an error, if there is any.

func (*FakeDaemonSetJobs) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDaemonSetJobs) Watch

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

type FakeDaemonsetjobV1

type FakeDaemonsetjobV1 struct {
	*testing.Fake
}

func (*FakeDaemonsetjobV1) DaemonSetJobs

func (c *FakeDaemonsetjobV1) DaemonSetJobs(namespace string) v1.DaemonSetJobInterface

func (*FakeDaemonsetjobV1) RESTClient

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

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

Jump to

Keyboard shortcuts

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