webhook

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

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

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

func (p *ProxmoxCluster) Default(_ context.Context, _ runtime.Object) error

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

ValidateDelete implements the deletion validation function.

func (*ProxmoxCluster) ValidateUpdate

func (*ProxmoxCluster) ValidateUpdate(_ context.Context, _ runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)

ValidateUpdate implements the update 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

ValidateDelete implements the deletion validation function.

func (*ProxmoxClusterTemplate) ValidateUpdate added in v0.8.0

func (*ProxmoxClusterTemplate) ValidateUpdate(_ context.Context, _ runtime.Object, newObj runtime.Object) (warnings admission.Warnings, err error)

ValidateUpdate implements the update 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

func (p *ProxmoxMachine) Default(_ context.Context, obj runtime.Object) error

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.

Jump to

Keyboard shortcuts

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