Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
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 ¶
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 (_c *Bootstrapper_Bootstrap_Call) Return(_a0 error) *Bootstrapper_Bootstrap_Call
func (*Bootstrapper_Bootstrap_Call) Run ¶
func (_c *Bootstrapper_Bootstrap_Call) Run(run func()) *Bootstrapper_Bootstrap_Call
func (*Bootstrapper_Bootstrap_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Bootstrapper_Bootstrap_Call) RunAndReturn(run func() error) *Bootstrapper_Bootstrap_Call
type Bootstrapper_Expecter ¶
type Bootstrapper_Expecter struct {
// contains filtered or unexported fields
}
func (*Bootstrapper_Expecter) Bootstrap ¶
func (_e *Bootstrapper_Expecter) Bootstrap() *Bootstrapper_Bootstrap_Call
Bootstrap is a helper method to define mock.On call
Click to show internal directories.
Click to hide internal directories.