Documentation ¶
Index ¶
- type Defaulter
- func (r *Defaulter) CheckConfig(config, parameter string) bool
- func (r *Defaulter) CheckNamespace(name string) (bool, error)
- func (r *Defaulter) Handle(ctx context.Context, req admission.Request) admission.Response
- func (r *Defaulter) HugePageSettingDenied(cs *unstructured.Unstructured) (bool, error)
- func (r *Defaulter) InjectDecoder(decoder *admission.Decoder) error
- func (r *Defaulter) SetupWebhookWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Defaulter ¶
type Defaulter struct { Reader client.Reader Client client.Client IsDormant bool // contains filtered or unexported fields }
CommonServiceDefaulter points to correct ServicesNamespace
func (*Defaulter) CheckConfig ¶
func (*Defaulter) HugePageSettingDenied ¶
func (r *Defaulter) HugePageSettingDenied(cs *unstructured.Unstructured) (bool, error)
func (*Defaulter) InjectDecoder ¶
Click to show internal directories.
Click to hide internal directories.