Documentation
¶
Index ¶
- type AccountingSetWebhook
- func (r *AccountingSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AccountingSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *AccountingSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *AccountingSetWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
- type ControllerWebhook
- func (r *ControllerWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ControllerWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ControllerWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ControllerWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
- type LoginSetWebhook
- func (r *LoginSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *LoginSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *LoginSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *LoginSetWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
- type NodeSetWebhook
- func (r *NodeSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NodeSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *NodeSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *NodeSetWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
- type RestapiWebhook
- func (r *RestapiWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RestapiWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *RestapiWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *RestapiWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
- type TokenWebhook
- func (r *TokenWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *TokenWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *TokenWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *TokenWebhook) ValidateUpdate(ctx context.Context, oldObj runtime.Object, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountingSetWebhook ¶
type AccountingSetWebhook struct{}
func (*AccountingSetWebhook) SetupWebhookWithManager ¶
func (r *AccountingSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*AccountingSetWebhook) ValidateCreate ¶
func (r *AccountingSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*AccountingSetWebhook) ValidateDelete ¶
func (r *AccountingSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ControllerWebhook ¶
func (*ControllerWebhook) SetupWebhookWithManager ¶
func (r *ControllerWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ControllerWebhook) ValidateCreate ¶
func (r *ControllerWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ControllerWebhook) ValidateDelete ¶
func (r *ControllerWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type LoginSetWebhook ¶
type LoginSetWebhook struct{}
func (*LoginSetWebhook) SetupWebhookWithManager ¶
func (r *LoginSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*LoginSetWebhook) ValidateCreate ¶
func (r *LoginSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*LoginSetWebhook) ValidateDelete ¶
func (r *LoginSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type NodeSetWebhook ¶
type NodeSetWebhook struct{}
func (*NodeSetWebhook) SetupWebhookWithManager ¶
func (r *NodeSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*NodeSetWebhook) ValidateCreate ¶
func (r *NodeSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NodeSetWebhook) ValidateDelete ¶
func (r *NodeSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type RestapiWebhook ¶
type RestapiWebhook struct{}
func (*RestapiWebhook) SetupWebhookWithManager ¶
func (r *RestapiWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*RestapiWebhook) ValidateCreate ¶
func (r *RestapiWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RestapiWebhook) ValidateDelete ¶
func (r *RestapiWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TokenWebhook ¶
type TokenWebhook struct{}
func (*TokenWebhook) SetupWebhookWithManager ¶
func (r *TokenWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*TokenWebhook) ValidateCreate ¶
func (r *TokenWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*TokenWebhook) ValidateDelete ¶
func (r *TokenWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type