assignmeta

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidAssignMetadata

func IsValidAssignMetadata(assignMeta *mutationsunversioned.AssignMetadata) error

IsValidAssignMetadata returns an error if the given assignmetadata object is not semantically valid.

Types

type Mutator

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

Mutator is a mutator built out of an AssignMeta instance.

func MutatorForAssignMetadata

func MutatorForAssignMetadata(assignMeta *mutationsunversioned.AssignMetadata) (*Mutator, error)

MutatorForAssignMetadata builds an Mutator from the given AssignMetadata object.

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) String

func (m *Mutator) String() string

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