mocks

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker struct {
	mock.Mock
}

Locker is an autogenerated mock type for the Locker type

func (*Locker) LockNew

func (_m *Locker) LockNew(_a0 ...ascertain.DependencyLock) []ascertain.DependencyLock

LockNew provides a mock function with given fields: _a0

func (*Locker) LockNewWithOld

LockNewWithOld provides a mock function with given fields: new, old

func (*Locker) VetLocks

func (_m *Locker) VetLocks(_a0 ...ascertain.DependencyLock) []ascertain.LockerError

VetLocks provides a mock function with given fields: _a0

type Printer

type Printer struct {
	mock.Mock
}

Printer is an autogenerated mock type for the Printer type

func (*Printer) Add

func (_m *Printer) Add(_a0 interface{}) prettyprinter.Printer

Add provides a mock function with given fields: _a0

func (*Printer) Dump

Dump provides a mock function with given fields: _a0

func (*Printer) Error

func (_m *Printer) Error() error

Error provides a mock function with given fields:

func (*Printer) StderrDump

func (_m *Printer) StderrDump() prettyprinter.Printer

StderrDump provides a mock function with given fields:

func (*Printer) StderrDumpOnError

func (_m *Printer) StderrDumpOnError() error

StderrDumpOnError provides a mock function with given fields:

func (*Printer) StdoutDump

func (_m *Printer) StdoutDump() prettyprinter.Printer

StdoutDump provides a mock function with given fields:

type Whitelist added in v1.3.0

type Whitelist struct {
	mock.Mock
}

Whitelist is an autogenerated mock type for the Whitelist type

func (*Whitelist) Find added in v1.3.0

func (_m *Whitelist) Find(_a0 string) bool

Find provides a mock function with given fields: _a0

type Writer

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func (*Writer) Write

func (_m *Writer) Write(_a0 []byte) (int, error)

Write provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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