mocks

package
v0.77.5 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommander

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

MockCommander is a mock of Commander interface.

func NewMockCommander

func NewMockCommander(ctrl *gomock.Controller) *MockCommander

NewMockCommander creates a new mock instance.

func (*MockCommander) Command

func (m *MockCommander) Command(arg0 context.Context, arg1 txn.Command, arg2 protoiface.MessageV1, arg3 func(string, error), arg4 *backoff.ExponentialBackOff)

Command mocks base method.

func (*MockCommander) CommandSync

func (m *MockCommander) CommandSync(arg0 context.Context, arg1 txn.Command, arg2 protoiface.MessageV1, arg3 func(string, error), arg4 *backoff.ExponentialBackOff)

CommandSync mocks base method.

func (*MockCommander) EXPECT

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

type MockCommanderMockRecorder

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

MockCommanderMockRecorder is the mock recorder for MockCommander.

func (*MockCommanderMockRecorder) Command

func (mr *MockCommanderMockRecorder) Command(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Command indicates an expected call of Command.

func (*MockCommanderMockRecorder) CommandSync

func (mr *MockCommanderMockRecorder) CommandSync(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

CommandSync indicates an expected call of CommandSync.

type MockTimeService

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

MockTimeService is a mock of TimeService interface.

func NewMockTimeService

func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService

NewMockTimeService creates a new mock instance.

func (*MockTimeService) EXPECT

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

func (*MockTimeService) GetTimeNow

func (m *MockTimeService) GetTimeNow() time.Time

GetTimeNow mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) GetTimeNow

func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call

GetTimeNow indicates an expected call of GetTimeNow.

type MockValidatorTopology

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

MockValidatorTopology is a mock of ValidatorTopology interface.

func NewMockValidatorTopology

func NewMockValidatorTopology(ctrl *gomock.Controller) *MockValidatorTopology

NewMockValidatorTopology creates a new mock instance.

func (*MockValidatorTopology) AllNodeIDs

func (m *MockValidatorTopology) AllNodeIDs() []string

AllNodeIDs mocks base method.

func (*MockValidatorTopology) EXPECT

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

func (*MockValidatorTopology) SelfNodeID

func (m *MockValidatorTopology) SelfNodeID() string

SelfNodeID mocks base method.

type MockValidatorTopologyMockRecorder

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

MockValidatorTopologyMockRecorder is the mock recorder for MockValidatorTopology.

func (*MockValidatorTopologyMockRecorder) AllNodeIDs

func (mr *MockValidatorTopologyMockRecorder) AllNodeIDs() *gomock.Call

AllNodeIDs indicates an expected call of AllNodeIDs.

func (*MockValidatorTopologyMockRecorder) SelfNodeID

func (mr *MockValidatorTopologyMockRecorder) SelfNodeID() *gomock.Call

SelfNodeID indicates an expected call of SelfNodeID.

type MockWitness added in v0.77.0

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

MockWitness is a mock of Witness interface.

func NewMockWitness added in v0.77.0

func NewMockWitness(ctrl *gomock.Controller) *MockWitness

NewMockWitness creates a new mock instance.

func (*MockWitness) EXPECT added in v0.77.0

func (m *MockWitness) EXPECT() *MockWitnessMockRecorder

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

func (*MockWitness) RestoreResource added in v0.77.0

func (m *MockWitness) RestoreResource(arg0 validators.Resource, arg1 func(interface{}, bool)) error

RestoreResource mocks base method.

func (*MockWitness) StartCheckWithDelay added in v0.77.0

func (m *MockWitness) StartCheckWithDelay(arg0 validators.Resource, arg1 func(interface{}, bool), arg2 time.Time, arg3 int64) error

StartCheckWithDelay mocks base method.

type MockWitnessMockRecorder added in v0.77.0

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

MockWitnessMockRecorder is the mock recorder for MockWitness.

func (*MockWitnessMockRecorder) RestoreResource added in v0.77.0

func (mr *MockWitnessMockRecorder) RestoreResource(arg0, arg1 interface{}) *gomock.Call

RestoreResource indicates an expected call of RestoreResource.

func (*MockWitnessMockRecorder) StartCheckWithDelay added in v0.77.0

func (mr *MockWitnessMockRecorder) StartCheckWithDelay(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

StartCheckWithDelay indicates an expected call of StartCheckWithDelay.

Jump to

Keyboard shortcuts

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