mocks

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressIterator

type AddressIterator struct {
	mock.Mock
}

AddressIterator is an autogenerated mock type for the AddressIterator type

func NewAddressIterator

func NewAddressIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *AddressIterator

NewAddressIterator creates a new instance of AddressIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AddressIterator) Next

func (_m *AddressIterator) Next() (*v1.Address, error)

Next provides a mock function with given fields:

func (*AddressIterator) PageInfo

func (_m *AddressIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*AddressIterator) Response

func (_m *AddressIterator) Response() *v1.ListAddressesResponse

Response provides a mock function with given fields:

type AssetIterator

type AssetIterator struct {
	mock.Mock
}

AssetIterator is an autogenerated mock type for the AssetIterator type

func NewAssetIterator

func NewAssetIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *AssetIterator

NewAssetIterator creates a new instance of AssetIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AssetIterator) Next

func (_m *AssetIterator) Next() (*v1.Asset, error)

Next provides a mock function with given fields:

func (*AssetIterator) PageInfo

func (_m *AssetIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*AssetIterator) Response

func (_m *AssetIterator) Response() *v1.ListAssetsResponse

Response provides a mock function with given fields:

type BalanceDetailIterator

type BalanceDetailIterator struct {
	mock.Mock
}

BalanceDetailIterator is an autogenerated mock type for the BalanceDetailIterator type

func NewBalanceDetailIterator

func NewBalanceDetailIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *BalanceDetailIterator

NewBalanceDetailIterator creates a new instance of BalanceDetailIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BalanceDetailIterator) Next

Next provides a mock function with given fields:

func (*BalanceDetailIterator) PageInfo

func (_m *BalanceDetailIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*BalanceDetailIterator) Response

Response provides a mock function with given fields:

type BalanceIterator

type BalanceIterator struct {
	mock.Mock
}

BalanceIterator is an autogenerated mock type for the BalanceIterator type

func NewBalanceIterator

func NewBalanceIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *BalanceIterator

NewBalanceIterator creates a new instance of BalanceIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BalanceIterator) Next

func (_m *BalanceIterator) Next() (*v1.Balance, error)

Next provides a mock function with given fields:

func (*BalanceIterator) PageInfo

func (_m *BalanceIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*BalanceIterator) Response

func (_m *BalanceIterator) Response() *v1.ListBalancesResponse

Response provides a mock function with given fields:

type BlockchainServiceClient

type BlockchainServiceClient struct {
	mock.Mock
}

BlockchainServiceClient is an autogenerated mock type for the BlockchainServiceClient type

func NewBlockchainServiceClient

func NewBlockchainServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *BlockchainServiceClient

NewBlockchainServiceClient creates a new instance of BlockchainServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BlockchainServiceClient) BatchGetAssets

BatchGetAssets provides a mock function with given fields: ctx, req, opts

func (*BlockchainServiceClient) Close

func (_m *BlockchainServiceClient) Close() error

Close provides a mock function with given fields:

func (*BlockchainServiceClient) Connection

func (_m *BlockchainServiceClient) Connection() *grpc.ClientConn

Connection provides a mock function with given fields:

func (*BlockchainServiceClient) GetAsset

func (_m *BlockchainServiceClient) GetAsset(ctx context.Context, req *v1.GetAssetRequest, opts ...gax.CallOption) (*v1.Asset, error)

GetAsset provides a mock function with given fields: ctx, req, opts

func (*BlockchainServiceClient) GetNetwork

func (_m *BlockchainServiceClient) GetNetwork(ctx context.Context, req *v1.GetNetworkRequest, opts ...gax.CallOption) (*v1.Network, error)

GetNetwork provides a mock function with given fields: ctx, req, opts

func (*BlockchainServiceClient) ListAssets

ListAssets provides a mock function with given fields: ctx, req, opts

func (*BlockchainServiceClient) ListNetworks

ListNetworks provides a mock function with given fields: ctx, req, opts

type ClientWrappedAddDeviceOperation

type ClientWrappedAddDeviceOperation struct {
	mock.Mock
}

ClientWrappedAddDeviceOperation is an autogenerated mock type for the ClientWrappedAddDeviceOperation type

func NewClientWrappedAddDeviceOperation

func NewClientWrappedAddDeviceOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedAddDeviceOperation

NewClientWrappedAddDeviceOperation creates a new instance of ClientWrappedAddDeviceOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedAddDeviceOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedAddDeviceOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedAddDeviceOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedAddDeviceOperation) PathPrefix

