mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAuth

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

MockAuth is a mock of Auth interface

func NewMockAuth

func NewMockAuth(ctrl *gomock.Controller) *MockAuth

NewMockAuth creates a new mock instance

func (*MockAuth) EXPECT

func (m *MockAuth) EXPECT() *MockAuthMockRecorder

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

func (*MockAuth) NewSession

func (m *MockAuth) NewSession(arg0 string) (string, error)

NewSession mocks base method

func (*MockAuth) Revoke

func (m *MockAuth) Revoke(arg0 string) error

Revoke mocks base method

func (*MockAuth) VerifyToken

func (m *MockAuth) VerifyToken(arg0 string) (string, error)

VerifyToken mocks base method

type MockAuthMockRecorder

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

MockAuthMockRecorder is the mock recorder for MockAuth

func (*MockAuthMockRecorder) NewSession

func (mr *MockAuthMockRecorder) NewSession(arg0 interface{}) *gomock.Call

NewSession indicates an expected call of NewSession

func (*MockAuthMockRecorder) Revoke

func (mr *MockAuthMockRecorder) Revoke(arg0 interface{}) *gomock.Call

Revoke indicates an expected call of Revoke

func (*MockAuthMockRecorder) VerifyToken

func (mr *MockAuthMockRecorder) VerifyToken(arg0 interface{}) *gomock.Call

VerifyToken indicates an expected call of VerifyToken

type MockNodeForward

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

MockNodeForward is a mock of NodeForward interface

func NewMockNodeForward

func NewMockNodeForward(ctrl *gomock.Controller) *MockNodeForward

NewMockNodeForward creates a new mock instance

func (*MockNodeForward) EXPECT

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

func (*MockNodeForward) HealthCheck

func (m *MockNodeForward) HealthCheck(arg0 context.Context) error

HealthCheck mocks base method

func (*MockNodeForward) LastBlockHeight

func (m *MockNodeForward) LastBlockHeight(arg0 context.Context) (uint64, error)

LastBlockHeight mocks base method

func (*MockNodeForward) Send

Send mocks base method

func (*MockNodeForward) SendTxV2

SendTxV2 mocks base method

type MockNodeForwardMockRecorder

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

MockNodeForwardMockRecorder is the mock recorder for MockNodeForward

func (*MockNodeForwardMockRecorder) HealthCheck

func (mr *MockNodeForwardMockRecorder) HealthCheck(arg0 interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck

func (*MockNodeForwardMockRecorder) LastBlockHeight

func (mr *MockNodeForwardMockRecorder) LastBlockHeight(arg0 interface{}) *gomock.Call

LastBlockHeight indicates an expected call of LastBlockHeight

func (*MockNodeForwardMockRecorder) Send

func (mr *MockNodeForwardMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockNodeForwardMockRecorder) SendTxV2

func (mr *MockNodeForwardMockRecorder) SendTxV2(arg0, arg1, arg2 interface{}) *gomock.Call

SendTxV2 indicates an expected call of SendTxV2

type MockRSAStore

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

MockRSAStore is a mock of RSAStore interface

func NewMockRSAStore

func NewMockRSAStore(ctrl *gomock.Controller) *MockRSAStore

NewMockRSAStore creates a new mock instance

func (*MockRSAStore) EXPECT

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

func (*MockRSAStore) GetRsaKeys

func (m *MockRSAStore) GetRsaKeys() (*wallet.RSAKeys, error)

GetRsaKeys mocks base method

type MockRSAStoreMockRecorder

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

MockRSAStoreMockRecorder is the mock recorder for MockRSAStore

func (*MockRSAStoreMockRecorder) GetRsaKeys

func (mr *MockRSAStoreMockRecorder) GetRsaKeys() *gomock.Call

GetRsaKeys indicates an expected call of GetRsaKeys

type MockWalletHandler

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

MockWalletHandler is a mock of WalletHandler interface

func NewMockWalletHandler

func NewMockWalletHandler(ctrl *gomock.Controller) *MockWalletHandler

NewMockWalletHandler creates a new mock instance

func (*MockWalletHandler) CreateWallet

func (m *MockWalletHandler) CreateWallet(arg0, arg1 string) error

CreateWallet mocks base method

func (*MockWalletHandler) EXPECT

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

func (*MockWalletHandler) GetPublicKey

func (m *MockWalletHandler) GetPublicKey(arg0, arg1 string) (*wallet.PublicKey, error)

GetPublicKey mocks base method

func (*MockWalletHandler) GetWalletPath

func (m *MockWalletHandler) GetWalletPath(arg0 string) (string, error)

GetWalletPath mocks base method

func (*MockWalletHandler) ListPublicKeys

func (m *MockWalletHandler) ListPublicKeys(arg0 string) ([]wallet.PublicKey, error)

ListPublicKeys mocks base method

func (*MockWalletHandler) LoginWallet

func (m *MockWalletHandler) LoginWallet(arg0, arg1 string) error

LoginWallet mocks base method

func (*MockWalletHandler) LogoutWallet

func (m *MockWalletHandler) LogoutWallet(arg0 string)

LogoutWallet mocks base method

func (*MockWalletHandler) SecureGenerateKeyPair

func (m *MockWalletHandler) SecureGenerateKeyPair(arg0, arg1 string) (string, error)

SecureGenerateKeyPair mocks base method

func (*MockWalletHandler) SignAny

func (m *MockWalletHandler) SignAny(arg0, arg1, arg2 string) ([]byte, error)

SignAny mocks base method

func (*MockWalletHandler) SignTx

func (m *MockWalletHandler) SignTx(arg0, arg1, arg2 string, arg3 uint64) (wallet.SignedBundle, error)

SignTx mocks base method

func (*MockWalletHandler) SignTxV2

func (m *MockWalletHandler) SignTxV2(arg0 string, arg1 *v10.SubmitTransactionRequest, arg2 uint64) (*v1.Transaction, error)

SignTxV2 mocks base method

func (*MockWalletHandler) TaintKey

func (m *MockWalletHandler) TaintKey(arg0, arg1, arg2 string) error

TaintKey mocks base method

func (*MockWalletHandler) UpdateMeta

func (m *MockWalletHandler) UpdateMeta(arg0, arg1, arg2 string, arg3 []wallet.Meta) error

UpdateMeta mocks base method

func (*MockWalletHandler) VerifyAny

func (m *MockWalletHandler) VerifyAny(arg0, arg1, arg2, arg3 string) (bool, error)

VerifyAny mocks base method

type MockWalletHandlerMockRecorder

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

MockWalletHandlerMockRecorder is the mock recorder for MockWalletHandler

func (*MockWalletHandlerMockRecorder) CreateWallet

func (mr *MockWalletHandlerMockRecorder) CreateWallet(arg0, arg1 interface{}) *gomock.Call

CreateWallet indicates an expected call of CreateWallet

func (*MockWalletHandlerMockRecorder) GetPublicKey

func (mr *MockWalletHandlerMockRecorder) GetPublicKey(arg0, arg1 interface{}) *gomock.Call

GetPublicKey indicates an expected call of GetPublicKey

func (*MockWalletHandlerMockRecorder) GetWalletPath

func (mr *MockWalletHandlerMockRecorder) GetWalletPath(arg0 interface{}) *gomock.Call

GetWalletPath indicates an expected call of GetWalletPath

func (*MockWalletHandlerMockRecorder) ListPublicKeys

func (mr *MockWalletHandlerMockRecorder) ListPublicKeys(arg0 interface{}) *gomock.Call

ListPublicKeys indicates an expected call of ListPublicKeys

func (*MockWalletHandlerMockRecorder) LoginWallet

func (mr *MockWalletHandlerMockRecorder) LoginWallet(arg0, arg1 interface{}) *gomock.Call

LoginWallet indicates an expected call of LoginWallet

func (*MockWalletHandlerMockRecorder) LogoutWallet

func (mr *MockWalletHandlerMockRecorder) LogoutWallet(arg0 interface{}) *gomock.Call

LogoutWallet indicates an expected call of LogoutWallet

func (*MockWalletHandlerMockRecorder) SecureGenerateKeyPair

func (mr *MockWalletHandlerMockRecorder) SecureGenerateKeyPair(arg0, arg1 interface{}) *gomock.Call

SecureGenerateKeyPair indicates an expected call of SecureGenerateKeyPair

func (*MockWalletHandlerMockRecorder) SignAny

func (mr *MockWalletHandlerMockRecorder) SignAny(arg0, arg1, arg2 interface{}) *gomock.Call

SignAny indicates an expected call of SignAny

func (*MockWalletHandlerMockRecorder) SignTx

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

SignTx indicates an expected call of SignTx

func (*MockWalletHandlerMockRecorder) SignTxV2

func (mr *MockWalletHandlerMockRecorder) SignTxV2(arg0, arg1, arg2 interface{}) *gomock.Call

SignTxV2 indicates an expected call of SignTxV2

func (*MockWalletHandlerMockRecorder) TaintKey

func (mr *MockWalletHandlerMockRecorder) TaintKey(arg0, arg1, arg2 interface{}) *gomock.Call

TaintKey indicates an expected call of TaintKey

func (*MockWalletHandlerMockRecorder) UpdateMeta

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

UpdateMeta indicates an expected call of UpdateMeta

func (*MockWalletHandlerMockRecorder) VerifyAny

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

VerifyAny indicates an expected call of VerifyAny

Jump to

Keyboard shortcuts

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