fake

package
v0.0.0-...-a374596 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 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 FakeHelmOperations

type FakeHelmOperations struct {
	Fake *FakeHelmoperatorV1alpha1
	// contains filtered or unexported fields
}

FakeHelmOperations implements HelmOperationInterface

func (*FakeHelmOperations) Create

func (c *FakeHelmOperations) Create(helmOperation *v1alpha1.HelmOperation) (result *v1alpha1.HelmOperation, err error)

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

func (*FakeHelmOperations) Delete

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

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

func (*FakeHelmOperations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeHelmOperations) Get

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

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

func (*FakeHelmOperations) List

func (c *FakeHelmOperations) List(opts v1.ListOptions) (result *v1alpha1.HelmOperationList, err error)

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

func (*FakeHelmOperations) Patch

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

Patch applies the patch and returns the patched helmOperation.

func (*FakeHelmOperations) Update

func (c *FakeHelmOperations) Update(helmOperation *v1alpha1.HelmOperation) (result *v1alpha1.HelmOperation, err error)

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

func (*FakeHelmOperations) Watch

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

type FakeHelmoperatorV1alpha1

type FakeHelmoperatorV1alpha1 struct {
	*testing.Fake
}

func (*FakeHelmoperatorV1alpha1) HelmOperations

func (c *FakeHelmoperatorV1alpha1) HelmOperations(namespace string) v1alpha1.HelmOperationInterface

func (*FakeHelmoperatorV1alpha1) RESTClient

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