mockclient

package
v0.0.0-...-2560851 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mockclient provides a mockable version of the Trillian log client API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

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

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

GetSequencedLeafCount indicates an expected call of GetSequencedLeafCount

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