fake

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 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 FakeBOSHDeployments

type FakeBOSHDeployments struct {
	Fake *FakeBoshdeploymentV1alpha1
	// contains filtered or unexported fields
}

FakeBOSHDeployments implements BOSHDeploymentInterface

func (*FakeBOSHDeployments) Create

func (c *FakeBOSHDeployments) Create(bOSHDeployment *v1alpha1.BOSHDeployment) (result *v1alpha1.BOSHDeployment, err error)

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

func (*FakeBOSHDeployments) Delete

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

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

func (*FakeBOSHDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBOSHDeployments) Get

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

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

func (*FakeBOSHDeployments) List

func (c *FakeBOSHDeployments) List(opts v1.ListOptions) (result *v1alpha1.BOSHDeploymentList, err error)

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

func (*FakeBOSHDeployments) Patch

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

Patch applies the patch and returns the patched bOSHDeployment.

func (*FakeBOSHDeployments) Update

func (c *FakeBOSHDeployments) Update(bOSHDeployment *v1alpha1.BOSHDeployment) (result *v1alpha1.BOSHDeployment, err error)

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

func (*FakeBOSHDeployments) UpdateStatus

func (c *FakeBOSHDeployments) UpdateStatus(bOSHDeployment *v1alpha1.BOSHDeployment) (*v1alpha1.BOSHDeployment, error)

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

func (*FakeBOSHDeployments) Watch

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

type FakeBoshdeploymentV1alpha1

type FakeBoshdeploymentV1alpha1 struct {
	*testing.Fake
}

func (*FakeBoshdeploymentV1alpha1) BOSHDeployments

func (c *FakeBoshdeploymentV1alpha1) BOSHDeployments(namespace string) v1alpha1.BOSHDeploymentInterface

func (*FakeBoshdeploymentV1alpha1) RESTClient

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