modifyset

package
v3.13.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidModifySet

func IsValidModifySet(modifySet *mutationsunversioned.ModifySet) error

IsValidModifySet returns an error if the given modifyset object is not semantically valid.

Types

type Mutator

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

Mutator is a mutator object built out of a ModifySet instance.

func MutatorForModifySet

func MutatorForModifySet(modifySet *mutationsunversioned.ModifySet) (*Mutator, error)

MutatorForModifySet returns an Mutator built from the given modifyset 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