testhelpers

package
v3.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) HasDiff

func (d *DummyMutator) HasDiff(m types.Mutator) bool

func (*DummyMutator) ID

func (d *DummyMutator) ID() types.ID

func (*DummyMutator) Matches

func (d *DummyMutator) Matches(mutable *types.Mutable) bool

func (*DummyMutator) MustTerminate

func (d *DummyMutator) MustTerminate() bool

func (*DummyMutator) Mutate

func (d *DummyMutator) Mutate(mutable *types.Mutable) (bool, error)

func (*DummyMutator) Path

func (d *DummyMutator) Path() parser.Path

func (*DummyMutator) String

func (d *DummyMutator) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL