Documentation
¶
Index ¶
- type AccountingSetWebhook
- func (r *AccountingSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AccountingSetWebhook) ValidateCreate(ctx context.Context, accounting *slinkyv1beta1.Accounting) (admission.Warnings, error)
- func (r *AccountingSetWebhook) ValidateDelete(ctx context.Context, accounting *slinkyv1beta1.Accounting) (admission.Warnings, error)
- func (r *AccountingSetWebhook) ValidateUpdate(ctx context.Context, oldAccounting, newAccounting *slinkyv1beta1.Accounting) (admission.Warnings, error)
- type ControllerWebhook
- func (r *ControllerWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ControllerWebhook) ValidateCreate(ctx context.Context, controller *slinkyv1beta1.Controller) (admission.Warnings, error)
- func (r *ControllerWebhook) ValidateDelete(ctx context.Context, controller *slinkyv1beta1.Controller) (admission.Warnings, error)
- func (r *ControllerWebhook) ValidateUpdate(ctx context.Context, oldController, newController *slinkyv1beta1.Controller) (admission.Warnings, error)
- type LoginSetWebhook
- func (r *LoginSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *LoginSetWebhook) ValidateCreate(ctx context.Context, loginset *slinkyv1beta1.LoginSet) (admission.Warnings, error)
- func (r *LoginSetWebhook) ValidateDelete(ctx context.Context, loginset *slinkyv1beta1.LoginSet) (admission.Warnings, error)
- func (r *LoginSetWebhook) ValidateUpdate(ctx context.Context, oldLoginset, newLoginset *slinkyv1beta1.LoginSet) (admission.Warnings, error)
- type NodeSetWebhook
- func (r *NodeSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NodeSetWebhook) ValidateCreate(ctx context.Context, nodeset *slinkyv1beta1.NodeSet) (admission.Warnings, error)
- func (r *NodeSetWebhook) ValidateDelete(ctx context.Context, nodeset *slinkyv1beta1.NodeSet) (admission.Warnings, error)
- func (r *NodeSetWebhook) ValidateUpdate(ctx context.Context, oldNodeSet, newNodeSet *slinkyv1beta1.NodeSet) (admission.Warnings, error)
- type PodBindingWebhook
- type RestapiWebhook
- func (r *RestapiWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RestapiWebhook) ValidateCreate(ctx context.Context, restapi *slinkyv1beta1.RestApi) (admission.Warnings, error)
- func (r *RestapiWebhook) ValidateDelete(ctx context.Context, restapi *slinkyv1beta1.RestApi) (admission.Warnings, error)
- func (r *RestapiWebhook) ValidateUpdate(ctx context.Context, oldRestapi, newRestapi *slinkyv1beta1.RestApi) (admission.Warnings, error)
- type TokenWebhook
- func (r *TokenWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *TokenWebhook) ValidateCreate(ctx context.Context, token *slinkyv1beta1.Token) (admission.Warnings, error)
- func (r *TokenWebhook) ValidateDelete(ctx context.Context, token *slinkyv1beta1.Token) (admission.Warnings, error)
- func (r *TokenWebhook) ValidateUpdate(ctx context.Context, oldToken, newToken *slinkyv1beta1.Token) (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, accounting *slinkyv1beta1.Accounting) (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, accounting *slinkyv1beta1.Accounting) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*AccountingSetWebhook) ValidateUpdate ¶
func (r *AccountingSetWebhook) ValidateUpdate(ctx context.Context, oldAccounting, newAccounting *slinkyv1beta1.Accounting) (admission.Warnings, error)
ValidateUpdate 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, controller *slinkyv1beta1.Controller) (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, controller *slinkyv1beta1.Controller) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ControllerWebhook) ValidateUpdate ¶
func (r *ControllerWebhook) ValidateUpdate(ctx context.Context, oldController, newController *slinkyv1beta1.Controller) (admission.Warnings, error)
ValidateUpdate 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, loginset *slinkyv1beta1.LoginSet) (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, loginset *slinkyv1beta1.LoginSet) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*LoginSetWebhook) ValidateUpdate ¶
func (r *LoginSetWebhook) ValidateUpdate(ctx context.Context, oldLoginset, newLoginset *slinkyv1beta1.LoginSet) (admission.Warnings, error)
ValidateUpdate 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, nodeset *slinkyv1beta1.NodeSet) (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, nodeset *slinkyv1beta1.NodeSet) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*NodeSetWebhook) ValidateUpdate ¶
func (r *NodeSetWebhook) ValidateUpdate(ctx context.Context, oldNodeSet, newNodeSet *slinkyv1beta1.NodeSet) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PodBindingWebhook ¶
func (*PodBindingWebhook) SetupWebhookWithManager ¶
func (r *PodBindingWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
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, restapi *slinkyv1beta1.RestApi) (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, restapi *slinkyv1beta1.RestApi) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*RestapiWebhook) ValidateUpdate ¶
func (r *RestapiWebhook) ValidateUpdate(ctx context.Context, oldRestapi, newRestapi *slinkyv1beta1.RestApi) (admission.Warnings, error)
ValidateUpdate 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, token *slinkyv1beta1.Token) (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, token *slinkyv1beta1.Token) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*TokenWebhook) ValidateUpdate ¶
func (r *TokenWebhook) ValidateUpdate(ctx context.Context, oldToken, newToken *slinkyv1beta1.Token) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type