Documentation ¶
Index ¶
- func IsValidAssign(assign *mutationsunversioned.Assign) error
- type Mutator
- func (m *Mutator) DeepCopy() types.Mutator
- func (m *Mutator) HasDiff(mutator types.Mutator) bool
- func (m *Mutator) ID() types.ID
- func (m *Mutator) Matches(mutable *types.Mutable) (bool, error)
- func (m *Mutator) MustTerminate() bool
- func (m *Mutator) Mutate(mutable *types.Mutable) (bool, error)
- func (m *Mutator) Path() parser.Path
- func (m *Mutator) SchemaBindings() []runtimeschema.GroupVersionKind
- func (m *Mutator) String() string
- func (m *Mutator) TerminalType() parser.NodeType
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) MustTerminate ¶
func (*Mutator) SchemaBindings ¶
func (m *Mutator) SchemaBindings() []runtimeschema.GroupVersionKind
func (*Mutator) TerminalType ¶
Click to show internal directories.
Click to hide internal directories.