Documentation ¶
Index ¶
- type PartialUserAttribute
- type Validator
- func (v *Validator) Admitters() []admission.Admitter
- func (v *Validator) GVR() schema.GroupVersionResource
- func (v *Validator) Operations() []admissionregistrationv1.OperationType
- func (v *Validator) ValidatingWebhook(clientConfig admissionregistrationv1.WebhookClientConfig) []admissionregistrationv1.ValidatingWebhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartialUserAttribute ¶
type PartialUserAttribute struct { LastLogin *string `json:"lastLogin"` DisableAfter *string `json:"disableAfter"` DeleteAfter *string `json:"deleteAfter"` }
PartialUserAttribute represents raw values of UserAttribute retention fields.
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator validates userattributes.
func (*Validator) GVR ¶
func (v *Validator) GVR() schema.GroupVersionResource
GVR returns the GroupVersionResource.
func (*Validator) Operations ¶
func (v *Validator) Operations() []admissionregistrationv1.OperationType
Operations returns list of operations handled by the validator.
func (*Validator) ValidatingWebhook ¶
func (v *Validator) ValidatingWebhook(clientConfig admissionregistrationv1.WebhookClientConfig) []admissionregistrationv1.ValidatingWebhook
ValidatingWebhook returns the ValidatingWebhook.
Click to show internal directories.
Click to hide internal directories.