fake

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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 FakeAdmissionregistration

type FakeAdmissionregistration struct {
	*testing.Fake
}

func (*FakeAdmissionregistration) MutatingWebhookConfigurations added in v1.9.0

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 added in v1.9.0

type FakeMutatingWebhookConfigurations added in v1.9.0

type FakeMutatingWebhookConfigurations struct {
	Fake *FakeAdmissionregistration
}

FakeMutatingWebhookConfigurations implements MutatingWebhookConfigurationInterface

func (*FakeMutatingWebhookConfigurations) Create added in v1.9.0

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 added in v1.9.0

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

func (*FakeMutatingWebhookConfigurations) DeleteCollection added in v1.9.0

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

DeleteCollection deletes a collection of objects.

func (*FakeMutatingWebhookConfigurations) Get added in v1.9.0

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

func (*FakeMutatingWebhookConfigurations) List added in v1.9.0

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

func (*FakeMutatingWebhookConfigurations) Patch added in v1.9.0

Patch applies the patch and returns the patched mutatingWebhookConfiguration.

func (*FakeMutatingWebhookConfigurations) Update added in v1.9.0

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 added in v1.9.0

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

type FakeValidatingWebhookConfigurations added in v1.9.0

type FakeValidatingWebhookConfigurations struct {
	Fake *FakeAdmissionregistration
}

FakeValidatingWebhookConfigurations implements ValidatingWebhookConfigurationInterface

func (*FakeValidatingWebhookConfigurations) Create added in v1.9.0

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 added in v1.9.0

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

func (*FakeValidatingWebhookConfigurations) DeleteCollection added in v1.9.0

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

DeleteCollection deletes a collection of objects.

func (*FakeValidatingWebhookConfigurations) Get added in v1.9.0

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

func (*FakeValidatingWebhookConfigurations) List added in v1.9.0

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

func (*FakeValidatingWebhookConfigurations) Patch added in v1.9.0

Patch applies the patch and returns the patched validatingWebhookConfiguration.

func (*FakeValidatingWebhookConfigurations) Update added in v1.9.0

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 added in v1.9.0

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