Documentation ¶
Index ¶
- Variables
- func Default(recommendation *analysisv1alph1.Recommendation)
- type ValidationAdmission
- func (p *ValidationAdmission) Default(ctx context.Context, req runtime.Object) error
- func (p *ValidationAdmission) ValidateCreate(ctx context.Context, req runtime.Object) error
- func (p *ValidationAdmission) ValidateDelete(ctx context.Context, req runtime.Object) error
- func (p *ValidationAdmission) ValidateUpdate(ctx context.Context, old, new runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultPeriodSeconds = int64(86400)
)
Functions ¶
func Default ¶
func Default(recommendation *analysisv1alph1.Recommendation)
Types ¶
type ValidationAdmission ¶
type ValidationAdmission struct { }
func (*ValidationAdmission) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ValidationAdmission) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ValidationAdmission) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ValidationAdmission) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.