nad

package
v0.3.2-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

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

func NewNadMutator

func NewNadMutator(cnCache ctlnetworkv1.ClusterNetworkCache) *Mutator

func (*Mutator) Resource

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

func (*Mutator) Update

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

type Validator

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

func (*Validator) Create

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

func (*Validator) Delete

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

func (*Validator) Resource

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

func (*Validator) Update

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

Jump to

Keyboard shortcuts

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