Documentation
¶
Index ¶
- func SetupController(mgr ctrl.Manager) error
- func SetupControllerWithConnecter(mgr ctrl.Manager, name string, recorder event.Recorder, ...) error
- func SetupWebhook(mgr ctrl.Manager) error
- type Validator
- func (v *Validator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *Validator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *Validator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupController ¶
SetupController adds a controller that reconciles managed resources.
func SetupWebhook ¶
SetupWebhook adds a webhook for managed resources.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator validates admission requests.
func (*Validator) ValidateCreate ¶
func (v *Validator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements admission.CustomValidator.
Click to show internal directories.
Click to hide internal directories.