Documentation ¶
Overview ¶
Package validatorsmock is a generated GoMock package.
Index ¶
- type State
- func (m *State) EXPECT() *StateMockRecorder
- func (m *State) GetCurrentHeight(arg0 context.Context) (uint64, error)
- func (m *State) GetCurrentValidatorSet(arg0 context.Context, arg1 ids.ID) (map[ids.ID]*validators.GetCurrentValidatorOutput, uint64, error)
- func (m *State) GetMinimumHeight(arg0 context.Context) (uint64, error)
- func (m *State) GetSubnetID(arg0 context.Context, arg1 ids.ID) (ids.ID, error)
- func (m *State) GetValidatorSet(arg0 context.Context, arg1 uint64, arg2 ids.ID) (map[ids.NodeID]*validators.GetValidatorOutput, error)
- type StateMockRecorder
- func (mr *StateMockRecorder) GetCurrentHeight(arg0 any) *gomock.Call
- func (mr *StateMockRecorder) GetCurrentValidatorSet(arg0, arg1 any) *gomock.Call
- func (mr *StateMockRecorder) GetMinimumHeight(arg0 any) *gomock.Call
- func (mr *StateMockRecorder) GetSubnetID(arg0, arg1 any) *gomock.Call
- func (mr *StateMockRecorder) GetValidatorSet(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State is a mock of State interface.
func (*State) EXPECT ¶
func (m *State) EXPECT() *StateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*State) GetCurrentHeight ¶
GetCurrentHeight mocks base method.
func (*State) GetCurrentValidatorSet ¶
func (m *State) GetCurrentValidatorSet(arg0 context.Context, arg1 ids.ID) (map[ids.ID]*validators.GetCurrentValidatorOutput, uint64, error)
GetCurrentValidatorSet mocks base method.
func (*State) GetMinimumHeight ¶
GetMinimumHeight mocks base method.
func (*State) GetSubnetID ¶
GetSubnetID mocks base method.
func (*State) GetValidatorSet ¶
func (m *State) GetValidatorSet(arg0 context.Context, arg1 uint64, arg2 ids.ID) (map[ids.NodeID]*validators.GetValidatorOutput, error)
GetValidatorSet mocks base method.
type StateMockRecorder ¶
type StateMockRecorder struct {
// contains filtered or unexported fields
}
StateMockRecorder is the mock recorder for State.
func (*StateMockRecorder) GetCurrentHeight ¶
func (mr *StateMockRecorder) GetCurrentHeight(arg0 any) *gomock.Call
GetCurrentHeight indicates an expected call of GetCurrentHeight.
func (*StateMockRecorder) GetCurrentValidatorSet ¶
func (mr *StateMockRecorder) GetCurrentValidatorSet(arg0, arg1 any) *gomock.Call
GetCurrentValidatorSet indicates an expected call of GetCurrentValidatorSet.
func (*StateMockRecorder) GetMinimumHeight ¶
func (mr *StateMockRecorder) GetMinimumHeight(arg0 any) *gomock.Call
GetMinimumHeight indicates an expected call of GetMinimumHeight.
func (*StateMockRecorder) GetSubnetID ¶
func (mr *StateMockRecorder) GetSubnetID(arg0, arg1 any) *gomock.Call
GetSubnetID indicates an expected call of GetSubnetID.
func (*StateMockRecorder) GetValidatorSet ¶
func (mr *StateMockRecorder) GetValidatorSet(arg0, arg1, arg2 any) *gomock.Call
GetValidatorSet indicates an expected call of GetValidatorSet.