func (_m *ClientWrappedAddDeviceOperation) PathPrefix() string

PathPrefix provides a mock function with given fields:

func (*ClientWrappedAddDeviceOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedAddDeviceOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type ClientWrappedCreateDeviceGroupOperation

type ClientWrappedCreateDeviceGroupOperation struct {
	mock.Mock
}

ClientWrappedCreateDeviceGroupOperation is an autogenerated mock type for the ClientWrappedCreateDeviceGroupOperation type

func NewClientWrappedCreateDeviceGroupOperation

func NewClientWrappedCreateDeviceGroupOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedCreateDeviceGroupOperation

NewClientWrappedCreateDeviceGroupOperation creates a new instance of ClientWrappedCreateDeviceGroupOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedCreateDeviceGroupOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedCreateDeviceGroupOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedCreateDeviceGroupOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedCreateDeviceGroupOperation) PathPrefix

PathPrefix provides a mock function with given fields:

func (*ClientWrappedCreateDeviceGroupOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedCreateDeviceGroupOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type ClientWrappedCreateMPCTransactionOperation

type ClientWrappedCreateMPCTransactionOperation struct {
	mock.Mock
}

ClientWrappedCreateMPCTransactionOperation is an autogenerated mock type for the ClientWrappedCreateMPCTransactionOperation type

func NewClientWrappedCreateMPCTransactionOperation

func NewClientWrappedCreateMPCTransactionOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedCreateMPCTransactionOperation

NewClientWrappedCreateMPCTransactionOperation creates a new instance of ClientWrappedCreateMPCTransactionOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedCreateMPCTransactionOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedCreateMPCTransactionOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedCreateMPCTransactionOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedCreateMPCTransactionOperation) PathPrefix

PathPrefix provides a mock function with given fields:

func (*ClientWrappedCreateMPCTransactionOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedCreateMPCTransactionOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type ClientWrappedCreateMPCWalletOperation

type ClientWrappedCreateMPCWalletOperation struct {
	mock.Mock
}

ClientWrappedCreateMPCWalletOperation is an autogenerated mock type for the ClientWrappedCreateMPCWalletOperation type

func NewClientWrappedCreateMPCWalletOperation

func NewClientWrappedCreateMPCWalletOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedCreateMPCWalletOperation

NewClientWrappedCreateMPCWalletOperation creates a new instance of ClientWrappedCreateMPCWalletOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedCreateMPCWalletOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedCreateMPCWalletOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedCreateMPCWalletOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedCreateMPCWalletOperation) PathPrefix

PathPrefix provides a mock function with given fields:

func (*ClientWrappedCreateMPCWalletOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedCreateMPCWalletOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type ClientWrappedCreateSignatureOperation

type ClientWrappedCreateSignatureOperation struct {
	mock.Mock
}

ClientWrappedCreateSignatureOperation is an autogenerated mock type for the ClientWrappedCreateSignatureOperation type

func NewClientWrappedCreateSignatureOperation

func NewClientWrappedCreateSignatureOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedCreateSignatureOperation

NewClientWrappedCreateSignatureOperation creates a new instance of ClientWrappedCreateSignatureOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedCreateSignatureOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedCreateSignatureOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedCreateSignatureOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedCreateSignatureOperation) PathPrefix

PathPrefix provides a mock function with given fields:

func (*ClientWrappedCreateSignatureOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedCreateSignatureOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type ClientWrappedPrepareDeviceArchiveOperation

type ClientWrappedPrepareDeviceArchiveOperation struct {
	mock.Mock
}

ClientWrappedPrepareDeviceArchiveOperation is an autogenerated mock type for the ClientWrappedPrepareDeviceArchiveOperation type

func NewClientWrappedPrepareDeviceArchiveOperation

func NewClientWrappedPrepareDeviceArchiveOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedPrepareDeviceArchiveOperation

NewClientWrappedPrepareDeviceArchiveOperation creates a new instance of ClientWrappedPrepareDeviceArchiveOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedPrepareDeviceArchiveOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceArchiveOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceArchiveOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceArchiveOperation) PathPrefix

PathPrefix provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceArchiveOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedPrepareDeviceArchiveOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type ClientWrappedPrepareDeviceBackupOperation

type ClientWrappedPrepareDeviceBackupOperation struct {
	mock.Mock
}

