fake

package
v0.0.0-...-c4bda09 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 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 FakeAdmissionregistrationV1alpha1

type FakeAdmissionregistrationV1alpha1 struct {
	*testing.Fake
}

func (*FakeAdmissionregistrationV1alpha1) InitializerConfigurations

func (*FakeAdmissionregistrationV1alpha1) RESTClient

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeInitializerConfigurations

type FakeInitializerConfigurations struct {
	Fake *FakeAdmissionregistrationV1alpha1
}

FakeInitializerConfigurations implements InitializerConfigurationInterface

func (*FakeInitializerConfigurations) Create

func (c *FakeInitializerConfigurations) Create(initializerConfiguration *v1alpha1.InitializerConfiguration) (result *v1alpha1.InitializerConfiguration, err error)

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

func (*FakeInitializerConfigurations) Delete

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

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

func (*FakeInitializerConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInitializerConfigurations) Get

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

func (*FakeInitializerConfigurations) List

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

func (*FakeInitializerConfigurations) Patch

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

Patch applies the patch and returns the patched initializerConfiguration.

func (*FakeInitializerConfigurations) Update

func (c *FakeInitializerConfigurations) Update(initializerConfiguration *v1alpha1.InitializerConfiguration) (result *v1alpha1.InitializerConfiguration, err error)

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

func (*FakeInitializerConfigurations) Watch

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL