Documentation
¶
Index ¶
- type Basic
- type Basic_Expecter
- type Basic_Name_Call
- type Basic_Start_Call
- type Basic_Status_Call
- type Basic_WaitForHealthy_Call
- type BeaconStorageBackend
- type BeaconStorageBackend_AvailabilityStore_Call
- func (_c *BeaconStorageBackend_AvailabilityStore_Call) Return(_a0 core.AvailabilityStore) *BeaconStorageBackend_AvailabilityStore_Call
- func (_c *BeaconStorageBackend_AvailabilityStore_Call) Run(run func(ctx context.Context)) *BeaconStorageBackend_AvailabilityStore_Call
- func (_c *BeaconStorageBackend_AvailabilityStore_Call) RunAndReturn(run func(context.Context) core.AvailabilityStore) *BeaconStorageBackend_AvailabilityStore_Call
- type BeaconStorageBackend_BeaconState_Call
- func (_c *BeaconStorageBackend_BeaconState_Call) Return(_a0 state.BeaconState) *BeaconStorageBackend_BeaconState_Call
- func (_c *BeaconStorageBackend_BeaconState_Call) Run(run func(ctx context.Context)) *BeaconStorageBackend_BeaconState_Call
- func (_c *BeaconStorageBackend_BeaconState_Call) RunAndReturn(run func(context.Context) state.BeaconState) *BeaconStorageBackend_BeaconState_Call
- type BeaconStorageBackend_Expecter
- type Option
- type Option_Execute_Call
- type Option_Expecter
- type RegistryOption
- type RegistryOption_Execute_Call
- func (_c *RegistryOption_Execute_Call) Return(_a0 error) *RegistryOption_Execute_Call
- func (_c *RegistryOption_Execute_Call) Run(run func(_a0 *service.Registry)) *RegistryOption_Execute_Call
- func (_c *RegistryOption_Execute_Call) RunAndReturn(run func(*service.Registry) error) *RegistryOption_Execute_Call
- type RegistryOption_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
Basic is an autogenerated mock type for the Basic type
func NewBasic ¶
NewBasic creates a new instance of Basic. 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 (*Basic) EXPECT ¶
func (_m *Basic) EXPECT() *Basic_Expecter
func (*Basic) WaitForHealthy ¶
WaitForHealthy provides a mock function with given fields: ctx
type Basic_Expecter ¶
type Basic_Expecter struct {
// contains filtered or unexported fields
}
func (*Basic_Expecter) Name ¶
func (_e *Basic_Expecter) Name() *Basic_Name_Call
Name is a helper method to define mock.On call
func (*Basic_Expecter) Start ¶
func (_e *Basic_Expecter) Start(ctx interface{}) *Basic_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
func (*Basic_Expecter) Status ¶
func (_e *Basic_Expecter) Status() *Basic_Status_Call
Status is a helper method to define mock.On call
func (*Basic_Expecter) WaitForHealthy ¶
func (_e *Basic_Expecter) WaitForHealthy(ctx interface{}) *Basic_WaitForHealthy_Call
WaitForHealthy is a helper method to define mock.On call
- ctx context.Context
type Basic_Name_Call ¶
Basic_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name'
func (*Basic_Name_Call) Return ¶
func (_c *Basic_Name_Call) Return(_a0 string) *Basic_Name_Call
func (*Basic_Name_Call) Run ¶
func (_c *Basic_Name_Call) Run(run func()) *Basic_Name_Call
func (*Basic_Name_Call) RunAndReturn ¶
func (_c *Basic_Name_Call) RunAndReturn(run func() string) *Basic_Name_Call
type Basic_Start_Call ¶
Basic_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Basic_Start_Call) Return ¶
func (_c *Basic_Start_Call) Return() *Basic_Start_Call
func (*Basic_Start_Call) Run ¶
func (_c *Basic_Start_Call) Run(run func(ctx context.Context)) *Basic_Start_Call
func (*Basic_Start_Call) RunAndReturn ¶
func (_c *Basic_Start_Call) RunAndReturn(run func(context.Context)) *Basic_Start_Call
type Basic_Status_Call ¶
Basic_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Basic_Status_Call) Return ¶
func (_c *Basic_Status_Call) Return(_a0 error) *Basic_Status_Call
func (*Basic_Status_Call) Run ¶
func (_c *Basic_Status_Call) Run(run func()) *Basic_Status_Call
func (*Basic_Status_Call) RunAndReturn ¶
func (_c *Basic_Status_Call) RunAndReturn(run func() error) *Basic_Status_Call
type Basic_WaitForHealthy_Call ¶
Basic_WaitForHealthy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitForHealthy'
func (*Basic_WaitForHealthy_Call) Return ¶
func (_c *Basic_WaitForHealthy_Call) Return() *Basic_WaitForHealthy_Call
func (*Basic_WaitForHealthy_Call) Run ¶
func (_c *Basic_WaitForHealthy_Call) Run(run func(ctx context.Context)) *Basic_WaitForHealthy_Call
func (*Basic_WaitForHealthy_Call) RunAndReturn ¶
func (_c *Basic_WaitForHealthy_Call) RunAndReturn(run func(context.Context)) *Basic_WaitForHealthy_Call
type BeaconStorageBackend ¶
BeaconStorageBackend is an autogenerated mock type for the BeaconStorageBackend type
func NewBeaconStorageBackend ¶
func NewBeaconStorageBackend(t interface { mock.TestingT Cleanup(func()) }) *BeaconStorageBackend
NewBeaconStorageBackend creates a new instance of BeaconStorageBackend. 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 (*BeaconStorageBackend) AvailabilityStore ¶
func (_m *BeaconStorageBackend) AvailabilityStore(ctx context.Context) core.AvailabilityStore
AvailabilityStore provides a mock function with given fields: ctx
func (*BeaconStorageBackend) BeaconState ¶
func (_m *BeaconStorageBackend) BeaconState(ctx context.Context) state.BeaconState
BeaconState provides a mock function with given fields: ctx
func (*BeaconStorageBackend) EXPECT ¶
func (_m *BeaconStorageBackend) EXPECT() *BeaconStorageBackend_Expecter
type BeaconStorageBackend_AvailabilityStore_Call ¶
BeaconStorageBackend_AvailabilityStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AvailabilityStore'
func (*BeaconStorageBackend_AvailabilityStore_Call) Return ¶
func (_c *BeaconStorageBackend_AvailabilityStore_Call) Return(_a0 core.AvailabilityStore) *BeaconStorageBackend_AvailabilityStore_Call
func (*BeaconStorageBackend_AvailabilityStore_Call) Run ¶
func (_c *BeaconStorageBackend_AvailabilityStore_Call) Run(run func(ctx context.Context)) *BeaconStorageBackend_AvailabilityStore_Call
func (*BeaconStorageBackend_AvailabilityStore_Call) RunAndReturn ¶
func (_c *BeaconStorageBackend_AvailabilityStore_Call) RunAndReturn(run func(context.Context) core.AvailabilityStore) *BeaconStorageBackend_AvailabilityStore_Call
type BeaconStorageBackend_BeaconState_Call ¶
BeaconStorageBackend_BeaconState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeaconState'
func (*BeaconStorageBackend_BeaconState_Call) Return ¶
func (_c *BeaconStorageBackend_BeaconState_Call) Return(_a0 state.BeaconState) *BeaconStorageBackend_BeaconState_Call
func (*BeaconStorageBackend_BeaconState_Call) Run ¶
func (_c *BeaconStorageBackend_BeaconState_Call) Run(run func(ctx context.Context)) *BeaconStorageBackend_BeaconState_Call
func (*BeaconStorageBackend_BeaconState_Call) RunAndReturn ¶
func (_c *BeaconStorageBackend_BeaconState_Call) RunAndReturn(run func(context.Context) state.BeaconState) *BeaconStorageBackend_BeaconState_Call
type BeaconStorageBackend_Expecter ¶
type BeaconStorageBackend_Expecter struct {
// contains filtered or unexported fields
}
func (*BeaconStorageBackend_Expecter) AvailabilityStore ¶
func (_e *BeaconStorageBackend_Expecter) AvailabilityStore(ctx interface{}) *BeaconStorageBackend_AvailabilityStore_Call
AvailabilityStore is a helper method to define mock.On call
- ctx context.Context
func (*BeaconStorageBackend_Expecter) BeaconState ¶
func (_e *BeaconStorageBackend_Expecter) BeaconState(ctx interface{}) *BeaconStorageBackend_BeaconState_Call
BeaconState is a helper method to define mock.On call
- ctx context.Context
type Option ¶
Option is an autogenerated mock type for the Option type
func NewOption ¶
NewOption creates a new instance of Option. 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 (*Option[T]) EXPECT ¶
func (_m *Option[T]) EXPECT() *Option_Expecter[T]
type Option_Execute_Call ¶
Option_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*Option_Execute_Call[T]) Return ¶
func (_c *Option_Execute_Call[T]) Return(_a0 error) *Option_Execute_Call[T]
func (*Option_Execute_Call[T]) Run ¶
func (_c *Option_Execute_Call[T]) Run(run func(_a0 *T)) *Option_Execute_Call[T]
func (*Option_Execute_Call[T]) RunAndReturn ¶
func (_c *Option_Execute_Call[T]) RunAndReturn(run func(*T) error) *Option_Execute_Call[T]
type Option_Expecter ¶
type Option_Expecter[T interface{}] struct {
// contains filtered or unexported fields
}
func (*Option_Expecter[T]) Execute ¶
func (_e *Option_Expecter[T]) Execute(_a0 interface{}) *Option_Execute_Call[T]
Execute is a helper method to define mock.On call
- _a0 *T
type RegistryOption ¶
RegistryOption is an autogenerated mock type for the RegistryOption type
func NewRegistryOption ¶
func NewRegistryOption(t interface { mock.TestingT Cleanup(func()) }) *RegistryOption
NewRegistryOption creates a new instance of RegistryOption. 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 (*RegistryOption) EXPECT ¶
func (_m *RegistryOption) EXPECT() *RegistryOption_Expecter
type RegistryOption_Execute_Call ¶
RegistryOption_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*RegistryOption_Execute_Call) Return ¶
func (_c *RegistryOption_Execute_Call) Return(_a0 error) *RegistryOption_Execute_Call
func (*RegistryOption_Execute_Call) Run ¶
func (_c *RegistryOption_Execute_Call) Run(run func(_a0 *service.Registry)) *RegistryOption_Execute_Call
func (*RegistryOption_Execute_Call) RunAndReturn ¶
func (_c *RegistryOption_Execute_Call) RunAndReturn(run func(*service.Registry) error) *RegistryOption_Execute_Call
type RegistryOption_Expecter ¶
type RegistryOption_Expecter struct {
// contains filtered or unexported fields
}
func (*RegistryOption_Expecter) Execute ¶
func (_e *RegistryOption_Expecter) Execute(_a0 interface{}) *RegistryOption_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *service.Registry