fake

package
v1.4.0-alpha.2....-5f1793e Latest Latest
Warning

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

Go to latest
Published: Apr 23, 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 FakeAdmissionregistration

type FakeAdmissionregistration struct {
	*testing.Fake
}

func (*FakeAdmissionregistration) InitializerConfigurations

func (*FakeAdmissionregistration) MutatingWebhookConfigurations

func (*FakeAdmissionregistration) RESTClient

func (c *FakeAdmissionregistration) RESTClient() rest.Interface

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

func (*FakeAdmissionregistration) ValidatingWebhookConfigurations

type FakeInitializerConfigurations

type FakeInitializerConfigurations struct {
	Fake *FakeAdmissionregistration
}

FakeInitializerConfigurations implements InitializerConfigurationInterface

func (*FakeInitializerConfigurations) Create

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 *admissionregistration.InitializerConfiguration, err error)

Patch applies the patch and returns the patched initializerConfiguration.

func (*FakeInitializerConfigurations) Update

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.

type FakeMutatingWebhookConfigurations

type FakeMutatingWebhookConfigurations struct {
	Fake *FakeAdmissionregistration
}

FakeMutatingWebhookConfigurations implements MutatingWebhookConfigurationInterface

func (*FakeMutatingWebhookConfigurations) Create

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

func (*FakeMutatingWebhookConfigurations) Delete

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

func (*FakeMutatingWebhookConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeMutatingWebhookConfigurations) Get

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

func (*FakeMutatingWebhookConfigurations) List

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

func (*FakeMutatingWebhookConfigurations) Patch

Patch applies the patch and returns the patched mutatingWebhookConfiguration.

func (*FakeMutatingWebhookConfigurations) Update

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

func (*FakeMutatingWebhookConfigurations) Watch

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

type FakeValidatingWebhookConfigurations

type FakeValidatingWebhookConfigurations struct {
	Fake *FakeAdmissionregistration
}

FakeValidatingWebhookConfigurations implements ValidatingWebhookConfigurationInterface

func (*FakeValidatingWebhookConfigurations) Create

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

func (*FakeValidatingWebhookConfigurations) Delete

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

func (*FakeValidatingWebhookConfigurations) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeValidatingWebhookConfigurations) Get

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

func (*FakeValidatingWebhookConfigurations) List

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

func (*FakeValidatingWebhookConfigurations) Patch

Patch applies the patch and returns the patched validatingWebhookConfiguration.

func (*FakeValidatingWebhookConfigurations) Update

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

func (*FakeValidatingWebhookConfigurations) Watch

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

Jump to

Keyboard shortcuts

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