assign

package
v3.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 14 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 a 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) MustTerminate

func (m *Mutator) MustTerminate() 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

Jump to

Keyboard shortcuts

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