Documentation ¶
Overview ¶
Package tmock is a generated GoMock package.
Package tmock is a generated GoMock package.
Index ¶
- type MockTrillianAdminServer
- func (m *MockTrillianAdminServer) CreateTree(arg0 context.Context, arg1 *trillian.CreateTreeRequest) (*trillian.Tree, error)
- func (m *MockTrillianAdminServer) DeleteTree(arg0 context.Context, arg1 *trillian.DeleteTreeRequest) (*trillian.Tree, error)
- func (m *MockTrillianAdminServer) EXPECT() *MockTrillianAdminServerMockRecorder
- func (m *MockTrillianAdminServer) GetTree(arg0 context.Context, arg1 *trillian.GetTreeRequest) (*trillian.Tree, error)
- func (m *MockTrillianAdminServer) ListTrees(arg0 context.Context, arg1 *trillian.ListTreesRequest) (*trillian.ListTreesResponse, error)
- func (m *MockTrillianAdminServer) UndeleteTree(arg0 context.Context, arg1 *trillian.UndeleteTreeRequest) (*trillian.Tree, error)
- func (m *MockTrillianAdminServer) UpdateTree(arg0 context.Context, arg1 *trillian.UpdateTreeRequest) (*trillian.Tree, error)
- type MockTrillianAdminServerMockRecorder
- func (mr *MockTrillianAdminServerMockRecorder) CreateTree(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianAdminServerMockRecorder) DeleteTree(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianAdminServerMockRecorder) GetTree(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianAdminServerMockRecorder) ListTrees(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianAdminServerMockRecorder) UndeleteTree(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianAdminServerMockRecorder) UpdateTree(arg0, arg1 interface{}) *gomock.Call
- type MockTrillianLogServer
- func (m *MockTrillianLogServer) AddSequencedLeaves(arg0 context.Context, arg1 *trillian.AddSequencedLeavesRequest) (*trillian.AddSequencedLeavesResponse, error)
- func (m *MockTrillianLogServer) EXPECT() *MockTrillianLogServerMockRecorder
- func (m *MockTrillianLogServer) GetConsistencyProof(arg0 context.Context, arg1 *trillian.GetConsistencyProofRequest) (*trillian.GetConsistencyProofResponse, error)
- func (m *MockTrillianLogServer) GetEntryAndProof(arg0 context.Context, arg1 *trillian.GetEntryAndProofRequest) (*trillian.GetEntryAndProofResponse, error)
- func (m *MockTrillianLogServer) GetInclusionProof(arg0 context.Context, arg1 *trillian.GetInclusionProofRequest) (*trillian.GetInclusionProofResponse, error)
- func (m *MockTrillianLogServer) GetInclusionProofByHash(arg0 context.Context, arg1 *trillian.GetInclusionProofByHashRequest) (*trillian.GetInclusionProofByHashResponse, error)
- func (m *MockTrillianLogServer) GetLatestSignedLogRoot(arg0 context.Context, arg1 *trillian.GetLatestSignedLogRootRequest) (*trillian.GetLatestSignedLogRootResponse, error)
- func (m *MockTrillianLogServer) GetLeavesByRange(arg0 context.Context, arg1 *trillian.GetLeavesByRangeRequest) (*trillian.GetLeavesByRangeResponse, error)
- func (m *MockTrillianLogServer) InitLog(arg0 context.Context, arg1 *trillian.InitLogRequest) (*trillian.InitLogResponse, error)
- func (m *MockTrillianLogServer) QueueLeaf(arg0 context.Context, arg1 *trillian.QueueLeafRequest) (*trillian.QueueLeafResponse, error)
- type MockTrillianLogServerMockRecorder
- func (mr *MockTrillianLogServerMockRecorder) AddSequencedLeaves(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) GetConsistencyProof(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) GetEntryAndProof(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) GetInclusionProof(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) GetInclusionProofByHash(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) GetLatestSignedLogRoot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) GetLeavesByRange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) InitLog(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrillianLogServerMockRecorder) QueueLeaf(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrillianAdminServer ¶
type MockTrillianAdminServer struct {
// contains filtered or unexported fields
}
MockTrillianAdminServer is a mock of TrillianAdminServer interface.
func NewMockTrillianAdminServer ¶
func NewMockTrillianAdminServer(ctrl *gomock.Controller) *MockTrillianAdminServer
NewMockTrillianAdminServer creates a new mock instance.
func (*MockTrillianAdminServer) CreateTree ¶
func (m *MockTrillianAdminServer) CreateTree(arg0 context.Context, arg1 *trillian.CreateTreeRequest) (*trillian.Tree, error)
CreateTree mocks base method.
func (*MockTrillianAdminServer) DeleteTree ¶
func (m *MockTrillianAdminServer) DeleteTree(arg0 context.Context, arg1 *trillian.DeleteTreeRequest) (*trillian.Tree, error)
DeleteTree mocks base method.
func (*MockTrillianAdminServer) EXPECT ¶
func (m *MockTrillianAdminServer) EXPECT() *MockTrillianAdminServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrillianAdminServer) GetTree ¶
func (m *MockTrillianAdminServer) GetTree(arg0 context.Context, arg1 *trillian.GetTreeRequest) (*trillian.Tree, error)
GetTree mocks base method.
func (*MockTrillianAdminServer) ListTrees ¶
func (m *MockTrillianAdminServer) ListTrees(arg0 context.Context, arg1 *trillian.ListTreesRequest) (*trillian.ListTreesResponse, error)
ListTrees mocks base method.
func (*MockTrillianAdminServer) UndeleteTree ¶
func (m *MockTrillianAdminServer) UndeleteTree(arg0 context.Context, arg1 *trillian.UndeleteTreeRequest) (*trillian.Tree, error)
UndeleteTree mocks base method.
func (*MockTrillianAdminServer) UpdateTree ¶
func (m *MockTrillianAdminServer) UpdateTree(arg0 context.Context, arg1 *trillian.UpdateTreeRequest) (*trillian.Tree, error)
UpdateTree mocks base method.
type MockTrillianAdminServerMockRecorder ¶
type MockTrillianAdminServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTrillianAdminServerMockRecorder is the mock recorder for MockTrillianAdminServer.
func (*MockTrillianAdminServerMockRecorder) CreateTree ¶
func (mr *MockTrillianAdminServerMockRecorder) CreateTree(arg0, arg1 interface{}) *gomock.Call
CreateTree indicates an expected call of CreateTree.
func (*MockTrillianAdminServerMockRecorder) DeleteTree ¶
func (mr *MockTrillianAdminServerMockRecorder) DeleteTree(arg0, arg1 interface{}) *gomock.Call
DeleteTree indicates an expected call of DeleteTree.
func (*MockTrillianAdminServerMockRecorder) GetTree ¶
func (mr *MockTrillianAdminServerMockRecorder) GetTree(arg0, arg1 interface{}) *gomock.Call
GetTree indicates an expected call of GetTree.
func (*MockTrillianAdminServerMockRecorder) ListTrees ¶
func (mr *MockTrillianAdminServerMockRecorder) ListTrees(arg0, arg1 interface{}) *gomock.Call
ListTrees indicates an expected call of ListTrees.
func (*MockTrillianAdminServerMockRecorder) UndeleteTree ¶
func (mr *MockTrillianAdminServerMockRecorder) UndeleteTree(arg0, arg1 interface{}) *gomock.Call
UndeleteTree indicates an expected call of UndeleteTree.
func (*MockTrillianAdminServerMockRecorder) UpdateTree ¶
func (mr *MockTrillianAdminServerMockRecorder) UpdateTree(arg0, arg1 interface{}) *gomock.Call
UpdateTree indicates an expected call of UpdateTree.
type MockTrillianLogServer ¶
type MockTrillianLogServer struct {
// contains filtered or unexported fields
}
MockTrillianLogServer is a mock of TrillianLogServer interface.
func NewMockTrillianLogServer ¶
func NewMockTrillianLogServer(ctrl *gomock.Controller) *MockTrillianLogServer
NewMockTrillianLogServer creates a new mock instance.
func (*MockTrillianLogServer) AddSequencedLeaves ¶
func (m *MockTrillianLogServer) AddSequencedLeaves(arg0 context.Context, arg1 *trillian.AddSequencedLeavesRequest) (*trillian.AddSequencedLeavesResponse, error)
AddSequencedLeaves mocks base method.
func (*MockTrillianLogServer) EXPECT ¶
func (m *MockTrillianLogServer) EXPECT() *MockTrillianLogServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrillianLogServer) GetConsistencyProof ¶
func (m *MockTrillianLogServer) GetConsistencyProof(arg0 context.Context, arg1 *trillian.GetConsistencyProofRequest) (*trillian.GetConsistencyProofResponse, error)
GetConsistencyProof mocks base method.
func (*MockTrillianLogServer) GetEntryAndProof ¶
func (m *MockTrillianLogServer) GetEntryAndProof(arg0 context.Context, arg1 *trillian.GetEntryAndProofRequest) (*trillian.GetEntryAndProofResponse, error)
GetEntryAndProof mocks base method.
func (*MockTrillianLogServer) GetInclusionProof ¶
func (m *MockTrillianLogServer) GetInclusionProof(arg0 context.Context, arg1 *trillian.GetInclusionProofRequest) (*trillian.GetInclusionProofResponse, error)
GetInclusionProof mocks base method.
func (*MockTrillianLogServer) GetInclusionProofByHash ¶
func (m *MockTrillianLogServer) GetInclusionProofByHash(arg0 context.Context, arg1 *trillian.GetInclusionProofByHashRequest) (*trillian.GetInclusionProofByHashResponse, error)
GetInclusionProofByHash mocks base method.
func (*MockTrillianLogServer) GetLatestSignedLogRoot ¶
func (m *MockTrillianLogServer) GetLatestSignedLogRoot(arg0 context.Context, arg1 *trillian.GetLatestSignedLogRootRequest) (*trillian.GetLatestSignedLogRootResponse, error)
GetLatestSignedLogRoot mocks base method.
func (*MockTrillianLogServer) GetLeavesByRange ¶
func (m *MockTrillianLogServer) GetLeavesByRange(arg0 context.Context, arg1 *trillian.GetLeavesByRangeRequest) (*trillian.GetLeavesByRangeResponse, error)
GetLeavesByRange mocks base method.
func (*MockTrillianLogServer) InitLog ¶
func (m *MockTrillianLogServer) InitLog(arg0 context.Context, arg1 *trillian.InitLogRequest) (*trillian.InitLogResponse, error)
InitLog mocks base method.
func (*MockTrillianLogServer) QueueLeaf ¶
func (m *MockTrillianLogServer) QueueLeaf(arg0 context.Context, arg1 *trillian.QueueLeafRequest) (*trillian.QueueLeafResponse, error)
QueueLeaf mocks base method.
type MockTrillianLogServerMockRecorder ¶
type MockTrillianLogServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTrillianLogServerMockRecorder is the mock recorder for MockTrillianLogServer.
func (*MockTrillianLogServerMockRecorder) AddSequencedLeaves ¶
func (mr *MockTrillianLogServerMockRecorder) AddSequencedLeaves(arg0, arg1 interface{}) *gomock.Call
AddSequencedLeaves indicates an expected call of AddSequencedLeaves.
func (*MockTrillianLogServerMockRecorder) GetConsistencyProof ¶
func (mr *MockTrillianLogServerMockRecorder) GetConsistencyProof(arg0, arg1 interface{}) *gomock.Call
GetConsistencyProof indicates an expected call of GetConsistencyProof.
func (*MockTrillianLogServerMockRecorder) GetEntryAndProof ¶
func (mr *MockTrillianLogServerMockRecorder) GetEntryAndProof(arg0, arg1 interface{}) *gomock.Call
GetEntryAndProof indicates an expected call of GetEntryAndProof.
func (*MockTrillianLogServerMockRecorder) GetInclusionProof ¶
func (mr *MockTrillianLogServerMockRecorder) GetInclusionProof(arg0, arg1 interface{}) *gomock.Call
GetInclusionProof indicates an expected call of GetInclusionProof.
func (*MockTrillianLogServerMockRecorder) GetInclusionProofByHash ¶
func (mr *MockTrillianLogServerMockRecorder) GetInclusionProofByHash(arg0, arg1 interface{}) *gomock.Call
GetInclusionProofByHash indicates an expected call of GetInclusionProofByHash.
func (*MockTrillianLogServerMockRecorder) GetLatestSignedLogRoot ¶
func (mr *MockTrillianLogServerMockRecorder) GetLatestSignedLogRoot(arg0, arg1 interface{}) *gomock.Call
GetLatestSignedLogRoot indicates an expected call of GetLatestSignedLogRoot.
func (*MockTrillianLogServerMockRecorder) GetLeavesByRange ¶
func (mr *MockTrillianLogServerMockRecorder) GetLeavesByRange(arg0, arg1 interface{}) *gomock.Call
GetLeavesByRange indicates an expected call of GetLeavesByRange.
func (*MockTrillianLogServerMockRecorder) InitLog ¶
func (mr *MockTrillianLogServerMockRecorder) InitLog(arg0, arg1 interface{}) *gomock.Call
InitLog indicates an expected call of InitLog.
func (*MockTrillianLogServerMockRecorder) QueueLeaf ¶
func (mr *MockTrillianLogServerMockRecorder) QueueLeaf(arg0, arg1 interface{}) *gomock.Call
QueueLeaf indicates an expected call of QueueLeaf.