Documentation ¶
Overview ¶
Package webhooks implements inmemory infrastructure webhooks.
Index ¶
- type InMemoryCluster
- func (webhook *InMemoryCluster) Default(_ context.Context, _ runtime.Object) error
- func (webhook *InMemoryCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *InMemoryCluster) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryCluster) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryCluster) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
- type InMemoryClusterTemplate
- func (webhook *InMemoryClusterTemplate) Default(_ context.Context, _ runtime.Object) error
- func (webhook *InMemoryClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *InMemoryClusterTemplate) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryClusterTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryClusterTemplate) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
- type InMemoryMachine
- func (webhook *InMemoryMachine) Default(_ context.Context, _ runtime.Object) error
- func (webhook *InMemoryMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *InMemoryMachine) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryMachine) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryMachine) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
- type InMemoryMachineTemplate
- func (webhook *InMemoryMachineTemplate) Default(_ context.Context, _ runtime.Object) error
- func (webhook *InMemoryMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *InMemoryMachineTemplate) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryMachineTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *InMemoryMachineTemplate) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryCluster ¶
type InMemoryCluster struct{}
InMemoryCluster implements a validating and defaulting webhook for InMemoryCluster.
func (*InMemoryCluster) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryCluster) SetupWebhookWithManager ¶
func (webhook *InMemoryCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryCluster) ValidateCreate ¶
func (webhook *InMemoryCluster) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryCluster) ValidateDelete ¶
func (webhook *InMemoryCluster) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryCluster) ValidateUpdate ¶
func (webhook *InMemoryCluster) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryClusterTemplate ¶
type InMemoryClusterTemplate struct{}
InMemoryClusterTemplate implements a validating and defaulting webhook for InMemoryClusterTemplate.
func (*InMemoryClusterTemplate) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryClusterTemplate) SetupWebhookWithManager ¶
func (webhook *InMemoryClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryClusterTemplate) ValidateCreate ¶
func (webhook *InMemoryClusterTemplate) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryClusterTemplate) ValidateDelete ¶
func (webhook *InMemoryClusterTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryClusterTemplate) ValidateUpdate ¶
func (webhook *InMemoryClusterTemplate) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryMachine ¶
type InMemoryMachine struct{}
InMemoryMachine implements a validating and defaulting webhook for InMemoryMachine.
func (*InMemoryMachine) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryMachine) SetupWebhookWithManager ¶
func (webhook *InMemoryMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryMachine) ValidateCreate ¶
func (webhook *InMemoryMachine) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachine) ValidateDelete ¶
func (webhook *InMemoryMachine) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachine) ValidateUpdate ¶
func (webhook *InMemoryMachine) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InMemoryMachineTemplate ¶
type InMemoryMachineTemplate struct{}
InMemoryMachineTemplate implements a validating and defaulting webhook for InMemoryMachineTemplate.
func (*InMemoryMachineTemplate) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*InMemoryMachineTemplate) SetupWebhookWithManager ¶
func (webhook *InMemoryMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*InMemoryMachineTemplate) ValidateCreate ¶
func (webhook *InMemoryMachineTemplate) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachineTemplate) ValidateDelete ¶
func (webhook *InMemoryMachineTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*InMemoryMachineTemplate) ValidateUpdate ¶
func (webhook *InMemoryMachineTemplate) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.