mocks

package
v1.0.42 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrapper

type Bootstrapper struct {
	mock.Mock
}

Bootstrapper is an autogenerated mock type for the Bootstrapper type

func NewBootstrapper

func NewBootstrapper(t mockConstructorTestingTNewBootstrapper) *Bootstrapper

NewBootstrapper creates a new instance of Bootstrapper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Bootstrapper) Bootstrap

func (_m *Bootstrapper) Bootstrap() error

Bootstrap provides a mock function with given fields:

func (*Bootstrapper) EXPECT

func (_m *Bootstrapper) EXPECT() *Bootstrapper_Expecter

type Bootstrapper_Bootstrap_Call

type Bootstrapper_Bootstrap_Call struct {
	*mock.Call
}

Bootstrapper_Bootstrap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bootstrap'

func (*Bootstrapper_Bootstrap_Call) Return

func (*Bootstrapper_Bootstrap_Call) Run

type Bootstrapper_Expecter

type Bootstrapper_Expecter struct {
	// contains filtered or unexported fields
}

func (*Bootstrapper_Expecter) Bootstrap

Bootstrap is a helper method to define mock.On call

Jump to

Keyboard shortcuts

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