client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package client 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) AddCosignature

func (m *MockClient) AddCosignature(arg0 context.Context, arg1 requests.Cosignature) error

AddCosignature mocks base method.

func (*MockClient) AddLeaf

func (m *MockClient) AddLeaf(arg0 context.Context, arg1 requests.Leaf) (bool, 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) 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

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

GetLeaves mocks base method.

func (*MockClient) GetToCosignTreeHead

func (m *MockClient) GetToCosignTreeHead(arg0 context.Context) (types.SignedTreeHead, error)

GetToCosignTreeHead mocks base method.

func (*MockClient) GetUnsignedTreeHead

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

GetUnsignedTreeHead mocks base method.

func (*MockClient) Initiated

func (m *MockClient) Initiated() bool

Initiated 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.

Jump to

Keyboard shortcuts

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