Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, in *diddoc.GetRequest, opts ...grpc.CallOption) (*diddoc.GetResponse, error)
- func (m *MockClient) GetMetadataHistory(ctx context.Context, in *diddoc.GetMetadataHistoryRequest, ...) (*diddoc.GetMetadataHistoryResponse, error)
- func (m *MockClient) GetPublicKey(ctx context.Context, in *account.GetPublicKeyRequest, opts ...grpc.CallOption) (*account.GetPublicKeyResponse, error)
- func (m *MockClient) Register(ctx context.Context, in *diddoc.RegisterRequest, opts ...grpc.CallOption) (*diddoc.RegisterResponse, error)
- func (m *MockClient) RegisterAccount(ctx context.Context, in *account.RegisterAccountRequest, ...) (*account.RegisterAccountResponse, error)
- func (m *MockClient) SaveMetadata(ctx context.Context, in *diddoc.SaveMetadataRequest, opts ...grpc.CallOption) (*diddoc.SaveMetadataResponse, error)
- func (m *MockClient) SaveVerificationMethods(ctx context.Context, in *diddoc.MsgSaveVerificationMethods, ...) (*diddoc.SaveVerificationMethodsResponse, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetMetadataHistory(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPublicKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Register(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RegisterAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SaveMetadata(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SaveVerificationMethods(ctx, in interface{}, opts ...interface{}) *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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Get ¶
func (m *MockClient) Get(ctx context.Context, in *diddoc.GetRequest, opts ...grpc.CallOption) (*diddoc.GetResponse, error)
Get mocks base method.
func (*MockClient) GetMetadataHistory ¶
func (m *MockClient) GetMetadataHistory(ctx context.Context, in *diddoc.GetMetadataHistoryRequest, opts ...grpc.CallOption) (*diddoc.GetMetadataHistoryResponse, error)
GetMetadataHistory mocks base method.
func (*MockClient) GetPublicKey ¶
func (m *MockClient) GetPublicKey(ctx context.Context, in *account.GetPublicKeyRequest, opts ...grpc.CallOption) (*account.GetPublicKeyResponse, error)
GetPublicKey mocks base method.
func (*MockClient) Register ¶
func (m *MockClient) Register(ctx context.Context, in *diddoc.RegisterRequest, opts ...grpc.CallOption) (*diddoc.RegisterResponse, error)
Register mocks base method.
func (*MockClient) RegisterAccount ¶
func (m *MockClient) RegisterAccount(ctx context.Context, in *account.RegisterAccountRequest, opts ...grpc.CallOption) (*account.RegisterAccountResponse, error)
RegisterAccount mocks base method.
func (*MockClient) SaveMetadata ¶
func (m *MockClient) SaveMetadata(ctx context.Context, in *diddoc.SaveMetadataRequest, opts ...grpc.CallOption) (*diddoc.SaveMetadataResponse, error)
SaveMetadata mocks base method.
func (*MockClient) SaveVerificationMethods ¶
func (m *MockClient) SaveVerificationMethods(ctx context.Context, in *diddoc.MsgSaveVerificationMethods, opts ...grpc.CallOption) (*diddoc.SaveVerificationMethodsResponse, error)
SaveVerificationMethods mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientMockRecorder) GetMetadataHistory ¶
func (mr *MockClientMockRecorder) GetMetadataHistory(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetMetadataHistory indicates an expected call of GetMetadataHistory.
func (*MockClientMockRecorder) GetPublicKey ¶
func (mr *MockClientMockRecorder) GetPublicKey(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetPublicKey indicates an expected call of GetPublicKey.
func (*MockClientMockRecorder) Register ¶
func (mr *MockClientMockRecorder) Register(ctx, in interface{}, opts ...interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockClientMockRecorder) RegisterAccount ¶
func (mr *MockClientMockRecorder) RegisterAccount(ctx, in interface{}, opts ...interface{}) *gomock.Call
RegisterAccount indicates an expected call of RegisterAccount.
func (*MockClientMockRecorder) SaveMetadata ¶
func (mr *MockClientMockRecorder) SaveMetadata(ctx, in interface{}, opts ...interface{}) *gomock.Call
SaveMetadata indicates an expected call of SaveMetadata.
func (*MockClientMockRecorder) SaveVerificationMethods ¶
func (mr *MockClientMockRecorder) SaveVerificationMethods(ctx, in interface{}, opts ...interface{}) *gomock.Call
SaveVerificationMethods indicates an expected call of SaveVerificationMethods.