Documentation ¶
Index ¶
- func IsValidAssignMetadata(assignMeta *mutationsunversioned.AssignMetadata) 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) Mutate(mutable *types.Mutable) (bool, error)
- func (m *Mutator) Path() parser.Path
- func (m *Mutator) String() string
- func (m *Mutator) UsesExternalData() bool
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) UsesExternalData ¶
Click to show internal directories.
Click to hide internal directories.