Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // HandlerGetterMap contains admission webhook handlers HandlerGetterMap = map[string]types.HandlerGetter{ "validate-policy-kruise-io-podunavailablebudget": func(mgr manager.Manager) admission.Handler { return &PodUnavailableBudgetCreateUpdateHandler{ Client: mgr.GetClient(), Decoder: admission.NewDecoder(mgr.GetScheme()), } }, } )
Functions ¶
This section is empty.
Types ¶
type PodUnavailableBudgetCreateUpdateHandler ¶
type PodUnavailableBudgetCreateUpdateHandler struct { // - uncomment it // - import sigs.k8s.io/controller-runtime/pkg/client // - uncomment the InjectClient method at the bottom of this file. Client client.Client Decoder *admission.Decoder }
PodUnavailableBudgetCreateUpdateHandler handles PodUnavailableBudget
Click to show internal directories.
Click to hide internal directories.