mocker

package
v0.0.0-...-bd94565 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	mock.Mock
}

Generator is an autogenerated mock type for the Generator type

func NewGenerator

func NewGenerator(t testing.TB) *Generator

NewGenerator creates a new instance of Generator. It also registers a cleanup function to assert the mocks expectations.

func (*Generator) Generate

func (_m *Generator) Generate() interface{}

Generate provides a mock function with given fields:

type Mocker

type Mocker struct {
	mock.Mock
}

Mocker is an autogenerated mock type for the Mocker type

func NewMocker

func NewMocker(t testing.TB) *Mocker

NewMocker creates a new instance of Mocker. It also registers a cleanup function to assert the mocks expectations.

func (*Mocker) Configure

func (_m *Mocker) Configure(ctx context.Context, containers common.TemplateContainer) error

Configure provides a mock function with given fields: ctx, containers

func (*Mocker) Run

func (_m *Mocker) Run() error

Run provides a mock function with given fields:

Jump to

Keyboard shortcuts

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