Documentation
¶
Overview ¶
Package client is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddCosignature(arg0 context.Context, arg1 requests.Cosignature) error
- func (m *MockClient) AddLeaf(arg0 context.Context, arg1 requests.Leaf) (bool, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetConsistencyProof(arg0 context.Context, arg1 requests.ConsistencyProof) (types.ConsistencyProof, error)
- func (m *MockClient) GetCosignedTreeHead(arg0 context.Context) (types.CosignedTreeHead, error)
- func (m *MockClient) GetInclusionProof(arg0 context.Context, arg1 requests.InclusionProof) (types.InclusionProof, error)
- func (m *MockClient) GetLeaves(arg0 context.Context, arg1 requests.Leaves) (types.Leaves, error)
- func (m *MockClient) GetToCosignTreeHead(arg0 context.Context) (types.SignedTreeHead, error)
- func (m *MockClient) GetUnsignedTreeHead(arg0 context.Context) (types.TreeHead, error)
- func (m *MockClient) Initiated() bool
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddCosignature(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AddLeaf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetConsistencyProof(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCosignedTreeHead(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetInclusionProof(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetLeaves(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetToCosignTreeHead(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUnsignedTreeHead(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Initiated() *gomock.Call
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) AddCosignature ¶
func (m *MockClient) AddCosignature(arg0 context.Context, arg1 requests.Cosignature) error
AddCosignature mocks base method.
func (*MockClient) AddLeaf ¶
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) GetCosignedTreeHead ¶
func (m *MockClient) GetCosignedTreeHead(arg0 context.Context) (types.CosignedTreeHead, error)
GetCosignedTreeHead 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 ¶
GetLeaves mocks base method.
func (*MockClient) GetToCosignTreeHead ¶
func (m *MockClient) GetToCosignTreeHead(arg0 context.Context) (types.SignedTreeHead, error)
GetToCosignTreeHead mocks base method.
func (*MockClient) GetUnsignedTreeHead ¶
GetUnsignedTreeHead mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) AddCosignature ¶
func (mr *MockClientMockRecorder) AddCosignature(arg0, arg1 interface{}) *gomock.Call
AddCosignature indicates an expected call of AddCosignature.
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) GetCosignedTreeHead ¶
func (mr *MockClientMockRecorder) GetCosignedTreeHead(arg0 interface{}) *gomock.Call
GetCosignedTreeHead indicates an expected call of GetCosignedTreeHead.
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) GetToCosignTreeHead ¶
func (mr *MockClientMockRecorder) GetToCosignTreeHead(arg0 interface{}) *gomock.Call
GetToCosignTreeHead indicates an expected call of GetToCosignTreeHead.
func (*MockClientMockRecorder) GetUnsignedTreeHead ¶
func (mr *MockClientMockRecorder) GetUnsignedTreeHead(arg0 interface{}) *gomock.Call
GetUnsignedTreeHead indicates an expected call of GetUnsignedTreeHead.
func (*MockClientMockRecorder) Initiated ¶
func (mr *MockClientMockRecorder) Initiated() *gomock.Call
Initiated indicates an expected call of Initiated.