package v1

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

This package has the automatically generated typed clients.

Index

Types

type AdmissionregistrationV1Client

type AdmissionregistrationV1Client struct {
	// contains filtered or unexported fields
}

AdmissionregistrationV1Client is used to interact with features provided by the admissionregistration.k8s.io group.

func New

New creates a new AdmissionregistrationV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*AdmissionregistrationV1Client, error)

NewForConfig creates a new AdmissionregistrationV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AdmissionregistrationV1Client

NewForConfigOrDie creates a new AdmissionregistrationV1Client for the given config and panics if there is an error in the config.

func (*AdmissionregistrationV1Client) MutatingWebhookConfigurations

func (c *AdmissionregistrationV1Client) MutatingWebhookConfigurations() MutatingWebhookConfigurationInterface

func (*AdmissionregistrationV1Client) RESTClient

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

func (*AdmissionregistrationV1Client) ValidatingWebhookConfigurations

func (c *AdmissionregistrationV1Client) ValidatingWebhookConfigurations() ValidatingWebhookConfigurationInterface

type AdmissionregistrationV1Interface

type AdmissionregistrationV1Interface interface {
	RESTClient() rest.Interface
	MutatingWebhookConfigurationsGetter
	ValidatingWebhookConfigurationsGetter
}

type MutatingWebhookConfigurationExpansion

type MutatingWebhookConfigurationExpansion interface{}

type MutatingWebhookConfigurationInterface

type MutatingWebhookConfigurationInterface interface {
	Create(ctx context.Context, mutatingWebhookConfiguration *v1.MutatingWebhookConfiguration, opts metav1.CreateOptions) (*v1.MutatingWebhookConfiguration, error)
	Update(ctx context.Context, mutatingWebhookConfiguration *v1.MutatingWebhookConfiguration, opts metav1.UpdateOptions) (*v1.MutatingWebhookConfiguration, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MutatingWebhookConfiguration, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MutatingWebhookConfigurationList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MutatingWebhookConfiguration, err error)
	MutatingWebhookConfigurationExpansion
}

MutatingWebhookConfigurationInterface has methods to work with MutatingWebhookConfiguration resources.

type MutatingWebhookConfigurationsGetter

type MutatingWebhookConfigurationsGetter interface {
	MutatingWebhookConfigurations() MutatingWebhookConfigurationInterface
}

MutatingWebhookConfigurationsGetter has a method to return a MutatingWebhookConfigurationInterface. A group's client should implement this interface.

type ValidatingWebhookConfigurationExpansion

type ValidatingWebhookConfigurationExpansion interface{}

type ValidatingWebhookConfigurationInterface

type ValidatingWebhookConfigurationInterface interface {
	Create(ctx context.Context, validatingWebhookConfiguration *v1.ValidatingWebhookConfiguration, opts metav1.CreateOptions) (*v1.ValidatingWebhookConfiguration, error)
	Update(ctx context.Context, validatingWebhookConfiguration *v1.ValidatingWebhookConfiguration, opts metav1.UpdateOptions) (*v1.ValidatingWebhookConfiguration, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ValidatingWebhookConfiguration, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ValidatingWebhookConfigurationList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ValidatingWebhookConfiguration, err error)
	ValidatingWebhookConfigurationExpansion
}

ValidatingWebhookConfigurationInterface has methods to work with ValidatingWebhookConfiguration resources.

type ValidatingWebhookConfigurationsGetter

type ValidatingWebhookConfigurationsGetter interface {
	ValidatingWebhookConfigurations() ValidatingWebhookConfigurationInterface
}

ValidatingWebhookConfigurationsGetter has a method to return a ValidatingWebhookConfigurationInterface. A group's client should implement this interface.

Source Files

admissionregistration_client.go doc.go generated_expansion.go mutatingwebhookconfiguration.go validatingwebhookconfiguration.go

Directories

PathSynopsis
kubernetes/typed/admissionregistration/v1/fakePackage fake has the automatically generated clients.
Version
v0.20.7
Published
May 18, 2021
Platform
js/wasm
Imports
8 packages
Last checked
2 minutes ago

Tools for package owners.