mocks

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) GetCredential

func (m *MockStore) GetCredential(arg0 string) (*verifiable.Credential, error)

GetCredential mocks base method.

func (*MockStore) GetCredentialIDByName

func (m *MockStore) GetCredentialIDByName(arg0 string) (string, error)

GetCredentialIDByName mocks base method.

func (*MockStore) GetCredentials

func (m *MockStore) GetCredentials() ([]*verifiable0.Record, error)

GetCredentials mocks base method.

func (*MockStore) GetPresentation

func (m *MockStore) GetPresentation(arg0 string) (*verifiable.Presentation, error)

GetPresentation mocks base method.

func (*MockStore) GetPresentationIDByName

func (m *MockStore) GetPresentationIDByName(arg0 string) (string, error)

GetPresentationIDByName mocks base method.

func (*MockStore) GetPresentations

func (m *MockStore) GetPresentations() ([]*verifiable0.Record, error)

GetPresentations mocks base method.

func (*MockStore) RemoveCredentialByName

func (m *MockStore) RemoveCredentialByName(arg0 string) error

RemoveCredentialByName mocks base method.

func (*MockStore) RemovePresentationByName

func (m *MockStore) RemovePresentationByName(arg0 string) error

RemovePresentationByName mocks base method.

func (*MockStore) SaveCredential

func (m *MockStore) SaveCredential(arg0 string, arg1 *verifiable.Credential, arg2 ...verifiable0.Opt) error

SaveCredential mocks base method.

func (*MockStore) SavePresentation

func (m *MockStore) SavePresentation(arg0 string, arg1 *verifiable.Presentation, arg2 ...verifiable0.Opt) error

SavePresentation mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) GetCredential

func (mr *MockStoreMockRecorder) GetCredential(arg0 interface{}) *gomock.Call

GetCredential indicates an expected call of GetCredential.

func (*MockStoreMockRecorder) GetCredentialIDByName

func (mr *MockStoreMockRecorder) GetCredentialIDByName(arg0 interface{}) *gomock.Call

GetCredentialIDByName indicates an expected call of GetCredentialIDByName.

func (*MockStoreMockRecorder) GetCredentials

func (mr *MockStoreMockRecorder) GetCredentials() *gomock.Call

GetCredentials indicates an expected call of GetCredentials.

func (*MockStoreMockRecorder) GetPresentation

func (mr *MockStoreMockRecorder) GetPresentation(arg0 interface{}) *gomock.Call

GetPresentation indicates an expected call of GetPresentation.

func (*MockStoreMockRecorder) GetPresentationIDByName

func (mr *MockStoreMockRecorder) GetPresentationIDByName(arg0 interface{}) *gomock.Call

GetPresentationIDByName indicates an expected call of GetPresentationIDByName.

func (*MockStoreMockRecorder) GetPresentations

func (mr *MockStoreMockRecorder) GetPresentations() *gomock.Call

GetPresentations indicates an expected call of GetPresentations.

func (*MockStoreMockRecorder) RemoveCredentialByName

func (mr *MockStoreMockRecorder) RemoveCredentialByName(arg0 interface{}) *gomock.Call

RemoveCredentialByName indicates an expected call of RemoveCredentialByName.

func (*MockStoreMockRecorder) RemovePresentationByName

func (mr *MockStoreMockRecorder) RemovePresentationByName(arg0 interface{}) *gomock.Call

RemovePresentationByName indicates an expected call of RemovePresentationByName.

func (*MockStoreMockRecorder) SaveCredential

func (mr *MockStoreMockRecorder) SaveCredential(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SaveCredential indicates an expected call of SaveCredential.

func (*MockStoreMockRecorder) SavePresentation

func (mr *MockStoreMockRecorder) SavePresentation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SavePresentation indicates an expected call of SavePresentation.

Jump to

Keyboard shortcuts

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