ClientWrappedPrepareDeviceBackupOperation is an autogenerated mock type for the ClientWrappedPrepareDeviceBackupOperation type

func NewClientWrappedPrepareDeviceBackupOperation

func NewClientWrappedPrepareDeviceBackupOperation(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClientWrappedPrepareDeviceBackupOperation

NewClientWrappedPrepareDeviceBackupOperation creates a new instance of ClientWrappedPrepareDeviceBackupOperation. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClientWrappedPrepareDeviceBackupOperation) Done

Done provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceBackupOperation) Metadata

Metadata provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceBackupOperation) Name

Name provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceBackupOperation) PathPrefix

PathPrefix provides a mock function with given fields:

func (*ClientWrappedPrepareDeviceBackupOperation) Poll

Poll provides a mock function with given fields: ctx, opts

func (*ClientWrappedPrepareDeviceBackupOperation) Wait

Wait provides a mock function with given fields: ctx, opts

type MPCKeyServiceClient

type MPCKeyServiceClient struct {
	mock.Mock
}

MPCKeyServiceClient is an autogenerated mock type for the MPCKeyServiceClient type

func NewMPCKeyServiceClient

func NewMPCKeyServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCKeyServiceClient

NewMPCKeyServiceClient creates a new instance of MPCKeyServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCKeyServiceClient) AddDevice

AddDevice provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) AddDeviceOperation

AddDeviceOperation provides a mock function with given fields: name

func (*MPCKeyServiceClient) Close

func (_m *MPCKeyServiceClient) Close() error

Close provides a mock function with given fields:

func (*MPCKeyServiceClient) Connection

func (_m *MPCKeyServiceClient) Connection() *grpc.ClientConn

Connection provides a mock function with given fields:

func (*MPCKeyServiceClient) CreateDeviceGroup

CreateDeviceGroup provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) CreateDeviceGroupOperation

func (_m *MPCKeyServiceClient) CreateDeviceGroupOperation(name string) clientsv1.ClientWrappedCreateDeviceGroupOperation

CreateDeviceGroupOperation provides a mock function with given fields: name

func (*MPCKeyServiceClient) CreateMPCKey

func (_m *MPCKeyServiceClient) CreateMPCKey(ctx context.Context, req *v1.CreateMPCKeyRequest, opts ...gax.CallOption) (*v1.MPCKey, error)

CreateMPCKey provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) CreateSignature

CreateSignature provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) CreateSignatureOperation

CreateSignatureOperation provides a mock function with given fields: name

func (*MPCKeyServiceClient) GetDevice

func (_m *MPCKeyServiceClient) GetDevice(ctx context.Context, req *v1.GetDeviceRequest, opts ...gax.CallOption) (*v1.Device, error)

GetDevice provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) GetDeviceGroup

func (_m *MPCKeyServiceClient) GetDeviceGroup(ctx context.Context, req *v1.GetDeviceGroupRequest, opts ...gax.CallOption) (*v1.DeviceGroup, error)

GetDeviceGroup provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) GetMPCKey

func (_m *MPCKeyServiceClient) GetMPCKey(ctx context.Context, req *v1.GetMPCKeyRequest, opts ...gax.CallOption) (*v1.MPCKey, error)

GetMPCKey provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) GetOperation

GetOperation provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) ListMPCOperations

ListMPCOperations provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) PrepareDeviceArchive

PrepareDeviceArchive provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) PrepareDeviceArchiveOperation

func (_m *MPCKeyServiceClient) PrepareDeviceArchiveOperation(name string) clientsv1.ClientWrappedPrepareDeviceArchiveOperation

PrepareDeviceArchiveOperation provides a mock function with given fields: name

func (*MPCKeyServiceClient) PrepareDeviceBackup

PrepareDeviceBackup provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) PrepareDeviceBackupOperation

func (_m *MPCKeyServiceClient) PrepareDeviceBackupOperation(name string) clientsv1.ClientWrappedPrepareDeviceBackupOperation

PrepareDeviceBackupOperation provides a mock function with given fields: name

func (*MPCKeyServiceClient) RegisterDevice

func (_m *MPCKeyServiceClient) RegisterDevice(ctx context.Context, req *v1.RegisterDeviceRequest, opts ...gax.CallOption) (*v1.Device, error)

RegisterDevice provides a mock function with given fields: ctx, req, opts

func (*MPCKeyServiceClient) RevokeDevice

func (_m *MPCKeyServiceClient) RevokeDevice(ctx context.Context, req *v1.RevokeDeviceRequest, opts ...gax.CallOption) error

RevokeDevice provides a mock function with given fields: ctx, req, opts

type MPCTransactionIterator

type MPCTransactionIterator struct {
	mock.Mock
}

MPCTransactionIterator is an autogenerated mock type for the MPCTransactionIterator type

func NewMPCTransactionIterator

func NewMPCTransactionIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCTransactionIterator

NewMPCTransactionIterator creates a new instance of MPCTransactionIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCTransactionIterator) Next

Next provides a mock function with given fields:

func (*MPCTransactionIterator) PageInfo

func (_m *MPCTransactionIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*MPCTransactionIterator) Response

Response provides a mock function with given fields:

type MPCTransactionServiceClient

type MPCTransactionServiceClient struct {
	mock.Mock
}

MPCTransactionServiceClient is an autogenerated mock type for the MPCTransactionServiceClient type

func NewMPCTransactionServiceClient

func NewMPCTransactionServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCTransactionServiceClient

NewMPCTransactionServiceClient creates a new instance of MPCTransactionServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCTransactionServiceClient) Close

func (_m *MPCTransactionServiceClient) Close() error

Close provides a mock function with given fields:

func (*MPCTransactionServiceClient) Connection

func (_m *MPCTransactionServiceClient) Connection() *grpc.ClientConn

Connection provides a mock function with given fields:

func (*MPCTransactionServiceClient) CreateMPCTransaction

CreateMPCTransaction provides a mock function with given fields: ctx, req, opts

func (*MPCTransactionServiceClient) CreateMPCTransactionOperation

func (_m *MPCTransactionServiceClient) CreateMPCTransactionOperation(name string) v1.ClientWrappedCreateMPCTransactionOperation

CreateMPCTransactionOperation provides a mock function with given fields: name

func (*MPCTransactionServiceClient) GetMPCTransaction

GetMPCTransaction provides a mock function with given fields: ctx, req, opts

func (*MPCTransactionServiceClient) GetOperation

GetOperation provides a mock function with given fields: ctx, req, opts

func (*MPCTransactionServiceClient) ListMPCTransactions

ListMPCTransactions provides a mock function with given fields: ctx, req, opts

type MPCWalletIterator

type MPCWalletIterator struct {
	mock.Mock
}

MPCWalletIterator is an autogenerated mock type for the MPCWalletIterator type

func NewMPCWalletIterator

func NewMPCWalletIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCWalletIterator

NewMPCWalletIterator creates a new instance of MPCWalletIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCWalletIterator) Next

func (_m *MPCWalletIterator) Next() (*v1.MPCWallet, error)

Next provides a mock function with given fields:

func (*MPCWalletIterator) PageInfo

func (_m *MPCWalletIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*MPCWalletIterator) Response

Response provides a mock function with given fields:

type MPCWalletServiceClient

type MPCWalletServiceClient struct {
	mock.Mock
}

MPCWalletServiceClient is an autogenerated mock type for the MPCWalletServiceClient type

func NewMPCWalletServiceClient

func NewMPCWalletServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MPCWalletServiceClient

NewMPCWalletServiceClient creates a new instance of MPCWalletServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MPCWalletServiceClient) Close

func (_m *MPCWalletServiceClient) Close() error

Close provides a mock function with given fields:

func (*MPCWalletServiceClient) Connection

func (_m *MPCWalletServiceClient) Connection() *grpc.ClientConn

Connection provides a mock function with given fields:

func (*MPCWalletServiceClient) CreateMPCWallet

CreateMPCWallet provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) CreateMPCWalletOperation

func (_m *MPCWalletServiceClient) CreateMPCWalletOperation(name string) v1.ClientWrappedCreateMPCWalletOperation

CreateMPCWalletOperation provides a mock function with given fields: name

func (*MPCWalletServiceClient) GenerateAddress

GenerateAddress provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) GetAddress

GetAddress provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) GetMPCWallet

GetMPCWallet provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) GetOperation

GetOperation provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) ListAddresses

ListAddresses provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) ListBalanceDetails

ListBalanceDetails provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) ListBalances

ListBalances provides a mock function with given fields: ctx, req, opts

func (*MPCWalletServiceClient) ListMPCWallets

ListMPCWallets provides a mock function with given fields: ctx, req, opts

