fake

package
v0.0.861 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 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 FakeLighthouseJobs

type FakeLighthouseJobs struct {
	Fake *FakeLighthouseV1alpha1
	// contains filtered or unexported fields
}

FakeLighthouseJobs implements LighthouseJobInterface

func (*FakeLighthouseJobs) Create

func (c *FakeLighthouseJobs) Create(lighthouseJob *v1alpha1.LighthouseJob) (result *v1alpha1.LighthouseJob, err error)

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

func (*FakeLighthouseJobs) Delete

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

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

func (*FakeLighthouseJobs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeLighthouseJobs) Get

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

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

func (*FakeLighthouseJobs) List

func (c *FakeLighthouseJobs) List(opts v1.ListOptions) (result *v1alpha1.LighthouseJobList, err error)

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

func (*FakeLighthouseJobs) Patch

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

Patch applies the patch and returns the patched lighthouseJob.

func (*FakeLighthouseJobs) Update

func (c *FakeLighthouseJobs) Update(lighthouseJob *v1alpha1.LighthouseJob) (result *v1alpha1.LighthouseJob, err error)

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

func (*FakeLighthouseJobs) UpdateStatus

func (c *FakeLighthouseJobs) UpdateStatus(lighthouseJob *v1alpha1.LighthouseJob) (*v1alpha1.LighthouseJob, error)

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

func (*FakeLighthouseJobs) Watch

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

type FakeLighthouseV1alpha1

type FakeLighthouseV1alpha1 struct {
	*testing.Fake
}

func (*FakeLighthouseV1alpha1) LighthouseJobs

func (c *FakeLighthouseV1alpha1) LighthouseJobs(namespace string) v1alpha1.LighthouseJobInterface

func (*FakeLighthouseV1alpha1) RESTClient

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