Documentation ¶
Index ¶
- type AddressIterator
- type AssetIterator
- type BalanceDetailIterator
- type BalanceIterator
- type BlockchainServiceClient
- func (_m *BlockchainServiceClient) BatchGetAssets(ctx context.Context, req *v1.BatchGetAssetsRequest, opts ...gax.CallOption) (*v1.BatchGetAssetsResponse, error)
- func (_m *BlockchainServiceClient) Close() error
- func (_m *BlockchainServiceClient) Connection() *grpc.ClientConn
- func (_m *BlockchainServiceClient) GetAsset(ctx context.Context, req *v1.GetAssetRequest, opts ...gax.CallOption) (*v1.Asset, error)
- func (_m *BlockchainServiceClient) GetNetwork(ctx context.Context, req *v1.GetNetworkRequest, opts ...gax.CallOption) (*v1.Network, error)
- func (_m *BlockchainServiceClient) ListAssets(ctx context.Context, req *v1.ListAssetsRequest, opts ...gax.CallOption) clientsv1.AssetIterator
- func (_m *BlockchainServiceClient) ListNetworks(ctx context.Context, req *v1.ListNetworksRequest, opts ...gax.CallOption) clientsv1.NetworkIterator
- type ClientWrappedAddDeviceOperation
- func (_m *ClientWrappedAddDeviceOperation) Done() bool
- func (_m *ClientWrappedAddDeviceOperation) Metadata() (*mpc_keysv1.AddDeviceMetadata, error)
- func (_m *ClientWrappedAddDeviceOperation) Name() string
- func (_m *ClientWrappedAddDeviceOperation) PathPrefix() string
- func (_m *ClientWrappedAddDeviceOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- func (_m *ClientWrappedAddDeviceOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- type ClientWrappedCreateDeviceGroupOperation
- func (_m *ClientWrappedCreateDeviceGroupOperation) Done() bool
- func (_m *ClientWrappedCreateDeviceGroupOperation) Metadata() (*mpc_keysv1.CreateDeviceGroupMetadata, error)
- func (_m *ClientWrappedCreateDeviceGroupOperation) Name() string
- func (_m *ClientWrappedCreateDeviceGroupOperation) PathPrefix() string
- func (_m *ClientWrappedCreateDeviceGroupOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- func (_m *ClientWrappedCreateDeviceGroupOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- type ClientWrappedCreateMPCTransactionOperation
- func (_m *ClientWrappedCreateMPCTransactionOperation) Done() bool
- func (_m *ClientWrappedCreateMPCTransactionOperation) Metadata() (*mpc_transactionsv1.CreateMPCTransactionMetadata, error)
- func (_m *ClientWrappedCreateMPCTransactionOperation) Name() string
- func (_m *ClientWrappedCreateMPCTransactionOperation) PathPrefix() string
- func (_m *ClientWrappedCreateMPCTransactionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_transactionsv1.MPCTransaction, error)
- func (_m *ClientWrappedCreateMPCTransactionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_transactionsv1.MPCTransaction, error)
- type ClientWrappedCreateMPCWalletOperation
- func (_m *ClientWrappedCreateMPCWalletOperation) Done() bool
- func (_m *ClientWrappedCreateMPCWalletOperation) Metadata() (*mpc_walletsv1.CreateMPCWalletMetadata, error)
- func (_m *ClientWrappedCreateMPCWalletOperation) Name() string
- func (_m *ClientWrappedCreateMPCWalletOperation) PathPrefix() string
- func (_m *ClientWrappedCreateMPCWalletOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_walletsv1.MPCWallet, error)
- func (_m *ClientWrappedCreateMPCWalletOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_walletsv1.MPCWallet, error)
- type ClientWrappedCreateSignatureOperation
- func (_m *ClientWrappedCreateSignatureOperation) Done() bool
- func (_m *ClientWrappedCreateSignatureOperation) Metadata() (*mpc_keysv1.CreateSignatureMetadata, error)
- func (_m *ClientWrappedCreateSignatureOperation) Name() string
- func (_m *ClientWrappedCreateSignatureOperation) PathPrefix() string
- func (_m *ClientWrappedCreateSignatureOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.Signature, error)
- func (_m *ClientWrappedCreateSignatureOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.Signature, error)
- type ClientWrappedPrepareDeviceArchiveOperation
- func (_m *ClientWrappedPrepareDeviceArchiveOperation) Done() bool
- func (_m *ClientWrappedPrepareDeviceArchiveOperation) Metadata() (*mpc_keysv1.PrepareDeviceArchiveMetadata, error)
- func (_m *ClientWrappedPrepareDeviceArchiveOperation) Name() string
- func (_m *ClientWrappedPrepareDeviceArchiveOperation) PathPrefix() string
- func (_m *ClientWrappedPrepareDeviceArchiveOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- func (_m *ClientWrappedPrepareDeviceArchiveOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- type ClientWrappedPrepareDeviceBackupOperation
- func (_m *ClientWrappedPrepareDeviceBackupOperation) Done() bool
- func (_m *ClientWrappedPrepareDeviceBackupOperation) Metadata() (*mpc_keysv1.PrepareDeviceBackupMetadata, error)
- func (_m *ClientWrappedPrepareDeviceBackupOperation) Name() string
- func (_m *ClientWrappedPrepareDeviceBackupOperation) PathPrefix() string
- func (_m *ClientWrappedPrepareDeviceBackupOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- func (_m *ClientWrappedPrepareDeviceBackupOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
- type MPCKeyServiceClient
- func (_m *MPCKeyServiceClient) AddDevice(ctx context.Context, req *v1.AddDeviceRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedAddDeviceOperation, error)
- func (_m *MPCKeyServiceClient) AddDeviceOperation(name string) clientsv1.ClientWrappedAddDeviceOperation
- func (_m *MPCKeyServiceClient) Close() error
- func (_m *MPCKeyServiceClient) Connection() *grpc.ClientConn
- func (_m *MPCKeyServiceClient) CreateDeviceGroup(ctx context.Context, req *v1.CreateDeviceGroupRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedCreateDeviceGroupOperation, error)
- func (_m *MPCKeyServiceClient) CreateDeviceGroupOperation(name string) clientsv1.ClientWrappedCreateDeviceGroupOperation
- func (_m *MPCKeyServiceClient) CreateMPCKey(ctx context.Context, req *v1.CreateMPCKeyRequest, opts ...gax.CallOption) (*v1.MPCKey, error)
- func (_m *MPCKeyServiceClient) CreateSignature(ctx context.Context, req *v1.CreateSignatureRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedCreateSignatureOperation, error)
- func (_m *MPCKeyServiceClient) CreateSignatureOperation(name string) clientsv1.ClientWrappedCreateSignatureOperation
- func (_m *MPCKeyServiceClient) GetDevice(ctx context.Context, req *v1.GetDeviceRequest, opts ...gax.CallOption) (*v1.Device, error)
- func (_m *MPCKeyServiceClient) GetDeviceGroup(ctx context.Context, req *v1.GetDeviceGroupRequest, opts ...gax.CallOption) (*v1.DeviceGroup, error)
- func (_m *MPCKeyServiceClient) GetMPCKey(ctx context.Context, req *v1.GetMPCKeyRequest, opts ...gax.CallOption) (*v1.MPCKey, error)
- func (_m *MPCKeyServiceClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, ...) (*longrunningpb.Operation, error)
- func (_m *MPCKeyServiceClient) ListMPCOperations(ctx context.Context, req *v1.ListMPCOperationsRequest, opts ...gax.CallOption) (*v1.ListMPCOperationsResponse, error)
- func (_m *MPCKeyServiceClient) PrepareDeviceArchive(ctx context.Context, req *v1.PrepareDeviceArchiveRequest, ...) (clientsv1.ClientWrappedPrepareDeviceArchiveOperation, error)
- func (_m *MPCKeyServiceClient) PrepareDeviceArchiveOperation(name string) clientsv1.ClientWrappedPrepareDeviceArchiveOperation
- func (_m *MPCKeyServiceClient) PrepareDeviceBackup(ctx context.Context, req *v1.PrepareDeviceBackupRequest, ...) (clientsv1.ClientWrappedPrepareDeviceBackupOperation, error)
- func (_m *MPCKeyServiceClient) PrepareDeviceBackupOperation(name string) clientsv1.ClientWrappedPrepareDeviceBackupOperation
- func (_m *MPCKeyServiceClient) RegisterDevice(ctx context.Context, req *v1.RegisterDeviceRequest, opts ...gax.CallOption) (*v1.Device, error)
- func (_m *MPCKeyServiceClient) RevokeDevice(ctx context.Context, req *v1.RevokeDeviceRequest, opts ...gax.CallOption) error
- type MPCTransactionIterator
- type MPCTransactionServiceClient
- func (_m *MPCTransactionServiceClient) Close() error
- func (_m *MPCTransactionServiceClient) Connection() *grpc.ClientConn
- func (_m *MPCTransactionServiceClient) CreateMPCTransaction(ctx context.Context, req *mpc_transactionsv1.CreateMPCTransactionRequest, ...) (v1.ClientWrappedCreateMPCTransactionOperation, error)
- func (_m *MPCTransactionServiceClient) CreateMPCTransactionOperation(name string) v1.ClientWrappedCreateMPCTransactionOperation
- func (_m *MPCTransactionServiceClient) GetMPCTransaction(ctx context.Context, req *mpc_transactionsv1.GetMPCTransactionRequest, ...) (*mpc_transactionsv1.MPCTransaction, error)
- func (_m *MPCTransactionServiceClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, ...) (*longrunningpb.Operation, error)
- func (_m *MPCTransactionServiceClient) ListMPCTransactions(ctx context.Context, req *mpc_transactionsv1.ListMPCTransactionsRequest, ...) v1.MPCTransactionIterator
- type MPCWalletIterator
- type MPCWalletServiceClient
- func (_m *MPCWalletServiceClient) Close() error
- func (_m *MPCWalletServiceClient) Connection() *grpc.ClientConn
- func (_m *MPCWalletServiceClient) CreateMPCWallet(ctx context.Context, req *mpc_walletsv1.CreateMPCWalletRequest, ...) (v1.ClientWrappedCreateMPCWalletOperation, error)
- func (_m *MPCWalletServiceClient) CreateMPCWalletOperation(name string) v1.ClientWrappedCreateMPCWalletOperation
- func (_m *MPCWalletServiceClient) GenerateAddress(ctx context.Context, req *mpc_walletsv1.GenerateAddressRequest, ...) (*mpc_walletsv1.Address, error)
- func (_m *MPCWalletServiceClient) GetAddress(ctx context.Context, req *mpc_walletsv1.GetAddressRequest, ...) (*mpc_walletsv1.Address, error)
- func (_m *MPCWalletServiceClient) GetMPCWallet(ctx context.Context, req *mpc_walletsv1.GetMPCWalletRequest, ...) (*mpc_walletsv1.MPCWallet, error)
- func (_m *MPCWalletServiceClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, ...) (*longrunningpb.Operation, error)
- func (_m *MPCWalletServiceClient) ListAddresses(ctx context.Context, req *mpc_walletsv1.ListAddressesRequest, ...) v1.AddressIterator
- func (_m *MPCWalletServiceClient) ListBalanceDetails(ctx context.Context, req *mpc_walletsv1.ListBalanceDetailsRequest, ...) v1.BalanceDetailIterator
- func (_m *MPCWalletServiceClient) ListBalances(ctx context.Context, req *mpc_walletsv1.ListBalancesRequest, ...) v1.BalanceIterator
- func (_m *MPCWalletServiceClient) ListMPCWallets(ctx context.Context, req *mpc_walletsv1.ListMPCWalletsRequest, ...) v1.MPCWalletIterator
- type NetworkIterator
- type PoolIterator
- type PoolServiceClient
- func (_m *PoolServiceClient) Close() error
- func (_m *PoolServiceClient) Connection() *grpc.ClientConn
- func (_m *PoolServiceClient) CreatePool(ctx context.Context, req *poolsv1.CreatePoolRequest, opts ...gax.CallOption) (*poolsv1.Pool, error)
- func (_m *PoolServiceClient) GetPool(ctx context.Context, req *poolsv1.GetPoolRequest, opts ...gax.CallOption) (*poolsv1.Pool, error)
- func (_m *PoolServiceClient) ListPools(ctx context.Context, req *poolsv1.ListPoolsRequest, opts ...gax.CallOption) v1.PoolIterator
- type ProtocolServiceClient
- func (_m *ProtocolServiceClient) BroadcastTransaction(ctx context.Context, req *v1.BroadcastTransactionRequest, ...) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceClient) Close() error
- func (_m *ProtocolServiceClient) Connection() *grpc.ClientConn
- func (_m *ProtocolServiceClient) ConstructTransaction(ctx context.Context, req *v1.ConstructTransactionRequest, ...) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceClient) ConstructTransferTransaction(ctx context.Context, req *v1.ConstructTransferTransactionRequest, ...) (*typesv1.Transaction, error)
- func (_m *ProtocolServiceClient) EstimateFee(ctx context.Context, req *v1.EstimateFeeRequest, opts ...gax.CallOption) (*v1.EstimateFeeResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressIterator ¶
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 ¶
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 ¶
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 ¶
func (_m *BalanceDetailIterator) Next() (*v1.BalanceDetail, error)
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 ¶
func (_m *BalanceDetailIterator) Response() *v1.ListBalanceDetailsResponse
Response provides a mock function with given fields:
type BalanceIterator ¶
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 ¶
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 ¶
func (_m *BlockchainServiceClient) BatchGetAssets(ctx context.Context, req *v1.BatchGetAssetsRequest, opts ...gax.CallOption) (*v1.BatchGetAssetsResponse, error)
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 ¶
func (_m *BlockchainServiceClient) ListAssets(ctx context.Context, req *v1.ListAssetsRequest, opts ...gax.CallOption) clientsv1.AssetIterator
ListAssets provides a mock function with given fields: ctx, req, opts
func (*BlockchainServiceClient) ListNetworks ¶
func (_m *BlockchainServiceClient) ListNetworks(ctx context.Context, req *v1.ListNetworksRequest, opts ...gax.CallOption) clientsv1.NetworkIterator
ListNetworks provides a mock function with given fields: ctx, req, opts
type ClientWrappedAddDeviceOperation ¶
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 ¶
func (_m *ClientWrappedAddDeviceOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedAddDeviceOperation) Metadata ¶
func (_m *ClientWrappedAddDeviceOperation) Metadata() (*mpc_keysv1.AddDeviceMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedAddDeviceOperation) Name ¶
func (_m *ClientWrappedAddDeviceOperation) Name() string
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 ¶
func (_m *ClientWrappedAddDeviceOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedAddDeviceOperation) Wait ¶
func (_m *ClientWrappedAddDeviceOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Wait provides a mock function with given fields: ctx, opts
type ClientWrappedCreateDeviceGroupOperation ¶
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 ¶
func (_m *ClientWrappedCreateDeviceGroupOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedCreateDeviceGroupOperation) Metadata ¶
func (_m *ClientWrappedCreateDeviceGroupOperation) Metadata() (*mpc_keysv1.CreateDeviceGroupMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedCreateDeviceGroupOperation) Name ¶
func (_m *ClientWrappedCreateDeviceGroupOperation) Name() string
Name provides a mock function with given fields:
func (*ClientWrappedCreateDeviceGroupOperation) PathPrefix ¶
func (_m *ClientWrappedCreateDeviceGroupOperation) PathPrefix() string
PathPrefix provides a mock function with given fields:
func (*ClientWrappedCreateDeviceGroupOperation) Poll ¶
func (_m *ClientWrappedCreateDeviceGroupOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedCreateDeviceGroupOperation) Wait ¶
func (_m *ClientWrappedCreateDeviceGroupOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Wait provides a mock function with given fields: ctx, opts
type ClientWrappedCreateMPCTransactionOperation ¶
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 ¶
func (_m *ClientWrappedCreateMPCTransactionOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedCreateMPCTransactionOperation) Metadata ¶
func (_m *ClientWrappedCreateMPCTransactionOperation) Metadata() (*mpc_transactionsv1.CreateMPCTransactionMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedCreateMPCTransactionOperation) Name ¶
func (_m *ClientWrappedCreateMPCTransactionOperation) Name() string
Name provides a mock function with given fields:
func (*ClientWrappedCreateMPCTransactionOperation) PathPrefix ¶
func (_m *ClientWrappedCreateMPCTransactionOperation) PathPrefix() string
PathPrefix provides a mock function with given fields:
func (*ClientWrappedCreateMPCTransactionOperation) Poll ¶
func (_m *ClientWrappedCreateMPCTransactionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_transactionsv1.MPCTransaction, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedCreateMPCTransactionOperation) Wait ¶
func (_m *ClientWrappedCreateMPCTransactionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_transactionsv1.MPCTransaction, error)
Wait provides a mock function with given fields: ctx, opts
type ClientWrappedCreateMPCWalletOperation ¶
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 ¶
func (_m *ClientWrappedCreateMPCWalletOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedCreateMPCWalletOperation) Metadata ¶
func (_m *ClientWrappedCreateMPCWalletOperation) Metadata() (*mpc_walletsv1.CreateMPCWalletMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedCreateMPCWalletOperation) Name ¶
func (_m *ClientWrappedCreateMPCWalletOperation) Name() string
Name provides a mock function with given fields:
func (*ClientWrappedCreateMPCWalletOperation) PathPrefix ¶
func (_m *ClientWrappedCreateMPCWalletOperation) PathPrefix() string
PathPrefix provides a mock function with given fields:
func (*ClientWrappedCreateMPCWalletOperation) Poll ¶
func (_m *ClientWrappedCreateMPCWalletOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_walletsv1.MPCWallet, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedCreateMPCWalletOperation) Wait ¶
func (_m *ClientWrappedCreateMPCWalletOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_walletsv1.MPCWallet, error)
Wait provides a mock function with given fields: ctx, opts
type ClientWrappedCreateSignatureOperation ¶
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 ¶
func (_m *ClientWrappedCreateSignatureOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedCreateSignatureOperation) Metadata ¶
func (_m *ClientWrappedCreateSignatureOperation) Metadata() (*mpc_keysv1.CreateSignatureMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedCreateSignatureOperation) Name ¶
func (_m *ClientWrappedCreateSignatureOperation) Name() string
Name provides a mock function with given fields:
func (*ClientWrappedCreateSignatureOperation) PathPrefix ¶
func (_m *ClientWrappedCreateSignatureOperation) PathPrefix() string
PathPrefix provides a mock function with given fields:
func (*ClientWrappedCreateSignatureOperation) Poll ¶
func (_m *ClientWrappedCreateSignatureOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.Signature, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedCreateSignatureOperation) Wait ¶
func (_m *ClientWrappedCreateSignatureOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.Signature, error)
Wait provides a mock function with given fields: ctx, opts
type ClientWrappedPrepareDeviceArchiveOperation ¶
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 ¶
func (_m *ClientWrappedPrepareDeviceArchiveOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceArchiveOperation) Metadata ¶
func (_m *ClientWrappedPrepareDeviceArchiveOperation) Metadata() (*mpc_keysv1.PrepareDeviceArchiveMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceArchiveOperation) Name ¶
func (_m *ClientWrappedPrepareDeviceArchiveOperation) Name() string
Name provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceArchiveOperation) PathPrefix ¶
func (_m *ClientWrappedPrepareDeviceArchiveOperation) PathPrefix() string
PathPrefix provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceArchiveOperation) Poll ¶
func (_m *ClientWrappedPrepareDeviceArchiveOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedPrepareDeviceArchiveOperation) Wait ¶
func (_m *ClientWrappedPrepareDeviceArchiveOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Wait provides a mock function with given fields: ctx, opts
type ClientWrappedPrepareDeviceBackupOperation ¶
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 ¶
func (_m *ClientWrappedPrepareDeviceBackupOperation) Done() bool
Done provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceBackupOperation) Metadata ¶
func (_m *ClientWrappedPrepareDeviceBackupOperation) Metadata() (*mpc_keysv1.PrepareDeviceBackupMetadata, error)
Metadata provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceBackupOperation) Name ¶
func (_m *ClientWrappedPrepareDeviceBackupOperation) Name() string
Name provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceBackupOperation) PathPrefix ¶
func (_m *ClientWrappedPrepareDeviceBackupOperation) PathPrefix() string
PathPrefix provides a mock function with given fields:
func (*ClientWrappedPrepareDeviceBackupOperation) Poll ¶
func (_m *ClientWrappedPrepareDeviceBackupOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Poll provides a mock function with given fields: ctx, opts
func (*ClientWrappedPrepareDeviceBackupOperation) Wait ¶
func (_m *ClientWrappedPrepareDeviceBackupOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*mpc_keysv1.DeviceGroup, error)
Wait provides a mock function with given fields: ctx, opts
type MPCKeyServiceClient ¶
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 ¶
func (_m *MPCKeyServiceClient) AddDevice(ctx context.Context, req *v1.AddDeviceRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedAddDeviceOperation, error)
AddDevice provides a mock function with given fields: ctx, req, opts
func (*MPCKeyServiceClient) AddDeviceOperation ¶
func (_m *MPCKeyServiceClient) AddDeviceOperation(name string) clientsv1.ClientWrappedAddDeviceOperation
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 ¶
func (_m *MPCKeyServiceClient) CreateDeviceGroup(ctx context.Context, req *v1.CreateDeviceGroupRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedCreateDeviceGroupOperation, error)
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 ¶
func (_m *MPCKeyServiceClient) CreateSignature(ctx context.Context, req *v1.CreateSignatureRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedCreateSignatureOperation, error)
CreateSignature provides a mock function with given fields: ctx, req, opts
func (*MPCKeyServiceClient) CreateSignatureOperation ¶
func (_m *MPCKeyServiceClient) CreateSignatureOperation(name string) clientsv1.ClientWrappedCreateSignatureOperation
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 ¶
func (_m *MPCKeyServiceClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error)
GetOperation provides a mock function with given fields: ctx, req, opts
func (*MPCKeyServiceClient) ListMPCOperations ¶
func (_m *MPCKeyServiceClient) ListMPCOperations(ctx context.Context, req *v1.ListMPCOperationsRequest, opts ...gax.CallOption) (*v1.ListMPCOperationsResponse, error)
ListMPCOperations provides a mock function with given fields: ctx, req, opts
func (*MPCKeyServiceClient) PrepareDeviceArchive ¶
func (_m *MPCKeyServiceClient) PrepareDeviceArchive(ctx context.Context, req *v1.PrepareDeviceArchiveRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedPrepareDeviceArchiveOperation, error)
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 ¶
func (_m *MPCKeyServiceClient) PrepareDeviceBackup(ctx context.Context, req *v1.PrepareDeviceBackupRequest, opts ...gax.CallOption) (clientsv1.ClientWrappedPrepareDeviceBackupOperation, error)
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 ¶
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 ¶
func (_m *MPCTransactionIterator) Next() (*v1.MPCTransaction, error)
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 ¶
func (_m *MPCTransactionIterator) Response() *v1.ListMPCTransactionsResponse
Response provides a mock function with given fields:
type MPCTransactionServiceClient ¶
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 ¶
func (_m *MPCTransactionServiceClient) CreateMPCTransaction(ctx context.Context, req *mpc_transactionsv1.CreateMPCTransactionRequest, opts ...gax.CallOption) (v1.ClientWrappedCreateMPCTransactionOperation, error)
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 ¶
func (_m *MPCTransactionServiceClient) GetMPCTransaction(ctx context.Context, req *mpc_transactionsv1.GetMPCTransactionRequest, opts ...gax.CallOption) (*mpc_transactionsv1.MPCTransaction, error)
GetMPCTransaction provides a mock function with given fields: ctx, req, opts
func (*MPCTransactionServiceClient) GetOperation ¶
func (_m *MPCTransactionServiceClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error)
GetOperation provides a mock function with given fields: ctx, req, opts
func (*MPCTransactionServiceClient) ListMPCTransactions ¶
func (_m *MPCTransactionServiceClient) ListMPCTransactions(ctx context.Context, req *mpc_transactionsv1.ListMPCTransactionsRequest, opts ...gax.CallOption) v1.MPCTransactionIterator
ListMPCTransactions provides a mock function with given fields: ctx, req, opts
type MPCWalletIterator ¶
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 ¶
func (_m *MPCWalletIterator) Response() *v1.ListMPCWalletsResponse
Response provides a mock function with given fields:
type MPCWalletServiceClient ¶
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 ¶
func (_m *MPCWalletServiceClient) CreateMPCWallet(ctx context.Context, req *mpc_walletsv1.CreateMPCWalletRequest, opts ...gax.CallOption) (v1.ClientWrappedCreateMPCWalletOperation, error)
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 ¶
func (_m *MPCWalletServiceClient) GenerateAddress(ctx context.Context, req *mpc_walletsv1.GenerateAddressRequest, opts ...gax.CallOption) (*mpc_walletsv1.Address, error)
GenerateAddress provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) GetAddress ¶
func (_m *MPCWalletServiceClient) GetAddress(ctx context.Context, req *mpc_walletsv1.GetAddressRequest, opts ...gax.CallOption) (*mpc_walletsv1.Address, error)
GetAddress provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) GetMPCWallet ¶
func (_m *MPCWalletServiceClient) GetMPCWallet(ctx context.Context, req *mpc_walletsv1.GetMPCWalletRequest, opts ...gax.CallOption) (*mpc_walletsv1.MPCWallet, error)
GetMPCWallet provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) GetOperation ¶
func (_m *MPCWalletServiceClient) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error)
GetOperation provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) ListAddresses ¶
func (_m *MPCWalletServiceClient) ListAddresses(ctx context.Context, req *mpc_walletsv1.ListAddressesRequest, opts ...gax.CallOption) v1.AddressIterator
ListAddresses provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) ListBalanceDetails ¶
func (_m *MPCWalletServiceClient) ListBalanceDetails(ctx context.Context, req *mpc_walletsv1.ListBalanceDetailsRequest, opts ...gax.CallOption) v1.BalanceDetailIterator
ListBalanceDetails provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) ListBalances ¶
func (_m *MPCWalletServiceClient) ListBalances(ctx context.Context, req *mpc_walletsv1.ListBalancesRequest, opts ...gax.CallOption) v1.BalanceIterator
ListBalances provides a mock function with given fields: ctx, req, opts
func (*MPCWalletServiceClient) ListMPCWallets ¶
func (_m *MPCWalletServiceClient) ListMPCWallets(ctx context.Context, req *mpc_walletsv1.ListMPCWalletsRequest, opts ...gax.CallOption) v1.MPCWalletIterator
ListMPCWallets provides a mock function with given fields: ctx, req, opts
type NetworkIterator ¶
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 ¶
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 ¶
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 ¶
func (_m *PoolServiceClient) ListPools(ctx context.Context, req *poolsv1.ListPoolsRequest, opts ...gax.CallOption) v1.PoolIterator
ListPools provides a mock function with given fields: ctx, req, opts
type ProtocolServiceClient ¶
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 ¶
func (_m *ProtocolServiceClient) EstimateFee(ctx context.Context, req *v1.EstimateFeeRequest, opts ...gax.CallOption) (*v1.EstimateFeeResponse, error)
EstimateFee provides a mock function with given fields: ctx, req, opts
Source Files ¶
- AddressIterator.go
- AssetIterator.go
- BalanceDetailIterator.go
- BalanceIterator.go
- BlockchainServiceClient.go
- ClientWrappedAddDeviceOperation.go
- ClientWrappedCreateDeviceGroupOperation.go
- ClientWrappedCreateMPCTransactionOperation.go
- ClientWrappedCreateMPCWalletOperation.go
- ClientWrappedCreateSignatureOperation.go
- ClientWrappedPrepareDeviceArchiveOperation.go
- ClientWrappedPrepareDeviceBackupOperation.go
- MPCKeyServiceClient.go
- MPCTransactionIterator.go
- MPCTransactionServiceClient.go
- MPCWalletIterator.go
- MPCWalletServiceClient.go
- NetworkIterator.go
- PoolIterator.go
- PoolServiceClient.go
- ProtocolServiceClient.go