Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttributeFromRequest ¶
func NewAttributeFromRequest(req admission.Request, d *admission.Decoder, scheme *runtime.Scheme) (apiadmission.Attributes, error)
NewAttributeFromRequest converts the given request into api attributes
func Register ¶
func Register(ctrlCtx *controllers.Context) error
Register registers the webhooks to the manager
Types ¶
type QuotaValidator ¶
type QuotaValidator struct { Log logr.Logger Scheme *runtime.Scheme Decoder *admission.Decoder AdmissionController apiadmission.ValidationInterface }
QuotaValidator validates pods
Click to show internal directories.
Click to hide internal directories.