hostnetworkconfig

package
v1.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IPModeDHCP   = "dhcp"
	IPModeStatic = "static"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidateOp

type ValidateOp int
const (
	ValidateCreate ValidateOp = iota
	ValidateUpdate
)

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