Documentation ¶
Index ¶
- func New(apiReader client.Reader, cfg *rest.Config) admission.CustomValidator
- type Validator
- func (v *Validator) ValidateCreate(ctx context.Context, obj runtime.Object) (_ admission.Warnings, err error)
- func (v *Validator) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)
- func (v *Validator) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func (*Validator) ValidateCreate ¶
func (*Validator) ValidateDelete ¶
Click to show internal directories.
Click to hide internal directories.