Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type KubeValidatingAdmissionPolicy
- func (k *KubeValidatingAdmissionPolicy) InspectFeatureGates(featureGates featuregate.FeatureGate)
- func (k *KubeValidatingAdmissionPolicy) SetAuthorizer(authz authorizer.Authorizer)
- func (k *KubeValidatingAdmissionPolicy) SetDynamicClusterClient(c kcpdynamic.ClusterInterface)
- func (k *KubeValidatingAdmissionPolicy) SetKcpInformers(local, global kcpinformers.SharedInformerFactory)
- func (k *KubeValidatingAdmissionPolicy) SetKubeClusterClient(kubeClusterClient kcpkubernetesclientset.ClusterInterface)
- func (k *KubeValidatingAdmissionPolicy) SetKubeInformers(local, global kcpkubernetesinformers.SharedInformerFactory)
- func (k *KubeValidatingAdmissionPolicy) SetServerShutdownChannel(ch <-chan struct{})
- func (k *KubeValidatingAdmissionPolicy) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (k *KubeValidatingAdmissionPolicy) ValidateInitialization() error
Constants ¶
View Source
const PluginName = "KCPValidatingAdmissionPolicy"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubeValidatingAdmissionPolicy ¶
type KubeValidatingAdmissionPolicy struct { *admission.Handler // contains filtered or unexported fields }
func NewKubeValidatingAdmissionPolicy ¶
func NewKubeValidatingAdmissionPolicy() *KubeValidatingAdmissionPolicy
func (*KubeValidatingAdmissionPolicy) InspectFeatureGates ¶
func (k *KubeValidatingAdmissionPolicy) InspectFeatureGates(featureGates featuregate.FeatureGate)
func (*KubeValidatingAdmissionPolicy) SetAuthorizer ¶ added in v0.25.0
func (k *KubeValidatingAdmissionPolicy) SetAuthorizer(authz authorizer.Authorizer)
func (*KubeValidatingAdmissionPolicy) SetDynamicClusterClient ¶
func (k *KubeValidatingAdmissionPolicy) SetDynamicClusterClient(c kcpdynamic.ClusterInterface)
func (*KubeValidatingAdmissionPolicy) SetKcpInformers ¶
func (k *KubeValidatingAdmissionPolicy) SetKcpInformers(local, global kcpinformers.SharedInformerFactory)
func (*KubeValidatingAdmissionPolicy) SetKubeClusterClient ¶
func (k *KubeValidatingAdmissionPolicy) SetKubeClusterClient(kubeClusterClient kcpkubernetesclientset.ClusterInterface)
func (*KubeValidatingAdmissionPolicy) SetKubeInformers ¶
func (k *KubeValidatingAdmissionPolicy) SetKubeInformers(local, global kcpkubernetesinformers.SharedInformerFactory)
func (*KubeValidatingAdmissionPolicy) SetServerShutdownChannel ¶
func (k *KubeValidatingAdmissionPolicy) SetServerShutdownChannel(ch <-chan struct{})
func (*KubeValidatingAdmissionPolicy) Validate ¶
func (k *KubeValidatingAdmissionPolicy) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
func (*KubeValidatingAdmissionPolicy) ValidateInitialization ¶
func (k *KubeValidatingAdmissionPolicy) ValidateInitialization() error
Click to show internal directories.
Click to hide internal directories.