fake

package
v0.0.85 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 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 FakeQuarksJobs

type FakeQuarksJobs struct {
	Fake *FakeQuarksjobV1alpha1
	// contains filtered or unexported fields
}

FakeQuarksJobs implements QuarksJobInterface

func (*FakeQuarksJobs) Create

func (c *FakeQuarksJobs) Create(quarksJob *v1alpha1.QuarksJob) (result *v1alpha1.QuarksJob, err error)

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

func (*FakeQuarksJobs) Delete

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

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

func (*FakeQuarksJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeQuarksJobs) Get

func (c *FakeQuarksJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.QuarksJob, err error)

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

func (*FakeQuarksJobs) List

func (c *FakeQuarksJobs) List(opts v1.ListOptions) (result *v1alpha1.QuarksJobList, err error)

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

func (*FakeQuarksJobs) Patch

func (c *FakeQuarksJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.QuarksJob, err error)

Patch applies the patch and returns the patched quarksJob.

func (*FakeQuarksJobs) Update

func (c *FakeQuarksJobs) Update(quarksJob *v1alpha1.QuarksJob) (result *v1alpha1.QuarksJob, err error)

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

func (*FakeQuarksJobs) UpdateStatus

func (c *FakeQuarksJobs) UpdateStatus(quarksJob *v1alpha1.QuarksJob) (*v1alpha1.QuarksJob, error)

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

func (*FakeQuarksJobs) Watch

func (c *FakeQuarksJobs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeQuarksjobV1alpha1

type FakeQuarksjobV1alpha1 struct {
	*testing.Fake
}

func (*FakeQuarksjobV1alpha1) QuarksJobs

func (c *FakeQuarksjobV1alpha1) QuarksJobs(namespace string) v1alpha1.QuarksJobInterface

func (*FakeQuarksjobV1alpha1) RESTClient

func (c *FakeQuarksjobV1alpha1) 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