Documentation ¶
Index ¶
- func IsValidAssignImage(assignImage *mutationsunversioned.AssignImage) 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
- 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 IsValidAssignImage ¶
func IsValidAssignImage(assignImage *mutationsunversioned.AssignImage) error
IsValidAssignImage returns an error if the given assignImage 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 AssignImage instance.
func MutatorForAssignImage ¶
func MutatorForAssignImage(assignImage *mutationsunversioned.AssignImage) (*Mutator, error)
MutatorForAssignImage returns a mutator built from the given assignImage 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.