Documentation
¶
Overview ¶
Package validators is a generated GoMock package.
Index ¶
- type MockState
- func (m *MockState) EXPECT() *MockStateMockRecorder
- func (m *MockState) GetCurrentHeight(ctx context.Context) (uint64, error)
- func (m *MockState) GetMinimumHeight(ctx context.Context) (uint64, error)
- func (m *MockState) GetSubnetID(ctx context.Context, chainID interfaces.ID) (interfaces.ID, error)
- func (m *MockState) GetValidatorSet(ctx context.Context, height uint64, subnetID interfaces.ID) (map[interfaces.NodeID]*interfaces.GetValidatorOutput, error)
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) GetCurrentHeight(ctx interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) GetMinimumHeight(ctx interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) GetSubnetID(ctx, chainID interface{}) *gomock.Call
- func (mr *MockStateMockRecorder) GetValidatorSet(ctx, height, subnetID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface.
func NewState ¶
func NewState(ctrl *gomock.Controller) *MockState
NewState creates a new mock instance.
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockState) GetCurrentHeight ¶
GetCurrentHeight mocks base method.
func (*MockState) GetMinimumHeight ¶
GetMinimumHeight mocks base method.
func (*MockState) GetSubnetID ¶
GetSubnetID mocks base method.
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState.
func (*MockStateMockRecorder) GetCurrentHeight ¶
func (mr *MockStateMockRecorder) GetCurrentHeight(ctx interface{}) *gomock.Call
GetCurrentHeight indicates an expected call of GetCurrentHeight.
func (*MockStateMockRecorder) GetMinimumHeight ¶
func (mr *MockStateMockRecorder) GetMinimumHeight(ctx interface{}) *gomock.Call
GetMinimumHeight indicates an expected call of GetMinimumHeight.
func (*MockStateMockRecorder) GetSubnetID ¶
func (mr *MockStateMockRecorder) GetSubnetID(ctx, chainID interface{}) *gomock.Call
GetSubnetID indicates an expected call of GetSubnetID.
func (*MockStateMockRecorder) GetValidatorSet ¶
func (mr *MockStateMockRecorder) GetValidatorSet(ctx, height, subnetID interface{}) *gomock.Call
GetValidatorSet indicates an expected call of GetValidatorSet.
Click to show internal directories.
Click to hide internal directories.