Documentation ¶
Index ¶
- func IsValidModifySet(modifySet *mutationsunversioned.ModifySet) 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 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) MustTerminate ¶
func (*Mutator) SchemaBindings ¶
func (m *Mutator) SchemaBindings() []runtimeschema.GroupVersionKind
func (*Mutator) TerminalType ¶
Click to show internal directories.
Click to hide internal directories.