Documentation ¶
Index ¶
- type FullModule
- type FullModule_Expecter
- func (_e *FullModule_Expecter) GetStage() *FullModule_GetStage_Call
- func (_e *FullModule_Expecter) IsBackground() *FullModule_IsBackground_Call
- func (_e *FullModule_Expecter) IsEssential() *FullModule_IsEssential_Call
- func (_e *FullModule_Expecter) IsHealthy(ctx interface{}) *FullModule_IsHealthy_Call
- func (_e *FullModule_Expecter) Run(ctx interface{}) *FullModule_Run_Call
- type FullModule_GetStage_Call
- type FullModule_IsBackground_Call
- type FullModule_IsEssential_Call
- type FullModule_IsHealthy_Call
- func (_c *FullModule_IsHealthy_Call) Return(_a0 bool, _a1 error) *FullModule_IsHealthy_Call
- func (_c *FullModule_IsHealthy_Call) Run(run func(ctx context.Context)) *FullModule_IsHealthy_Call
- func (_c *FullModule_IsHealthy_Call) RunAndReturn(run func(context.Context) (bool, error)) *FullModule_IsHealthy_Call
- type FullModule_Run_Call
- type HealthCheckedModule
- type HealthCheckedModule_Expecter
- type HealthCheckedModule_IsHealthy_Call
- func (_c *HealthCheckedModule_IsHealthy_Call) Return(_a0 bool, _a1 error) *HealthCheckedModule_IsHealthy_Call
- func (_c *HealthCheckedModule_IsHealthy_Call) Run(run func(ctx context.Context)) *HealthCheckedModule_IsHealthy_Call
- func (_c *HealthCheckedModule_IsHealthy_Call) RunAndReturn(run func(context.Context) (bool, error)) *HealthCheckedModule_IsHealthy_Call
- type Kernel
- type Kernel_Expecter
- type Kernel_HealthCheck_Call
- 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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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) IsHealthy ¶ added in v0.10.0
func (_e *FullModule_Expecter) IsHealthy(ctx interface{}) *FullModule_IsHealthy_Call
IsHealthy is a helper method to define mock.On call
- ctx context.Context
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_IsHealthy_Call ¶ added in v0.10.0
FullModule_IsHealthy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHealthy'
func (*FullModule_IsHealthy_Call) Return ¶ added in v0.10.0
func (_c *FullModule_IsHealthy_Call) Return(_a0 bool, _a1 error) *FullModule_IsHealthy_Call
func (*FullModule_IsHealthy_Call) Run ¶ added in v0.10.0
func (_c *FullModule_IsHealthy_Call) Run(run func(ctx context.Context)) *FullModule_IsHealthy_Call
func (*FullModule_IsHealthy_Call) RunAndReturn ¶ added in v0.10.0
func (_c *FullModule_IsHealthy_Call) RunAndReturn(run func(context.Context) (bool, error)) *FullModule_IsHealthy_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 HealthCheckedModule ¶ added in v0.10.0
HealthCheckedModule is an autogenerated mock type for the HealthCheckedModule type
func NewHealthCheckedModule ¶ added in v0.10.0
func NewHealthCheckedModule(t interface { mock.TestingT Cleanup(func()) }) *HealthCheckedModule
NewHealthCheckedModule creates a new instance of HealthCheckedModule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*HealthCheckedModule) EXPECT ¶ added in v0.10.0
func (_m *HealthCheckedModule) EXPECT() *HealthCheckedModule_Expecter
type HealthCheckedModule_Expecter ¶ added in v0.10.0
type HealthCheckedModule_Expecter struct {
// contains filtered or unexported fields
}
func (*HealthCheckedModule_Expecter) IsHealthy ¶ added in v0.10.0
func (_e *HealthCheckedModule_Expecter) IsHealthy(ctx interface{}) *HealthCheckedModule_IsHealthy_Call
IsHealthy is a helper method to define mock.On call
- ctx context.Context
type HealthCheckedModule_IsHealthy_Call ¶ added in v0.10.0
HealthCheckedModule_IsHealthy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsHealthy'
func (*HealthCheckedModule_IsHealthy_Call) Return ¶ added in v0.10.0
func (_c *HealthCheckedModule_IsHealthy_Call) Return(_a0 bool, _a1 error) *HealthCheckedModule_IsHealthy_Call
func (*HealthCheckedModule_IsHealthy_Call) Run ¶ added in v0.10.0
func (_c *HealthCheckedModule_IsHealthy_Call) Run(run func(ctx context.Context)) *HealthCheckedModule_IsHealthy_Call
func (*HealthCheckedModule_IsHealthy_Call) RunAndReturn ¶ added in v0.10.0
func (_c *HealthCheckedModule_IsHealthy_Call) RunAndReturn(run func(context.Context) (bool, error)) *HealthCheckedModule_IsHealthy_Call
type Kernel ¶
Kernel is an autogenerated mock type for the Kernel type
func NewKernel ¶
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. The first argument is typically a *testing.T value.
func (*Kernel) EXPECT ¶
func (_m *Kernel) EXPECT() *Kernel_Expecter
func (*Kernel) HealthCheck ¶ added in v0.10.0
func (_m *Kernel) HealthCheck() kernel.HealthCheckResult
HealthCheck provides a mock function with given fields:
type Kernel_Expecter ¶
type Kernel_Expecter struct {
// contains filtered or unexported fields
}
func (*Kernel_Expecter) HealthCheck ¶ added in v0.10.0
func (_e *Kernel_Expecter) HealthCheck() *Kernel_HealthCheck_Call
HealthCheck is a helper method to define mock.On call
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_HealthCheck_Call ¶ added in v0.10.0
Kernel_HealthCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthCheck'
func (*Kernel_HealthCheck_Call) Return ¶ added in v0.10.0
func (_c *Kernel_HealthCheck_Call) Return(_a0 kernel.HealthCheckResult) *Kernel_HealthCheck_Call
func (*Kernel_HealthCheck_Call) Run ¶ added in v0.10.0
func (_c *Kernel_HealthCheck_Call) Run(run func()) *Kernel_HealthCheck_Call
func (*Kernel_HealthCheck_Call) RunAndReturn ¶ added in v0.10.0
func (_c *Kernel_HealthCheck_Call) RunAndReturn(run func() kernel.HealthCheckResult) *Kernel_HealthCheck_Call
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 ¶
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. The first argument is typically a *testing.T value.
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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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 interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
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