Documentation ¶
Overview ¶
Package webhook contains webhooks for the custom resources.
Package webhook contains webhooks for the custom resources.
Index ¶
- type ProxmoxCluster
- func (p *ProxmoxCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (*ProxmoxCluster) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (*ProxmoxCluster) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*ProxmoxCluster) ValidateUpdate(_ context.Context, _ runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)
- type ProxmoxMachine
- func (p *ProxmoxMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (p *ProxmoxMachine) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (p *ProxmoxMachine) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)
- func (p *ProxmoxMachine) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxmoxCluster ¶
type ProxmoxCluster struct{}
ProxmoxCluster is a type that implements the interfaces from the admission package.
func (*ProxmoxCluster) SetupWebhookWithManager ¶
func (p *ProxmoxCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the custom interfaces.
func (*ProxmoxCluster) ValidateCreate ¶
func (*ProxmoxCluster) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements the creation validation function.
func (*ProxmoxCluster) ValidateDelete ¶
func (*ProxmoxCluster) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements the deletion validation function.
type ProxmoxMachine ¶ added in v0.2.0
type ProxmoxMachine struct{}
ProxmoxMachine is a type that implements the interfaces from the admission package.
func (*ProxmoxMachine) SetupWebhookWithManager ¶ added in v0.2.0
func (p *ProxmoxMachine) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the custom interfaces.
func (*ProxmoxMachine) ValidateCreate ¶ added in v0.2.0
func (p *ProxmoxMachine) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements the creation validation function.
func (*ProxmoxMachine) ValidateDelete ¶ added in v0.2.0
func (p *ProxmoxMachine) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)
ValidateDelete implements the deletion validation function.
func (*ProxmoxMachine) ValidateUpdate ¶ added in v0.2.0
func (p *ProxmoxMachine) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)
ValidateUpdate implements the update validation function.