Documentation ¶
Index ¶
- type FullModule
- type FullModule_Expecter
- type FullModule_GetStage_Call
- type FullModule_IsBackground_Call
- type FullModule_IsEssential_Call
- type FullModule_Run_Call
- type Kernel
- type Kernel_Expecter
- type Kernel_Run_Call
- type Kernel_Running_Call
- type Kernel_Stop_Call
- type Module
- type Module_Expecter
- type Module_Run_Call
- type StagedModule
- type StagedModule_Expecter
- type StagedModule_GetStage_Call
- type TypedModule
- type TypedModule_Expecter
- type TypedModule_IsBackground_Call
- type TypedModule_IsEssential_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullModule ¶
FullModule is an autogenerated mock type for the FullModule type
func NewFullModule ¶
func NewFullModule(t mockConstructorTestingTNewFullModule) *FullModule
NewFullModule creates a new instance of FullModule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FullModule) EXPECT ¶
func (_m *FullModule) EXPECT() *FullModule_Expecter
func (*FullModule) GetStage ¶
func (_m *FullModule) GetStage() int
GetStage provides a mock function with given fields:
func (*FullModule) IsBackground ¶
func (_m *FullModule) IsBackground() bool
IsBackground provides a mock function with given fields:
func (*FullModule) IsEssential ¶
func (_m *FullModule) IsEssential() bool
IsEssential provides a mock function with given fields:
type FullModule_Expecter ¶
type FullModule_Expecter struct {
// contains filtered or unexported fields
}
func (*FullModule_Expecter) GetStage ¶
func (_e *FullModule_Expecter) GetStage() *FullModule_GetStage_Call
GetStage is a helper method to define mock.On call
func (*FullModule_Expecter) IsBackground ¶
func (_e *FullModule_Expecter) IsBackground() *FullModule_IsBackground_Call
IsBackground is a helper method to define mock.On call
func (*FullModule_Expecter) IsEssential ¶
func (_e *FullModule_Expecter) IsEssential() *FullModule_IsEssential_Call
IsEssential is a helper method to define mock.On call
func (*FullModule_Expecter) Run ¶
func (_e *FullModule_Expecter) Run(ctx interface{}) *FullModule_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
type FullModule_GetStage_Call ¶
FullModule_GetStage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStage'
func (*FullModule_GetStage_Call) Return ¶
func (_c *FullModule_GetStage_Call) Return(_a0 int) *FullModule_GetStage_Call
func (*FullModule_GetStage_Call) Run ¶
func (_c *FullModule_GetStage_Call) Run(run func()) *FullModule_GetStage_Call
func (*FullModule_GetStage_Call) RunAndReturn ¶
func (_c *FullModule_GetStage_Call) RunAndReturn(run func() int) *FullModule_GetStage_Call
type FullModule_IsBackground_Call ¶
FullModule_IsBackground_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBackground'
func (*FullModule_IsBackground_Call) Return ¶
func (_c *FullModule_IsBackground_Call) Return(_a0 bool) *FullModule_IsBackground_Call
func (*FullModule_IsBackground_Call) Run ¶
func (_c *FullModule_IsBackground_Call) Run(run func()) *FullModule_IsBackground_Call
func (*FullModule_IsBackground_Call) RunAndReturn ¶
func (_c *FullModule_IsBackground_Call) RunAndReturn(run func() bool) *FullModule_IsBackground_Call
type FullModule_IsEssential_Call ¶
FullModule_IsEssential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEssential'
func (*FullModule_IsEssential_Call) Return ¶
func (_c *FullModule_IsEssential_Call) Return(_a0 bool) *FullModule_IsEssential_Call
func (*FullModule_IsEssential_Call) Run ¶
func (_c *FullModule_IsEssential_Call) Run(run func()) *FullModule_IsEssential_Call
func (*FullModule_IsEssential_Call) RunAndReturn ¶
func (_c *FullModule_IsEssential_Call) RunAndReturn(run func() bool) *FullModule_IsEssential_Call
type FullModule_Run_Call ¶
FullModule_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*FullModule_Run_Call) Return ¶
func (_c *FullModule_Run_Call) Return(_a0 error) *FullModule_Run_Call
func (*FullModule_Run_Call) Run ¶
func (_c *FullModule_Run_Call) Run(run func(ctx context.Context)) *FullModule_Run_Call
func (*FullModule_Run_Call) RunAndReturn ¶
func (_c *FullModule_Run_Call) RunAndReturn(run func(context.Context) error) *FullModule_Run_Call
type Kernel ¶
Kernel is an autogenerated mock type for the Kernel type
func NewKernel ¶
func NewKernel(t mockConstructorTestingTNewKernel) *Kernel
NewKernel creates a new instance of Kernel. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Kernel) EXPECT ¶
func (_m *Kernel) EXPECT() *Kernel_Expecter
type Kernel_Expecter ¶
type Kernel_Expecter struct {
// contains filtered or unexported fields
}
func (*Kernel_Expecter) Run ¶
func (_e *Kernel_Expecter) Run() *Kernel_Run_Call
Run is a helper method to define mock.On call
func (*Kernel_Expecter) Running ¶
func (_e *Kernel_Expecter) Running() *Kernel_Running_Call
Running is a helper method to define mock.On call
func (*Kernel_Expecter) Stop ¶
func (_e *Kernel_Expecter) Stop(reason interface{}) *Kernel_Stop_Call
Stop is a helper method to define mock.On call
- reason string
type Kernel_Run_Call ¶
Kernel_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Kernel_Run_Call) Return ¶
func (_c *Kernel_Run_Call) Return() *Kernel_Run_Call
func (*Kernel_Run_Call) Run ¶
func (_c *Kernel_Run_Call) Run(run func()) *Kernel_Run_Call
func (*Kernel_Run_Call) RunAndReturn ¶
func (_c *Kernel_Run_Call) RunAndReturn(run func()) *Kernel_Run_Call
type Kernel_Running_Call ¶
Kernel_Running_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Running'
func (*Kernel_Running_Call) Return ¶
func (_c *Kernel_Running_Call) Return(_a0 <-chan struct{}) *Kernel_Running_Call
func (*Kernel_Running_Call) Run ¶
func (_c *Kernel_Running_Call) Run(run func()) *Kernel_Running_Call
func (*Kernel_Running_Call) RunAndReturn ¶
func (_c *Kernel_Running_Call) RunAndReturn(run func() <-chan struct{}) *Kernel_Running_Call
type Kernel_Stop_Call ¶
Kernel_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*Kernel_Stop_Call) Return ¶
func (_c *Kernel_Stop_Call) Return() *Kernel_Stop_Call
func (*Kernel_Stop_Call) Run ¶
func (_c *Kernel_Stop_Call) Run(run func(reason string)) *Kernel_Stop_Call
func (*Kernel_Stop_Call) RunAndReturn ¶
func (_c *Kernel_Stop_Call) RunAndReturn(run func(string)) *Kernel_Stop_Call
type Module ¶
Module is an autogenerated mock type for the Module type
func NewModule ¶
func NewModule(t mockConstructorTestingTNewModule) *Module
NewModule creates a new instance of Module. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Module) EXPECT ¶
func (_m *Module) EXPECT() *Module_Expecter
type Module_Expecter ¶
type Module_Expecter struct {
// contains filtered or unexported fields
}
func (*Module_Expecter) Run ¶
func (_e *Module_Expecter) Run(ctx interface{}) *Module_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
type Module_Run_Call ¶
Module_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*Module_Run_Call) Return ¶
func (_c *Module_Run_Call) Return(_a0 error) *Module_Run_Call
func (*Module_Run_Call) Run ¶
func (_c *Module_Run_Call) Run(run func(ctx context.Context)) *Module_Run_Call
func (*Module_Run_Call) RunAndReturn ¶
func (_c *Module_Run_Call) RunAndReturn(run func(context.Context) error) *Module_Run_Call
type StagedModule ¶
StagedModule is an autogenerated mock type for the StagedModule type
func NewStagedModule ¶
func NewStagedModule(t mockConstructorTestingTNewStagedModule) *StagedModule
NewStagedModule creates a new instance of StagedModule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*StagedModule) EXPECT ¶
func (_m *StagedModule) EXPECT() *StagedModule_Expecter
func (*StagedModule) GetStage ¶
func (_m *StagedModule) GetStage() int
GetStage provides a mock function with given fields:
type StagedModule_Expecter ¶
type StagedModule_Expecter struct {
// contains filtered or unexported fields
}
func (*StagedModule_Expecter) GetStage ¶
func (_e *StagedModule_Expecter) GetStage() *StagedModule_GetStage_Call
GetStage is a helper method to define mock.On call
type StagedModule_GetStage_Call ¶
StagedModule_GetStage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStage'
func (*StagedModule_GetStage_Call) Return ¶
func (_c *StagedModule_GetStage_Call) Return(_a0 int) *StagedModule_GetStage_Call
func (*StagedModule_GetStage_Call) Run ¶
func (_c *StagedModule_GetStage_Call) Run(run func()) *StagedModule_GetStage_Call
func (*StagedModule_GetStage_Call) RunAndReturn ¶
func (_c *StagedModule_GetStage_Call) RunAndReturn(run func() int) *StagedModule_GetStage_Call
type TypedModule ¶
TypedModule is an autogenerated mock type for the TypedModule type
func NewTypedModule ¶
func NewTypedModule(t mockConstructorTestingTNewTypedModule) *TypedModule
NewTypedModule creates a new instance of TypedModule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TypedModule) EXPECT ¶
func (_m *TypedModule) EXPECT() *TypedModule_Expecter
func (*TypedModule) IsBackground ¶
func (_m *TypedModule) IsBackground() bool
IsBackground provides a mock function with given fields:
func (*TypedModule) IsEssential ¶
func (_m *TypedModule) IsEssential() bool
IsEssential provides a mock function with given fields:
type TypedModule_Expecter ¶
type TypedModule_Expecter struct {
// contains filtered or unexported fields
}
func (*TypedModule_Expecter) IsBackground ¶
func (_e *TypedModule_Expecter) IsBackground() *TypedModule_IsBackground_Call
IsBackground is a helper method to define mock.On call
func (*TypedModule_Expecter) IsEssential ¶
func (_e *TypedModule_Expecter) IsEssential() *TypedModule_IsEssential_Call
IsEssential is a helper method to define mock.On call
type TypedModule_IsBackground_Call ¶
TypedModule_IsBackground_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBackground'
func (*TypedModule_IsBackground_Call) Return ¶
func (_c *TypedModule_IsBackground_Call) Return(_a0 bool) *TypedModule_IsBackground_Call
func (*TypedModule_IsBackground_Call) Run ¶
func (_c *TypedModule_IsBackground_Call) Run(run func()) *TypedModule_IsBackground_Call
func (*TypedModule_IsBackground_Call) RunAndReturn ¶
func (_c *TypedModule_IsBackground_Call) RunAndReturn(run func() bool) *TypedModule_IsBackground_Call
type TypedModule_IsEssential_Call ¶
TypedModule_IsEssential_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEssential'
func (*TypedModule_IsEssential_Call) Return ¶
func (_c *TypedModule_IsEssential_Call) Return(_a0 bool) *TypedModule_IsEssential_Call
func (*TypedModule_IsEssential_Call) Run ¶
func (_c *TypedModule_IsEssential_Call) Run(run func()) *TypedModule_IsEssential_Call
func (*TypedModule_IsEssential_Call) RunAndReturn ¶
func (_c *TypedModule_IsEssential_Call) RunAndReturn(run func() bool) *TypedModule_IsEssential_Call