webhooks

package
v0.1.0-latest-stable Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeSRIOVDevicePluginConfigValidator

type NodeSRIOVDevicePluginConfigValidator struct {
	// DefaultResourcePrefix is used when a resource entry omits `resourcePrefix`.
	DefaultResourcePrefix string
}

NodeSRIOVDevicePluginConfigValidator implements a webhook for the NodeSRIOVDevicePluginConfig object.

func (*NodeSRIOVDevicePluginConfigValidator) SetupWebhookWithManager

func (v *NodeSRIOVDevicePluginConfigValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*NodeSRIOVDevicePluginConfigValidator) ValidateCreate

ValidateCreate validates resource name/prefix uniqueness and function ranges.

func (*NodeSRIOVDevicePluginConfigValidator) ValidateDelete

func (*NodeSRIOVDevicePluginConfigValidator) ValidateUpdate

ValidateUpdate validates resource name/prefix uniqueness and function ranges.

Jump to

Keyboard shortcuts

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