Documentation
¶
Overview ¶
Package webhook contains webhooks for the custom resources.
Package webhook contains webhooks for the custom resources.
Package webhook contains webhooks for the custom resources.
Package webhook contains webhooks for the custom resources.
Index ¶
- type ProxmoxCluster
- func (p *ProxmoxCluster) Default(_ context.Context, _ runtime.Object) error
- 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 ProxmoxClusterTemplate
- func (p *ProxmoxClusterTemplate) Default(_ context.Context, _ runtime.Object) error
- func (p *ProxmoxClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (*ProxmoxClusterTemplate) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (*ProxmoxClusterTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (*ProxmoxClusterTemplate) ValidateUpdate(_ context.Context, _ runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)
- type ProxmoxMachine
- func (p *ProxmoxMachine) Default(_ context.Context, obj runtime.Object) error
- 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, old, newObj runtime.Object) (warnings admission.Warnings, err error)
- type ProxmoxMachineTemplate
- func (p *ProxmoxMachineTemplate) Default(_ context.Context, _ runtime.Object) error
- func (p *ProxmoxMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (p *ProxmoxMachineTemplate) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
- func (p *ProxmoxMachineTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)
- func (p *ProxmoxMachineTemplate) ValidateUpdate(_ context.Context, old, 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) Default ¶ added in v0.8.0
Default implements the defaulting (mutating) webhook for ProxmoxCluster.
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 ProxmoxClusterTemplate ¶ added in v0.8.0
type ProxmoxClusterTemplate struct{}
ProxmoxClusterTemplate is a type that implements the interfaces from the admission package.
func (*ProxmoxClusterTemplate) Default ¶ added in v0.8.0
Default implements the defaulting (mutating) webhook for ProxmoxCluster.
func (*ProxmoxClusterTemplate) SetupWebhookWithManager ¶ added in v0.8.0
func (p *ProxmoxClusterTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the custom interfaces.
func (*ProxmoxClusterTemplate) ValidateCreate ¶ added in v0.8.0
func (*ProxmoxClusterTemplate) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements the creation validation function.
func (*ProxmoxClusterTemplate) ValidateDelete ¶ added in v0.8.0
func (*ProxmoxClusterTemplate) 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) Default ¶ added in v0.8.0
Default implements the defaulting (mutating) webhook for ProxmoxMachines.
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, old, newObj runtime.Object) (warnings admission.Warnings, err error)
ValidateUpdate implements the update validation function.
type ProxmoxMachineTemplate ¶ added in v0.8.0
type ProxmoxMachineTemplate struct{}
ProxmoxMachineTemplate is a type that implements the interfaces from the admission package.
func (*ProxmoxMachineTemplate) Default ¶ added in v0.8.0
Default implements the defaulting (mutating) webhook for ProxmoxMachineTemplates.
func (*ProxmoxMachineTemplate) SetupWebhookWithManager ¶ added in v0.8.0
func (p *ProxmoxMachineTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up the webhook with the custom interfaces.
func (*ProxmoxMachineTemplate) ValidateCreate ¶ added in v0.8.0
func (p *ProxmoxMachineTemplate) ValidateCreate(_ context.Context, obj runtime.Object) (warnings admission.Warnings, err error)
ValidateCreate implements the creation validation function.
func (*ProxmoxMachineTemplate) ValidateDelete ¶ added in v0.8.0
func (p *ProxmoxMachineTemplate) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)
ValidateDelete implements the deletion validation function.
func (*ProxmoxMachineTemplate) ValidateUpdate ¶ added in v0.8.0
func (p *ProxmoxMachineTemplate) ValidateUpdate(_ context.Context, old, newObj runtime.Object) (warnings admission.Warnings, err error)
ValidateUpdate implements the update validation function.