fake

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 9 Imported by: 16

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 FakeInstallations

type FakeInstallations struct {
	Fake *FakeInstallerV1alpha1
	// contains filtered or unexported fields
}

FakeInstallations implements InstallationInterface

func (*FakeInstallations) Create

func (c *FakeInstallations) Create(installation *v1alpha1.Installation) (result *v1alpha1.Installation, err error)

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

func (*FakeInstallations) Delete

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

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

func (*FakeInstallations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInstallations) Get

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

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

func (*FakeInstallations) List

func (c *FakeInstallations) List(opts v1.ListOptions) (result *v1alpha1.InstallationList, err error)

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

func (*FakeInstallations) Patch

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

Patch applies the patch and returns the patched installation.

func (*FakeInstallations) Update

func (c *FakeInstallations) Update(installation *v1alpha1.Installation) (result *v1alpha1.Installation, err error)

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

func (*FakeInstallations) Watch

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

type FakeInstallerV1alpha1

type FakeInstallerV1alpha1 struct {
	*testing.Fake
}

func (*FakeInstallerV1alpha1) Installations

func (c *FakeInstallerV1alpha1) Installations(namespace string) v1alpha1.InstallationInterface

func (*FakeInstallerV1alpha1) RESTClient

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