recommendation

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

func (p *ValidationAdmission) Default(ctx context.Context, req runtime.Object) error

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ValidationAdmission) ValidateCreate

func (p *ValidationAdmission) ValidateCreate(ctx context.Context, req runtime.Object) error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ValidationAdmission) ValidateDelete

func (p *ValidationAdmission) ValidateDelete(ctx context.Context, req runtime.Object) error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ValidationAdmission) ValidateUpdate

func (p *ValidationAdmission) ValidateUpdate(ctx context.Context, old, new runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL