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: 11 Imported by: 0

Documentation

Overview

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 MockCore

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

MockCore is a mock of Core interface.

func NewMockCore

func NewMockCore(ctrl *gomock.Controller) *MockCore

NewMockCore creates a new mock instance.

func (*MockCore) AddFile

func (m *MockCore) AddFile(arg0 []byte, arg1 string, arg2 bool) (string, error)

AddFile mocks base method.

func (*MockCore) BackupDID

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

BackupDID mocks base method.

func (*MockCore) CheckInvoice

func (m *MockCore) CheckInvoice(arg0 string) (bool, error)

CheckInvoice mocks base method.

func (*MockCore) CheckLightningStatus added in v1.1.0

func (m *MockCore) CheckLightningStatus() ([]lightning.NodeStatus, error)

CheckLightningStatus mocks base method.

func (*MockCore) CreateContact

func (m *MockCore) CreateContact(arg0 *contacts.ContactInfo) (*contacts.ContactInfo, error)

CreateContact mocks base method.

func (*MockCore) CreateContacts

func (m *MockCore) CreateContacts(arg0 []*contacts.ContactInfo) ([]*contacts.ContactInfo, error)

CreateContacts mocks base method.

func (*MockCore) CreateDID

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

CreateDID mocks base method.

func (*MockCore) DeleteContact

func (m *MockCore) DeleteContact(arg0 int64) error

DeleteContact mocks base method.

func (*MockCore) DeleteDID

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

DeleteDID mocks base method.

func (*MockCore) DeleteKey

func (m *MockCore) DeleteKey(arg0 int64) error

DeleteKey mocks base method.

func (*MockCore) DeleteMessage

func (m *MockCore) DeleteMessage(arg0, arg1 string) error

DeleteMessage mocks base method.

func (*MockCore) EXPECT

func (m *MockCore) EXPECT() *MockCoreMockRecorder

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

func (*MockCore) GenerateInvoice

func (m *MockCore) GenerateInvoice(arg0 int64, arg1 string) (string, error)

GenerateInvoice mocks base method.

func (*MockCore) GenerateNewKey

func (m *MockCore) GenerateNewKey(arg0, arg1 string) (*state.AuthStateModel, error)

GenerateNewKey mocks base method.

func (*MockCore) GetContact

func (m *MockCore) GetContact(arg0 int64) (*contacts.ContactInfo, error)

GetContact mocks base method.

func (*MockCore) GetContacts

func (m *MockCore) GetContacts() ([]*contacts.ContactInfo, error)

GetContacts mocks base method.

func (*MockCore) GetIONConfig

func (m *MockCore) GetIONConfig() (config.ION, error)

GetIONConfig mocks base method.

func (*MockCore) GetLightningNodeConfig

func (m *MockCore) GetLightningNodeConfig() (config.Lnd, error)

GetLightningNodeConfig mocks base method.

func (*MockCore) GetMessages

func (m *MockCore) GetMessages() ([]*messages.MessageInfo, error)

GetMessages mocks base method.

func (*MockCore) GetSeed

func (m *MockCore) GetSeed() (string, error)

GetSeed mocks base method.

func (*MockCore) ImportDID

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

ImportDID mocks base method.

func (*MockCore) InitSeed

func (m *MockCore) InitSeed(arg0, arg1 string) (string, string, error)

InitSeed mocks base method.

func (*MockCore) KeyStatus added in v1.1.0

func (m *MockCore) KeyStatus() (string, error)

KeyStatus mocks base method.

func (*MockCore) ListDID

func (m *MockCore) ListDID() ([]*did.Doc, error)

ListDID mocks base method.

func (*MockCore) ListFiles

func (m *MockCore) ListFiles() ([]string, error)

ListFiles mocks base method.

func (*MockCore) ListKeys

func (m *MockCore) ListKeys() ([]*state.AuthStateModel, error)

ListKeys mocks base method.

func (*MockCore) PayInvoice

func (m *MockCore) PayInvoice(arg0 string) (string, error)

PayInvoice mocks base method.

func (*MockCore) RecoverDID

func (m *MockCore) RecoverDID(arg0 *id.DIDUpdateInfo, arg1, arg2 string) error

RecoverDID mocks base method.

func (*MockCore) ResolveDID

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

ResolveDID mocks base method.

func (*MockCore) RetrieveFile

func (m *MockCore) RetrieveFile(arg0 string) ([]byte, error)

RetrieveFile mocks base method.

func (*MockCore) SaveIONConfig

func (m *MockCore) SaveIONConfig(arg0 config.ION) error

SaveIONConfig mocks base method.

func (*MockCore) SaveLightningNodeConfig

func (m *MockCore) SaveLightningNodeConfig(arg0 config.Lnd) error

SaveLightningNodeConfig mocks base method.

func (*MockCore) SaveMessage

func (m *MockCore) SaveMessage(arg0, arg1 string, arg2 []string, arg3, arg4, arg5 string) (string, error)

SaveMessage mocks base method.

func (*MockCore) SendMailboxRequest

func (m *MockCore) SendMailboxRequest(arg0 string, arg1 int64, arg2 *relay.RelayMailboxRequestData) (string, error)

SendMailboxRequest mocks base method.

func (*MockCore) SendMessage

func (m *MockCore) SendMessage(arg0, arg1 string, arg2 int64, arg3 string) (string, error)

SendMessage mocks base method.

func (*MockCore) SendMessageV2

func (m *MockCore) SendMessageV2(arg0, arg1 string, arg2 []string, arg3 int64, arg4, arg5 string, arg6 *comm.MessageSettings) (string, error)

SendMessageV2 mocks base method.

func (*MockCore) SendRegistrationRequest

func (m *MockCore) SendRegistrationRequest(arg0 string, arg1 int64, arg2 *relay.RelayRegistrationRequestData) (string, error)

SendRegistrationRequest mocks base method.

func (*MockCore) SignMessage

func (m *MockCore) SignMessage(arg0 []byte) ([]byte, error)

SignMessage mocks base method.

func (*MockCore) Start

func (m *MockCore) Start() error

Start mocks base method.

func (*MockCore) Stop

func (m *MockCore) Stop() error

Stop mocks base method.

func (*MockCore) UnlockSeed

func (m *MockCore) UnlockSeed(arg0 string) error

UnlockSeed mocks base method.

func (*MockCore) UpdateContact

func (m *MockCore) UpdateContact(arg0 *contacts.ContactUpdate) (*contacts.ContactInfo, error)

UpdateContact mocks base method.

func (*MockCore) UpdateDID

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

UpdateDID mocks base method.

func (*MockCore) UpdateKey

func (m *MockCore) UpdateKey(arg0 int64, arg1, arg2 string) error

UpdateKey mocks base method.

type MockCoreMockRecorder

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

MockCoreMockRecorder is the mock recorder for MockCore.

func (*MockCoreMockRecorder) AddFile

func (mr *MockCoreMockRecorder) AddFile(arg0, arg1, arg2 interface{}) *gomock.Call

AddFile indicates an expected call of AddFile.

func (*MockCoreMockRecorder) BackupDID

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

BackupDID indicates an expected call of BackupDID.

func (*MockCoreMockRecorder) CheckInvoice

func (mr *MockCoreMockRecorder) CheckInvoice(arg0 interface{}) *gomock.Call

CheckInvoice indicates an expected call of CheckInvoice.

func (*MockCoreMockRecorder) CheckLightningStatus added in v1.1.0

func (mr *MockCoreMockRecorder) CheckLightningStatus() *gomock.Call

CheckLightningStatus indicates an expected call of CheckLightningStatus.

func (*MockCoreMockRecorder) CreateContact

func (mr *MockCoreMockRecorder) CreateContact(arg0 interface{}) *gomock.Call

CreateContact indicates an expected call of CreateContact.

func (*MockCoreMockRecorder) CreateContacts

func (mr *MockCoreMockRecorder) CreateContacts(arg0 interface{}) *gomock.Call

CreateContacts indicates an expected call of CreateContacts.

func (*MockCoreMockRecorder) CreateDID

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

CreateDID indicates an expected call of CreateDID.

func (*MockCoreMockRecorder) DeleteContact

