Documentation ¶
Index ¶
- type DummyMutator
- func (d *DummyMutator) DeepCopy() types.Mutator
- func (d *DummyMutator) HasDiff(m types.Mutator) bool
- func (d *DummyMutator) ID() types.ID
- func (d *DummyMutator) Matches(mutable *types.Mutable) bool
- func (d *DummyMutator) MustTerminate() bool
- func (d *DummyMutator) Mutate(mutable *types.Mutable) (bool, error)
- func (d *DummyMutator) Path() parser.Path
- func (d *DummyMutator) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyMutator ¶
type DummyMutator struct {
// contains filtered or unexported fields
}
DummyMutator is a blank mutator that makes it easier to test the core mutation function.
func NewDummyMutator ¶
func NewDummyMutator(name, path string, value interface{}) *DummyMutator
func (*DummyMutator) DeepCopy ¶
func (d *DummyMutator) DeepCopy() types.Mutator
func (*DummyMutator) ID ¶
func (d *DummyMutator) ID() types.ID
func (*DummyMutator) MustTerminate ¶
func (d *DummyMutator) MustTerminate() bool
func (*DummyMutator) Path ¶
func (d *DummyMutator) Path() parser.Path
func (*DummyMutator) String ¶
func (d *DummyMutator) String() string
Click to show internal directories.
Click to hide internal directories.