mock

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIdentity

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

MockIdentity is a mock of Identity interface.

func NewMockIdentity

func NewMockIdentity(ctrl *gomock.Controller) *MockIdentity

NewMockIdentity creates a new mock instance.

func (*MockIdentity) BackupDID

func (m *MockIdentity) BackupDID(arg0 string) (*id.DIDUpdateInfo, error)

BackupDID mocks base method.

func (*MockIdentity) CreateDID

func (m *MockIdentity) CreateDID(arg0 string, arg1 []id.Service) (*id.DIDUpdateInfo, error)

CreateDID mocks base method.

func (*MockIdentity) DeleteDID

func (m *MockIdentity) DeleteDID(arg0 string) error

DeleteDID mocks base method.

func (*MockIdentity) EXPECT

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

func (*MockIdentity) GetLastUserDID

func (m *MockIdentity) GetLastUserDID() (*did.Doc, string, error)

GetLastUserDID mocks base method.

func (*MockIdentity) GetUserDIDs

func (m *MockIdentity) GetUserDIDs() ([]did.Doc, error)

GetUserDIDs mocks base method.

func (*MockIdentity) ImportDID

func (m *MockIdentity) ImportDID(arg0, arg1 string) error

ImportDID mocks base method.

func (*MockIdentity) ListDIDs

func (m *MockIdentity) ListDIDs() ([]*did.Doc, error)

ListDIDs mocks base method.

func (*MockIdentity) RecoverDID

func (m *MockIdentity) RecoverDID(arg0 *id.DIDUpdateInfo) error

RecoverDID mocks base method.

func (*MockIdentity) ResolveDID

func (m *MockIdentity) ResolveDID(arg0 string) (*did.Doc, string, error)

ResolveDID mocks base method.

func (*MockIdentity) SignWithDID

func (m *MockIdentity) SignWithDID(arg0 string, arg1 []byte) (string, error)

SignWithDID mocks base method.

func (*MockIdentity) UpdateDID

func (m *MockIdentity) UpdateDID(arg0 string) (*id.DIDUpdateInfo, error)

UpdateDID mocks base method.

func (*MockIdentity) VerifyFromDID

func (m *MockIdentity) VerifyFromDID(arg0, arg1 string) ([]byte, error)

VerifyFromDID mocks base method.

type MockIdentityMockRecorder

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

MockIdentityMockRecorder is the mock recorder for MockIdentity.

func (*MockIdentityMockRecorder) BackupDID

func (mr *MockIdentityMockRecorder) BackupDID(arg0 interface{}) *gomock.Call

BackupDID indicates an expected call of BackupDID.

func (*MockIdentityMockRecorder) CreateDID

func (mr *MockIdentityMockRecorder) CreateDID(arg0, arg1 interface{}) *gomock.Call

CreateDID indicates an expected call of CreateDID.

func (*MockIdentityMockRecorder) DeleteDID

func (mr *MockIdentityMockRecorder) DeleteDID(arg0 interface{}) *gomock.Call

DeleteDID indicates an expected call of DeleteDID.

func (*MockIdentityMockRecorder) GetLastUserDID

func (mr *MockIdentityMockRecorder) GetLastUserDID() *gomock.Call

GetLastUserDID indicates an expected call of GetLastUserDID.

func (*MockIdentityMockRecorder) GetUserDIDs

func (mr *MockIdentityMockRecorder) GetUserDIDs() *gomock.Call

GetUserDIDs indicates an expected call of GetUserDIDs.

func (*MockIdentityMockRecorder) ImportDID

func (mr *MockIdentityMockRecorder) ImportDID(arg0, arg1 interface{}) *gomock.Call

ImportDID indicates an expected call of ImportDID.

func (*MockIdentityMockRecorder) ListDIDs

func (mr *MockIdentityMockRecorder) ListDIDs() *gomock.Call

ListDIDs indicates an expected call of ListDIDs.

func (*MockIdentityMockRecorder) RecoverDID

func (mr *MockIdentityMockRecorder) RecoverDID(arg0 interface{}) *gomock.Call

RecoverDID indicates an expected call of RecoverDID.

func (*MockIdentityMockRecorder) ResolveDID

func (mr *MockIdentityMockRecorder) ResolveDID(arg0 interface{}) *gomock.Call

ResolveDID indicates an expected call of ResolveDID.

func (*MockIdentityMockRecorder) SignWithDID

func (mr *MockIdentityMockRecorder) SignWithDID(arg0, arg1 interface{}) *gomock.Call

SignWithDID indicates an expected call of SignWithDID.

func (*MockIdentityMockRecorder) UpdateDID

func (mr *MockIdentityMockRecorder) UpdateDID(arg0 interface{}) *gomock.Call

UpdateDID indicates an expected call of UpdateDID.

func (*MockIdentityMockRecorder) VerifyFromDID

func (mr *MockIdentityMockRecorder) VerifyFromDID(arg0, arg1 interface{}) *gomock.Call

VerifyFromDID indicates an expected call of VerifyFromDID.

type MockIon

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

MockIon is a mock of Ion interface.

func NewMockIon

func NewMockIon(ctrl *gomock.Controller) *MockIon

NewMockIon creates a new mock instance.

func (*MockIon) CreateDid

func (m *MockIon) CreateDid(arg0 []ion.Service) (*did.Doc, uint32, []uint32, error)

CreateDid mocks base method.

func (*MockIon) EXPECT

func (m *MockIon) EXPECT() *MockIonMockRecorder

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

func (*MockIon) ResolveDid

func (m *MockIon) ResolveDid(arg0 string) (*did.Doc, error)

ResolveDid mocks base method.

func (*MockIon) UpdateDid

func (m *MockIon) UpdateDid(arg0 *did.Doc) (*did.Doc, uint32, []uint32, error)

UpdateDid mocks base method.

type MockIonMockRecorder

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

MockIonMockRecorder is the mock recorder for MockIon.

func (*MockIonMockRecorder) CreateDid

func (mr *MockIonMockRecorder) CreateDid(arg0 interface{}) *gomock.Call

CreateDid indicates an expected call of CreateDid.

func (*MockIonMockRecorder) ResolveDid

func (mr *MockIonMockRecorder) ResolveDid(arg0 interface{}) *gomock.Call

ResolveDid indicates an expected call of ResolveDid.

func (*MockIonMockRecorder) UpdateDid

func (mr *MockIonMockRecorder) UpdateDid(arg0 interface{}) *gomock.Call

UpdateDid indicates an expected call of UpdateDid.

Jump to

Keyboard shortcuts

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