Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockpostStatesGetter
- type MockpostStatesGetterGetCall
- func (c *MockpostStatesGetterGetCall) Do(f func() map[types.NodeID]types.PostState) *MockpostStatesGetterGetCall
- func (c *MockpostStatesGetterGetCall) DoAndReturn(f func() map[types.NodeID]types.PostState) *MockpostStatesGetterGetCall
- func (c *MockpostStatesGetterGetCall) Return(arg0 map[types.NodeID]types.PostState) *MockpostStatesGetterGetCall
- type MockpostStatesGetterMockRecorder
- type Mocksubscription
- type MocksubscriptionCloseCall
- type MocksubscriptionFullCall
- type MocksubscriptionMockRecorder
- type MocksubscriptionOutCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockpostStatesGetter ¶
type MockpostStatesGetter struct {
// contains filtered or unexported fields
}
MockpostStatesGetter is a mock of postStatesGetter interface.
func NewMockpostStatesGetter ¶
func NewMockpostStatesGetter(ctrl *gomock.Controller) *MockpostStatesGetter
NewMockpostStatesGetter creates a new mock instance.
func (*MockpostStatesGetter) EXPECT ¶
func (m *MockpostStatesGetter) EXPECT() *MockpostStatesGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockpostStatesGetterGetCall ¶
MockpostStatesGetterGetCall wrap *gomock.Call
func (*MockpostStatesGetterGetCall) Do ¶
func (c *MockpostStatesGetterGetCall) Do(f func() map[types.NodeID]types.PostState) *MockpostStatesGetterGetCall
Do rewrite *gomock.Call.Do
func (*MockpostStatesGetterGetCall) DoAndReturn ¶
func (c *MockpostStatesGetterGetCall) DoAndReturn(f func() map[types.NodeID]types.PostState) *MockpostStatesGetterGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockpostStatesGetterGetCall) Return ¶
func (c *MockpostStatesGetterGetCall) Return(arg0 map[types.NodeID]types.PostState) *MockpostStatesGetterGetCall
Return rewrite *gomock.Call.Return
type MockpostStatesGetterMockRecorder ¶
type MockpostStatesGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockpostStatesGetterMockRecorder is the mock recorder for MockpostStatesGetter.
func (*MockpostStatesGetterMockRecorder) Get ¶
func (mr *MockpostStatesGetterMockRecorder) Get() *MockpostStatesGetterGetCall
Get indicates an expected call of Get.
type Mocksubscription ¶
type Mocksubscription[T any] struct { // contains filtered or unexported fields }
Mocksubscription is a mock of subscription interface.
func NewMocksubscription ¶
func NewMocksubscription[T any](ctrl *gomock.Controller) *Mocksubscription[T]
NewMocksubscription creates a new mock instance.
func (*Mocksubscription[T]) EXPECT ¶
func (m *Mocksubscription[T]) EXPECT() *MocksubscriptionMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mocksubscription[T]) Full ¶
func (m *Mocksubscription[T]) Full() <-chan struct{}
Full mocks base method.
func (*Mocksubscription[T]) Out ¶
func (m *Mocksubscription[T]) Out() <-chan T
Out mocks base method.
type MocksubscriptionCloseCall ¶
MocksubscriptionCloseCall wrap *gomock.Call
func (*MocksubscriptionCloseCall[T]) Do ¶
func (c *MocksubscriptionCloseCall[T]) Do(f func()) *MocksubscriptionCloseCall[T]
Do rewrite *gomock.Call.Do
func (*MocksubscriptionCloseCall[T]) DoAndReturn ¶
func (c *MocksubscriptionCloseCall[T]) DoAndReturn(f func()) *MocksubscriptionCloseCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MocksubscriptionCloseCall[T]) Return ¶
func (c *MocksubscriptionCloseCall[T]) Return() *MocksubscriptionCloseCall[T]
Return rewrite *gomock.Call.Return
type MocksubscriptionFullCall ¶
MocksubscriptionFullCall wrap *gomock.Call
func (*MocksubscriptionFullCall[T]) Do ¶
func (c *MocksubscriptionFullCall[T]) Do(f func() <-chan struct{}) *MocksubscriptionFullCall[T]
Do rewrite *gomock.Call.Do
func (*MocksubscriptionFullCall[T]) DoAndReturn ¶
func (c *MocksubscriptionFullCall[T]) DoAndReturn(f func() <-chan struct{}) *MocksubscriptionFullCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MocksubscriptionFullCall[T]) Return ¶
func (c *MocksubscriptionFullCall[T]) Return(arg0 <-chan struct{}) *MocksubscriptionFullCall[T]
Return rewrite *gomock.Call.Return
type MocksubscriptionMockRecorder ¶
type MocksubscriptionMockRecorder[T any] struct { // contains filtered or unexported fields }
MocksubscriptionMockRecorder is the mock recorder for Mocksubscription.
func (*MocksubscriptionMockRecorder[T]) Close ¶
func (mr *MocksubscriptionMockRecorder[T]) Close() *MocksubscriptionCloseCall[T]
Close indicates an expected call of Close.
func (*MocksubscriptionMockRecorder[T]) Full ¶
func (mr *MocksubscriptionMockRecorder[T]) Full() *MocksubscriptionFullCall[T]
Full indicates an expected call of Full.
func (*MocksubscriptionMockRecorder[T]) Out ¶
func (mr *MocksubscriptionMockRecorder[T]) Out() *MocksubscriptionOutCall[T]
Out indicates an expected call of Out.
type MocksubscriptionOutCall ¶
MocksubscriptionOutCall wrap *gomock.Call
func (*MocksubscriptionOutCall[T]) Do ¶
func (c *MocksubscriptionOutCall[T]) Do(f func() <-chan T) *MocksubscriptionOutCall[T]
Do rewrite *gomock.Call.Do
func (*MocksubscriptionOutCall[T]) DoAndReturn ¶
func (c *MocksubscriptionOutCall[T]) DoAndReturn(f func() <-chan T) *MocksubscriptionOutCall[T]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MocksubscriptionOutCall[T]) Return ¶
func (c *MocksubscriptionOutCall[T]) Return(arg0 <-chan T) *MocksubscriptionOutCall[T]
Return rewrite *gomock.Call.Return