package fake

import "k8s.io/client-go/kubernetes/typed/admissionregistration/v1/fake"

Package fake has the automatically generated clients.

Index

Types

type FakeAdmissionregistrationV1

type FakeAdmissionregistrationV1 struct {
	*testing.Fake
}

func (*FakeAdmissionregistrationV1) MutatingWebhookConfigurations

func (c *FakeAdmissionregistrationV1) MutatingWebhookConfigurations() v1.MutatingWebhookConfigurationInterface

func (*FakeAdmissionregistrationV1) RESTClient

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

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

func (*FakeAdmissionregistrationV1) ValidatingWebhookConfigurations

func (c *FakeAdmissionregistrationV1) ValidatingWebhookConfigurations() v1.ValidatingWebhookConfigurationInterface

type FakeMutatingWebhookConfigurations

type FakeMutatingWebhookConfigurations struct {
	Fake *FakeAdmissionregistrationV1
}

FakeMutatingWebhookConfigurations implements MutatingWebhookConfigurationInterface

func (*FakeMutatingWebhookConfigurations) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied mutatingWebhookConfiguration.

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

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

func (c *FakeMutatingWebhookConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MutatingWebhookConfiguration, err error)

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 *FakeAdmissionregistrationV1
}

FakeValidatingWebhookConfigurations implements ValidatingWebhookConfigurationInterface

func (*FakeValidatingWebhookConfigurations) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied validatingWebhookConfiguration.

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

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

func (c *FakeValidatingWebhookConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ValidatingWebhookConfiguration, err error)

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.

Source Files

doc.go fake_admissionregistration_client.go fake_mutatingwebhookconfiguration.go fake_validatingwebhookconfiguration.go

Version
v0.29.0
Published
Dec 13, 2023
Platform
linux/amd64
Imports
12 packages
Last checked
1 hour ago

Tools for package owners.