vlanconfig

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorageNetworkAnnotation = "storage-network.settings.cloudweavhci.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

type Mutator struct {
	admission.DefaultMutator
	// contains filtered or unexported fields
}

func NewVlanConfigMutator

func NewVlanConfigMutator(nodeCache ctlcorev1.NodeCache) *Mutator

func (*Mutator) Create

func (m *Mutator) Create(_ *admission.Request, newObj runtime.Object) (admission.Patch, error)

func (*Mutator) Resource

func (m *Mutator) Resource() admission.Resource

func (*Mutator) Update

func (m *Mutator) Update(_ *admission.Request, oldObj, newObj runtime.Object) (admission.Patch, error)

type Validator

type Validator struct {
	admission.DefaultValidator
	// contains filtered or unexported fields
}

func (*Validator) Create

func (v *Validator) Create(_ *admission.Request, newObj runtime.Object) error

func (*Validator) Delete

func (v *Validator) Delete(_ *admission.Request, oldObj runtime.Object) error

func (*Validator) Resource

func (v *Validator) Resource() admission.Resource

func (*Validator) Update

func (v *Validator) Update(_ *admission.Request, oldObj, newObj runtime.Object) error

Jump to

Keyboard shortcuts

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