package webhookadmission

import "k8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission"

Index

Constants

const GroupName = "apiserver.config.k8s.io"

GroupName is the group name use in this package

Variables

var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type WebhookAdmission

type WebhookAdmission struct {
	metav1.TypeMeta

	// KubeConfigFile is the path to the kubeconfig file.
	KubeConfigFile string
}

WebhookAdmission provides configuration for the webhook admission controller.

func (*WebhookAdmission) DeepCopy

func (in *WebhookAdmission) DeepCopy() *WebhookAdmission

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookAdmission.

func (*WebhookAdmission) DeepCopyInto

func (in *WebhookAdmission) DeepCopyInto(out *WebhookAdmission)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebhookAdmission) DeepCopyObject

func (in *WebhookAdmission) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Source Files

doc.go register.go types.go zz_generated.deepcopy.go

Directories

PathSynopsis
pkg/admission/plugin/webhook/config/apis/webhookadmission/installPackage install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
pkg/admission/plugin/webhook/config/apis/webhookadmission/v1Package v1 is the v1 version of the API.
pkg/admission/plugin/webhook/config/apis/webhookadmission/v1alpha1Package v1alpha1 is the v1alpha1 version of the API.
Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
11 minutes ago

Tools for package owners.