mocks

package
v0.0.0-...-6c9d739 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: OSL-3.0 Imports: 4 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDbRepo

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

MockDbRepo is a mock of Repository interface

func NewMockDbRepo

func NewMockDbRepo(ctrl *gomock.Controller) *MockDbRepo

NewMockDbRepo creates a new mock instance

func (*MockDbRepo) EXPECT

func (m *MockDbRepo) EXPECT() *MockDbRepoMockRecorder

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

func (*MockDbRepo) Get

func (m *MockDbRepo) Get(key []byte) ([]byte, error)

Get mocks base method

func (*MockDbRepo) GetAll

func (m *MockDbRepo) GetAll() ([][]byte, error)

GetAll mocks base method

func (*MockDbRepo) Init

func (m *MockDbRepo) Init(path string) error

Init mocks base method

func (*MockDbRepo) Save

func (m *MockDbRepo) Save(key, value []byte) error

Save mocks base method

type MockDbRepoMockRecorder

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

MockDbRepoMockRecorder is the mock recorder for MockDbRepo

func (*MockDbRepoMockRecorder) Get

func (mr *MockDbRepoMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockDbRepoMockRecorder) GetAll

func (mr *MockDbRepoMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockDbRepoMockRecorder) Init

func (mr *MockDbRepoMockRecorder) Init(path interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockDbRepoMockRecorder) Save

func (mr *MockDbRepoMockRecorder) Save(key, value interface{}) *gomock.Call

Save indicates an expected call of Save

type MockLogic

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

MockLogic is a mock of Logic interface

func NewMockLogic

func NewMockLogic(ctrl *gomock.Controller) *MockLogic

NewMockLogic creates a new mock instance

func (*MockLogic) CollateralHealthCheck

func (m *MockLogic) CollateralHealthCheck(input *entity.CollateralHealthCheckInput) ([]*entity.CollateralHealthCheckOutput, error)

CollateralHealthCheck mocks base method

func (*MockLogic) CreateAccount

func (m *MockLogic) CreateAccount(input *entity.CreateAccountInput) (*entity.CreateAccountOutput, error)

CreateAccount mocks base method

func (*MockLogic) EXPECT

func (m *MockLogic) EXPECT() *MockLogicMockRecorder

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

func (*MockLogic) ExportAccount

func (m *MockLogic) ExportAccount(input *entity.ExportAccountInput) (*entity.ExportAccountOutput, error)

ExportAccount mocks base method

func (*MockLogic) GetCreditExchange

GetCreditExchange mocks base method

func (*MockLogic) ImportAccount

func (m *MockLogic) ImportAccount(input *entity.ImportAccountInput) (*entity.ImportAccountOutput, error)

ImportAccount mocks base method

func (*MockLogic) Init

func (m *MockLogic) Init(configFilePath string) error

Init mocks base method

func (*MockLogic) ListAccount

func (m *MockLogic) ListAccount() ([]*entity.Account, error)

ListAccount mocks base method

func (*MockLogic) MintCreditByCollateral

MintCreditByCollateral mocks base method

func (*MockLogic) MintCreditByCredit

MintCreditByCredit mocks base method

func (*MockLogic) RebalanceCollateral

func (m *MockLogic) RebalanceCollateral(input *entity.RebalanceCollateralInput) ([]*entity.RebalanceCollateralOutput, error)

RebalanceCollateral mocks base method

func (*MockLogic) RedeemCredit

func (m *MockLogic) RedeemCredit(input *entity.RedeemCreditInput) (*entity.RedeemCreditOutput, error)

RedeemCredit mocks base method

func (*MockLogic) SetDefaultAccount

SetDefaultAccount mocks base method

func (*MockLogic) SetEnv

func (m *MockLogic) SetEnv(input *entity.SetEnvInput) error

SetEnv mocks base method

func (*MockLogic) SetupCredit

func (m *MockLogic) SetupCredit(input *entity.SetupCreditInput) (*entity.SetupCreditOutput, error)

SetupCredit mocks base method

type MockLogicMockRecorder

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

MockLogicMockRecorder is the mock recorder for MockLogic

func (*MockLogicMockRecorder) CollateralHealthCheck

