mocks

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AddLeaf

func (m *MockClient) AddLeaf(arg0 context.Context, arg1 *requests.Leaf) error

AddLeaf mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetConsistencyProof

func (m *MockClient) GetConsistencyProof(arg0 context.Context, arg1 *requests.ConsistencyProof) (*types.ConsistencyProof, error)

GetConsistencyProof mocks base method.

func (*MockClient) GetInclusionProof

func (m *MockClient) GetInclusionProof(arg0 context.Context, arg1 *requests.InclusionProof) (*types.InclusionProof, error)

GetInclusionProof mocks base method.

func (*MockClient) GetLeaves

func (m *MockClient) GetLeaves(arg0 context.Context, arg1 *requests.Leaves) (*types.Leaves, error)

GetLeaves mocks base method.

func (*MockClient) GetTreeHead

func (m *MockClient) GetTreeHead(arg0 context.Context) (*types.TreeHead, error)

GetTreeHead mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddLeaf

func (mr *MockClientMockRecorder) AddLeaf(arg0, arg1 interface{}) *gomock.Call

AddLeaf indicates an expected call of AddLeaf.

func (*MockClientMockRecorder) GetConsistencyProof

func (mr *MockClientMockRecorder) GetConsistencyProof(arg0, arg1 interface{}) *gomock.Call

GetConsistencyProof indicates an expected call of GetConsistencyProof.

func (*MockClientMockRecorder) GetInclusionProof

func (mr *MockClientMockRecorder) GetInclusionProof(arg0, arg1 interface{}) *gomock.Call

GetInclusionProof indicates an expected call of GetInclusionProof.

func (*MockClientMockRecorder) GetLeaves

func (mr *MockClientMockRecorder) GetLeaves(arg0, arg1 interface{}) *gomock.Call

GetLeaves indicates an expected call of GetLeaves.

func (*MockClientMockRecorder) GetTreeHead

func (mr *MockClientMockRecorder) GetTreeHead(arg0 interface{}) *gomock.Call

GetTreeHead indicates an expected call of GetTreeHead.

type MockTrillianLogClient

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

MockTrillianLogClient is a mock of TrillianLogClient interface.

func NewMockTrillianLogClient

func NewMockTrillianLogClient(ctrl *gomock.Controller) *MockTrillianLogClient

NewMockTrillianLogClient creates a new mock instance.

func (*MockTrillianLogClient) AddSequencedLeaf

AddSequencedLeaf mocks base method.

func (*MockTrillianLogClient) AddSequencedLeaves

AddSequencedLeaves mocks base method.

func (*MockTrillianLogClient) EXPECT

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

func (*MockTrillianLogClient) GetConsistencyProof

GetConsistencyProof mocks base method.

func (*MockTrillianLogClient) GetEntryAndProof

GetEntryAndProof mocks base method.

func (*MockTrillianLogClient) GetInclusionProof

GetInclusionProof mocks base method.

func (*MockTrillianLogClient) GetInclusionProofByHash

GetInclusionProofByHash mocks base method.

func (*MockTrillianLogClient) GetLatestSignedLogRoot

GetLatestSignedLogRoot mocks base method.

func (*MockTrillianLogClient) GetLeavesByHash

GetLeavesByHash mocks base method.

func (*MockTrillianLogClient) GetLeavesByIndex

GetLeavesByIndex mocks base method.

func (*MockTrillianLogClient) GetLeavesByRange

GetLeavesByRange mocks base method.

func (*MockTrillianLogClient) GetSequencedLeafCount

GetSequencedLeafCount mocks base method.

func (*MockTrillianLogClient) InitLog

InitLog mocks base method.

func (*MockTrillianLogClient) QueueLeaf

QueueLeaf mocks base method.

func (*MockTrillianLogClient) QueueLeaves

QueueLeaves mocks base method.

type MockTrillianLogClientMockRecorder

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

MockTrillianLogClientMockRecorder is the mock recorder for MockTrillianLogClient.

func (*MockTrillianLogClientMockRecorder) AddSequencedLeaf

func (mr *MockTrillianLogClientMockRecorder) AddSequencedLeaf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AddSequencedLeaf indicates an expected call of AddSequencedLeaf.

func (*MockTrillianLogClientMockRecorder) AddSequencedLeaves

func (mr *MockTrillianLogClientMockRecorder) AddSequencedLeaves(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

AddSequencedLeaves indicates an expected call of AddSequencedLeaves.

func (*MockTrillianLogClientMockRecorder) GetConsistencyProof

func (mr *MockTrillianLogClientMockRecorder) GetConsistencyProof(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetConsistencyProof indicates an expected call of GetConsistencyProof.

func (*MockTrillianLogClientMockRecorder) GetEntryAndProof

func (mr *MockTrillianLogClientMockRecorder) GetEntryAndProof(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetEntryAndProof indicates an expected call of GetEntryAndProof.

func (*MockTrillianLogClientMockRecorder) GetInclusionProof

func (mr *MockTrillianLogClientMockRecorder) GetInclusionProof(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetInclusionProof indicates an expected call of GetInclusionProof.

func (*MockTrillianLogClientMockRecorder) GetInclusionProofByHash

func (mr *MockTrillianLogClientMockRecorder) GetInclusionProofByHash(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetInclusionProofByHash indicates an expected call of GetInclusionProofByHash.

func (*MockTrillianLogClientMockRecorder) GetLatestSignedLogRoot

func (mr *MockTrillianLogClientMockRecorder) GetLatestSignedLogRoot(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLatestSignedLogRoot indicates an expected call of GetLatestSignedLogRoot.

func (*MockTrillianLogClientMockRecorder) GetLeavesByHash

func (mr *MockTrillianLogClientMockRecorder) GetLeavesByHash(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLeavesByHash indicates an expected call of GetLeavesByHash.

func (*MockTrillianLogClientMockRecorder) GetLeavesByIndex

func (mr *MockTrillianLogClientMockRecorder) GetLeavesByIndex(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLeavesByIndex indicates an expected call of GetLeavesByIndex.

func (*MockTrillianLogClientMockRecorder) GetLeavesByRange

func (mr *MockTrillianLogClientMockRecorder) GetLeavesByRange(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetLeavesByRange indicates an expected call of GetLeavesByRange.

func (*MockTrillianLogClientMockRecorder) GetSequencedLeafCount

func (mr *MockTrillianLogClientMockRecorder) GetSequencedLeafCount(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetSequencedLeafCount indicates an expected call of GetSequencedLeafCount.

func (*MockTrillianLogClientMockRecorder) InitLog

func (mr *MockTrillianLogClientMockRecorder) InitLog(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

InitLog indicates an expected call of InitLog.

func (*MockTrillianLogClientMockRecorder) QueueLeaf

func (mr *MockTrillianLogClientMockRecorder) QueueLeaf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

QueueLeaf indicates an expected call of QueueLeaf.

func (*MockTrillianLogClientMockRecorder) QueueLeaves

func (mr *MockTrillianLogClientMockRecorder) QueueLeaves(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

QueueLeaves indicates an expected call of QueueLeaves.

Jump to

Keyboard shortcuts

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