func (mr *MockCoreMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call

DeleteContact indicates an expected call of DeleteContact.

func (*MockCoreMockRecorder) DeleteDID

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

DeleteDID indicates an expected call of DeleteDID.

func (*MockCoreMockRecorder) DeleteKey

func (mr *MockCoreMockRecorder) DeleteKey(arg0 interface{}) *gomock.Call

DeleteKey indicates an expected call of DeleteKey.

func (*MockCoreMockRecorder) DeleteMessage

func (mr *MockCoreMockRecorder) DeleteMessage(arg0, arg1 interface{}) *gomock.Call

DeleteMessage indicates an expected call of DeleteMessage.

func (*MockCoreMockRecorder) GenerateInvoice

func (mr *MockCoreMockRecorder) GenerateInvoice(arg0, arg1 interface{}) *gomock.Call

GenerateInvoice indicates an expected call of GenerateInvoice.

func (*MockCoreMockRecorder) GenerateNewKey

func (mr *MockCoreMockRecorder) GenerateNewKey(arg0, arg1 interface{}) *gomock.Call

GenerateNewKey indicates an expected call of GenerateNewKey.

func (*MockCoreMockRecorder) GetContact

func (mr *MockCoreMockRecorder) GetContact(arg0 interface{}) *gomock.Call

GetContact indicates an expected call of GetContact.

func (*MockCoreMockRecorder) GetContacts

func (mr *MockCoreMockRecorder) GetContacts() *gomock.Call

GetContacts indicates an expected call of GetContacts.

func (*MockCoreMockRecorder) GetIONConfig

func (mr *MockCoreMockRecorder) GetIONConfig() *gomock.Call

GetIONConfig indicates an expected call of GetIONConfig.

func (*MockCoreMockRecorder) GetLightningNodeConfig

func (mr *MockCoreMockRecorder) GetLightningNodeConfig() *gomock.Call

GetLightningNodeConfig indicates an expected call of GetLightningNodeConfig.

func (*MockCoreMockRecorder) GetMessages

func (mr *MockCoreMockRecorder) GetMessages() *gomock.Call

GetMessages indicates an expected call of GetMessages.

func (*MockCoreMockRecorder) GetSeed

func (mr *MockCoreMockRecorder) GetSeed() *gomock.Call

GetSeed indicates an expected call of GetSeed.

func (*MockCoreMockRecorder) ImportDID

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

ImportDID indicates an expected call of ImportDID.

func (*MockCoreMockRecorder) InitSeed

func (mr *MockCoreMockRecorder) InitSeed(arg0, arg1 interface{}) *gomock.Call

InitSeed indicates an expected call of InitSeed.

func (*MockCoreMockRecorder) KeyStatus added in v1.1.0

func (mr *MockCoreMockRecorder) KeyStatus() *gomock.Call

KeyStatus indicates an expected call of KeyStatus.

func (*MockCoreMockRecorder) ListDID

func (mr *MockCoreMockRecorder) ListDID() *gomock.Call

ListDID indicates an expected call of ListDID.

func (*MockCoreMockRecorder) ListFiles

func (mr *MockCoreMockRecorder) ListFiles() *gomock.Call

ListFiles indicates an expected call of ListFiles.

func (*MockCoreMockRecorder) ListKeys

func (mr *MockCoreMockRecorder) ListKeys() *gomock.Call

ListKeys indicates an expected call of ListKeys.

func (*MockCoreMockRecorder) PayInvoice

func (mr *MockCoreMockRecorder) PayInvoice(arg0 interface{}) *gomock.Call

PayInvoice indicates an expected call of PayInvoice.

func (*MockCoreMockRecorder) RecoverDID

func (mr *MockCoreMockRecorder) RecoverDID(arg0, arg1, arg2 interface{}) *gomock.Call

RecoverDID indicates an expected call of RecoverDID.

func (*MockCoreMockRecorder) ResolveDID

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

ResolveDID indicates an expected call of ResolveDID.

func (*MockCoreMockRecorder) RetrieveFile

func (mr *MockCoreMockRecorder) RetrieveFile(arg0 interface{}) *gomock.Call

RetrieveFile indicates an expected call of RetrieveFile.

func (*MockCoreMockRecorder) SaveIONConfig

func (mr *MockCoreMockRecorder) SaveIONConfig(arg0 interface{}) *gomock.Call

SaveIONConfig indicates an expected call of SaveIONConfig.

func (*MockCoreMockRecorder) SaveLightningNodeConfig

func (mr *MockCoreMockRecorder) SaveLightningNodeConfig(arg0 interface{}) *gomock.Call

SaveLightningNodeConfig indicates an expected call of SaveLightningNodeConfig.

func (*MockCoreMockRecorder) SaveMessage

func (mr *MockCoreMockRecorder) SaveMessage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

SaveMessage indicates an expected call of SaveMessage.

func (*MockCoreMockRecorder) SendMailboxRequest

func (mr *MockCoreMockRecorder) SendMailboxRequest(arg0, arg1, arg2 interface{}) *gomock.Call

SendMailboxRequest indicates an expected call of SendMailboxRequest.

func (*MockCoreMockRecorder) SendMessage

func (mr *MockCoreMockRecorder) SendMessage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SendMessage indicates an expected call of SendMessage.

func (*MockCoreMockRecorder) SendMessageV2

func (mr *MockCoreMockRecorder) SendMessageV2(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

SendMessageV2 indicates an expected call of SendMessageV2.

func (*MockCoreMockRecorder) SendRegistrationRequest

func (mr *MockCoreMockRecorder) SendRegistrationRequest(arg0, arg1, arg2 interface{}) *gomock.Call

SendRegistrationRequest indicates an expected call of SendRegistrationRequest.

func (*MockCoreMockRecorder) SignMessage

func (mr *MockCoreMockRecorder) SignMessage(arg0 interface{}) *gomock.Call

SignMessage indicates an expected call of SignMessage.

func (*MockCoreMockRecorder) Start

func (mr *MockCoreMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockCoreMockRecorder) Stop

func (mr *MockCoreMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockCoreMockRecorder) UnlockSeed

func (mr *MockCoreMockRecorder) UnlockSeed(arg0 interface{}) *gomock.Call

UnlockSeed indicates an expected call of UnlockSeed.

func (*MockCoreMockRecorder) UpdateContact

func (mr *MockCoreMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call

UpdateContact indicates an expected call of UpdateContact.

func (*MockCoreMockRecorder) UpdateDID

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

UpdateDID indicates an expected call of UpdateDID.

func (*MockCoreMockRecorder) UpdateKey

func (mr *MockCoreMockRecorder) UpdateKey(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateKey indicates an expected call of UpdateKey.

Jump to

Keyboard shortcuts

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