Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetCredential(arg0 string) (*verifiable.Credential, error)
- func (m *MockStore) GetCredentialIDByName(arg0 string) (string, error)
- func (m *MockStore) GetCredentials() ([]*verifiable0.Record, error)
- func (m *MockStore) GetPresentation(arg0 string) (*verifiable.Presentation, error)
- func (m *MockStore) GetPresentationIDByName(arg0 string) (string, error)
- func (m *MockStore) GetPresentations() ([]*verifiable0.Record, error)
- func (m *MockStore) RemoveCredentialByName(arg0 string) error
- func (m *MockStore) RemovePresentationByName(arg0 string) error
- func (m *MockStore) SaveCredential(arg0 string, arg1 *verifiable.Credential, arg2 ...verifiable0.Opt) error
- func (m *MockStore) SavePresentation(arg0 string, arg1 *verifiable.Presentation, arg2 ...verifiable0.Opt) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) GetCredential(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCredentialIDByName(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCredentials() *gomock.Call
- func (mr *MockStoreMockRecorder) GetPresentation(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPresentationIDByName(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPresentations() *gomock.Call
- func (mr *MockStoreMockRecorder) RemoveCredentialByName(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemovePresentationByName(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SaveCredential(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SavePresentation(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
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 ¶
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 ¶
GetPresentationIDByName mocks base method.
func (*MockStore) GetPresentations ¶
func (m *MockStore) GetPresentations() ([]*verifiable0.Record, error)
GetPresentations mocks base method.
func (*MockStore) RemoveCredentialByName ¶
RemoveCredentialByName mocks base method.
func (*MockStore) RemovePresentationByName ¶
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.