validatorsmock

package
v1.11.12-ubuntu-noble.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package validatorsmock is a generated GoMock package.

Package validatorsmock is a generated GoMock package.

Index

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 NewState

func NewState(ctrl *gomock.Controller) *State

NewState creates a new mock instance.

func (*State) EXPECT

func (m *State) EXPECT() *StateMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*State) GetCurrentHeight

func (m *State) GetCurrentHeight(arg0 context.Context) (uint64, error)

GetCurrentHeight mocks base method.

func (*State) GetMinimumHeight

func (m *State) GetMinimumHeight(arg0 context.Context) (uint64, error)

GetMinimumHeight mocks base method.

func (*State) GetSubnetID

func (m *State) GetSubnetID(arg0 context.Context, arg1 ids.ID) (ids.ID, error)

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) 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.

type SubnetConnector

type SubnetConnector struct {
	// contains filtered or unexported fields
}

SubnetConnector is a mock of SubnetConnector interface.

func NewSubnetConnector

func NewSubnetConnector(ctrl *gomock.Controller) *SubnetConnector

NewSubnetConnector creates a new mock instance.

func (*SubnetConnector) ConnectedSubnet

func (m *SubnetConnector) ConnectedSubnet(arg0 context.Context, arg1 ids.NodeID, arg2 ids.ID) error

ConnectedSubnet mocks base method.

func (*SubnetConnector) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type SubnetConnectorMockRecorder

type SubnetConnectorMockRecorder struct {
	// contains filtered or unexported fields
}

SubnetConnectorMockRecorder is the mock recorder for SubnetConnector.

func (*SubnetConnectorMockRecorder) ConnectedSubnet

func (mr *SubnetConnectorMockRecorder) ConnectedSubnet(arg0, arg1, arg2 any) *gomock.Call

ConnectedSubnet indicates an expected call of ConnectedSubnet.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL