testhelpers

package
v3.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 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) 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

func (*DummyMutator) UsesExternalData

func (d *DummyMutator) UsesExternalData() bool

Jump to

Keyboard shortcuts

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