Documentation
¶
Index ¶
- Constants
- type BFB
- func (r *BFB) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BFB) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *BFB) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *BFB) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type DPUDevice
- func (r *DPUDevice) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DPUDevice) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUDevice) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUDevice) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type DPUDiscoveryValidator
- func (v *DPUDiscoveryValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (v *DPUDiscoveryValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *DPUDiscoveryValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *DPUDiscoveryValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type DPUFlavor
- func (r *DPUFlavor) Default(ctx context.Context, obj runtime.Object) error
- func (r *DPUFlavor) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DPUFlavor) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUFlavor) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUFlavor) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type DPUNode
- func (r *DPUNode) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DPUNode) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUNode) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUNode) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type DPUSet
- func (r *DPUSet) Default(ctx context.Context, obj runtime.Object) error
- func (r *DPUSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *DPUSet) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUSet) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *DPUSet) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
const (
BFBFileNameExtension = ".bfb"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BFB ¶
type BFB struct{}
BFB implements a webhook for the BFB object.
func (*BFB) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*BFB) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type DPUDevice ¶
DPUDevice implements a webhook for the DPUDevice object.
func (*DPUDevice) SetupWebhookWithManager ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*DPUDevice) ValidateCreate ¶
func (r *DPUDevice) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
type DPUDiscoveryValidator ¶
type DPUDiscoveryValidator struct{}
DPUDiscoveryValidator validates DPUDiscovery objects (e.g. startIP <= endIP).
func (*DPUDiscoveryValidator) SetupWebhookWithManager ¶
func (v *DPUDiscoveryValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager registers the webhook with the manager.
func (*DPUDiscoveryValidator) ValidateCreate ¶
func (v *DPUDiscoveryValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate validates the DPUDiscovery object on creation.
func (*DPUDiscoveryValidator) ValidateDelete ¶
func (v *DPUDiscoveryValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete validates the DPUDiscovery object on deletion (no-op).
func (*DPUDiscoveryValidator) ValidateUpdate ¶
func (v *DPUDiscoveryValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate validates the DPUDiscovery object on update.
type DPUFlavor ¶
type DPUFlavor struct{}
DPUFlavor implements a webhook for the DPUFlavor object.
func (*DPUFlavor) Default ¶
Default implements webhook.CustomDefaulter so a webhook will be registered for the type
func (*DPUFlavor) SetupWebhookWithManager ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*DPUFlavor) ValidateCreate ¶
func (r *DPUFlavor) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
type DPUNode ¶
DPUNode implements a webhook for the DPUNode object.
func (*DPUNode) SetupWebhookWithManager ¶
SetupWebhookWithManager will setup the manager to manage the webhooks
func (*DPUNode) ValidateCreate ¶
func (r *DPUNode) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
type DPUSet ¶
type DPUSet struct {
// DeploymentMode is the cluster-wide DPF deployment mode (e.g. zero-trust vs host-trusted),
// matching DPFOperatorConfig and provisioning controller flags. Required for Astra validation.
DeploymentMode string
}
DPUSet implements the webhooks for the DPUSet type.
func (*DPUSet) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*DPUSet) SetupWebhookWithManager ¶
func (*DPUSet) ValidateCreate ¶
func (r *DPUSet) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type