webhook

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

type ControllerWebhook struct {
	client.Client
}

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 added in v1.1.0

type PodBindingWebhook struct {
	client.Client
}

func (*PodBindingWebhook) Default added in v1.1.0

func (r *PodBindingWebhook) Default(ctx context.Context, binding *corev1.Binding) error

Default implements admission.CustomDefaulter.

func (*PodBindingWebhook) SetupWebhookWithManager added in v1.1.0

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

Jump to

Keyboard shortcuts

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