func (mr *MockLogicMockRecorder) CollateralHealthCheck(input interface{}) *gomock.Call

CollateralHealthCheck indicates an expected call of CollateralHealthCheck

func (*MockLogicMockRecorder) CreateAccount

func (mr *MockLogicMockRecorder) CreateAccount(input interface{}) *gomock.Call

CreateAccount indicates an expected call of CreateAccount

func (*MockLogicMockRecorder) ExportAccount

func (mr *MockLogicMockRecorder) ExportAccount(input interface{}) *gomock.Call

ExportAccount indicates an expected call of ExportAccount

func (*MockLogicMockRecorder) GetCreditExchange

func (mr *MockLogicMockRecorder) GetCreditExchange(input interface{}) *gomock.Call

GetCreditExchange indicates an expected call of GetCreditExchange

func (*MockLogicMockRecorder) ImportAccount

func (mr *MockLogicMockRecorder) ImportAccount(input interface{}) *gomock.Call

ImportAccount indicates an expected call of ImportAccount

func (*MockLogicMockRecorder) Init

func (mr *MockLogicMockRecorder) Init(configFilePath interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockLogicMockRecorder) ListAccount

func (mr *MockLogicMockRecorder) ListAccount() *gomock.Call

ListAccount indicates an expected call of ListAccount

func (*MockLogicMockRecorder) MintCreditByCollateral

func (mr *MockLogicMockRecorder) MintCreditByCollateral(input interface{}) *gomock.Call

MintCreditByCollateral indicates an expected call of MintCreditByCollateral

func (*MockLogicMockRecorder) MintCreditByCredit

func (mr *MockLogicMockRecorder) MintCreditByCredit(input interface{}) *gomock.Call

MintCreditByCredit indicates an expected call of MintCreditByCredit

func (*MockLogicMockRecorder) RebalanceCollateral

func (mr *MockLogicMockRecorder) RebalanceCollateral(input interface{}) *gomock.Call

RebalanceCollateral indicates an expected call of RebalanceCollateral

func (*MockLogicMockRecorder) RedeemCredit

func (mr *MockLogicMockRecorder) RedeemCredit(input interface{}) *gomock.Call

RedeemCredit indicates an expected call of RedeemCredit

func (*MockLogicMockRecorder) SetDefaultAccount

func (mr *MockLogicMockRecorder) SetDefaultAccount(input interface{}) *gomock.Call

SetDefaultAccount indicates an expected call of SetDefaultAccount

func (*MockLogicMockRecorder) SetEnv

func (mr *MockLogicMockRecorder) SetEnv(input interface{}) *gomock.Call

SetEnv indicates an expected call of SetEnv

func (*MockLogicMockRecorder) SetupCredit

func (mr *MockLogicMockRecorder) SetupCredit(input interface{}) *gomock.Call

SetupCredit indicates an expected call of SetupCredit

type MockVFactoryRepo

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

MockVFactoryRepo is a mock of Repository interface

func NewMockVFactoryRepo

func NewMockVFactoryRepo(ctrl *gomock.Controller) *MockVFactoryRepo

NewMockVFactoryRepo creates a new mock instance

func (*MockVFactoryRepo) EXPECT

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

func (*MockVFactoryRepo) NewClient

func (m *MockVFactoryRepo) NewClient(input *entity.NewClientInput) (ivclient.VClient, error)

NewClient mocks base method

func (*MockVFactoryRepo) NewClientFromConfig

func (m *MockVFactoryRepo) NewClientFromConfig(privateKey string) (ivclient.VClient, error)

NewClientFromConfig mocks base method

type MockVFactoryRepoMockRecorder

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

MockVFactoryRepoMockRecorder is the mock recorder for MockVFactoryRepo

func (*MockVFactoryRepoMockRecorder) NewClient

func (mr *MockVFactoryRepoMockRecorder) NewClient(input interface{}) *gomock.Call

NewClient indicates an expected call of NewClient

func (*MockVFactoryRepoMockRecorder) NewClientFromConfig

func (mr *MockVFactoryRepoMockRecorder) NewClientFromConfig(privateKey interface{}) *gomock.Call

NewClientFromConfig indicates an expected call of NewClientFromConfig

Jump to

Keyboard shortcuts

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