type NetworkIterator

type NetworkIterator struct {
	mock.Mock
}

NetworkIterator is an autogenerated mock type for the NetworkIterator type

func NewNetworkIterator

func NewNetworkIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *NetworkIterator

NewNetworkIterator creates a new instance of NetworkIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*NetworkIterator) Next

func (_m *NetworkIterator) Next() (*v1.Network, error)

Next provides a mock function with given fields:

func (*NetworkIterator) PageInfo

func (_m *NetworkIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*NetworkIterator) Response

func (_m *NetworkIterator) Response() *v1.ListNetworksResponse

Response provides a mock function with given fields:

type PoolIterator

type PoolIterator struct {
	mock.Mock
}

PoolIterator is an autogenerated mock type for the PoolIterator type

func NewPoolIterator

func NewPoolIterator(t interface {
	mock.TestingT
	Cleanup(func())
}) *PoolIterator

NewPoolIterator creates a new instance of PoolIterator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PoolIterator) Next

func (_m *PoolIterator) Next() (*v1.Pool, error)

Next provides a mock function with given fields:

func (*PoolIterator) PageInfo

func (_m *PoolIterator) PageInfo() *iterator.PageInfo

PageInfo provides a mock function with given fields:

func (*PoolIterator) Response

func (_m *PoolIterator) Response() *v1.ListPoolsResponse

Response provides a mock function with given fields:

type PoolServiceClient

type PoolServiceClient struct {
	mock.Mock
}

PoolServiceClient is an autogenerated mock type for the PoolServiceClient type

func NewPoolServiceClient

func NewPoolServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PoolServiceClient

NewPoolServiceClient creates a new instance of PoolServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PoolServiceClient) Close

func (_m *PoolServiceClient) Close() error

Close provides a mock function with given fields:

func (*PoolServiceClient) Connection

func (_m *PoolServiceClient) Connection() *grpc.ClientConn

Connection provides a mock function with given fields:

func (*PoolServiceClient) CreatePool

func (_m *PoolServiceClient) CreatePool(ctx context.Context, req *poolsv1.CreatePoolRequest, opts ...gax.CallOption) (*poolsv1.Pool, error)

CreatePool provides a mock function with given fields: ctx, req, opts

func (*PoolServiceClient) GetPool

func (_m *PoolServiceClient) GetPool(ctx context.Context, req *poolsv1.GetPoolRequest, opts ...gax.CallOption) (*poolsv1.Pool, error)

GetPool provides a mock function with given fields: ctx, req, opts

func (*PoolServiceClient) ListPools

ListPools provides a mock function with given fields: ctx, req, opts

type ProtocolServiceClient

type ProtocolServiceClient struct {
	mock.Mock
}

ProtocolServiceClient is an autogenerated mock type for the ProtocolServiceClient type

func NewProtocolServiceClient

func NewProtocolServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProtocolServiceClient

NewProtocolServiceClient creates a new instance of ProtocolServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ProtocolServiceClient) BroadcastTransaction

func (_m *ProtocolServiceClient) BroadcastTransaction(ctx context.Context, req *v1.BroadcastTransactionRequest, opts ...gax.CallOption) (*typesv1.Transaction, error)

BroadcastTransaction provides a mock function with given fields: ctx, req, opts

func (*ProtocolServiceClient) Close

func (_m *ProtocolServiceClient) Close() error

Close provides a mock function with given fields:

func (*ProtocolServiceClient) Connection

func (_m *ProtocolServiceClient) Connection() *grpc.ClientConn

Connection provides a mock function with given fields:

func (*ProtocolServiceClient) ConstructTransaction

func (_m *ProtocolServiceClient) ConstructTransaction(ctx context.Context, req *v1.ConstructTransactionRequest, opts ...gax.CallOption) (*typesv1.Transaction, error)

ConstructTransaction provides a mock function with given fields: ctx, req, opts

func (*ProtocolServiceClient) ConstructTransferTransaction

func (_m *ProtocolServiceClient) ConstructTransferTransaction(ctx context.Context, req *v1.ConstructTransferTransactionRequest, opts ...gax.CallOption) (*typesv1.Transaction, error)

ConstructTransferTransaction provides a mock function with given fields: ctx, req, opts

func (*ProtocolServiceClient) EstimateFee

EstimateFee provides a mock function with given fields: ctx, req, opts

Jump to

Keyboard shortcuts

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