assign

package
v3.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidAssign

func IsValidAssign(assign *mutationsunversioned.Assign) error

IsValidAssign returns an error if the given assign object is not semantically valid.

Types

type Mutator

type Mutator struct {
	// contains filtered or unexported fields
}

Mutator is a mutator object built out of an Assign instance.

func MutatorForAssign

func MutatorForAssign(assign *mutationsunversioned.Assign) (*Mutator, error)

MutatorForAssign returns an mutator built from the given assign instance.

func (*Mutator) DeepCopy

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

func (*Mutator) HasDiff

func (m *Mutator) HasDiff(mutator types.Mutator) bool

func (*Mutator) ID

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

func (*Mutator) Matches

func (m *Mutator) Matches(mutable *types.Mutable) bool

func (*Mutator) Mutate

func (m *Mutator) Mutate(mutable *types.Mutable) (bool, error)

func (*Mutator) Path

func (m *Mutator) Path() parser.Path

func (*Mutator) SchemaBindings

func (m *Mutator) SchemaBindings() []runtimeschema.GroupVersionKind

func (*Mutator) String

func (m *Mutator) String() string

func (*Mutator) TerminalType

func (m *Mutator) TerminalType() parser.NodeType

func (*Mutator) UsesExternalData

func (m *Mutator) UsesExternalData() bool

Jump to

Keyboard shortcuts

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