Documentation ¶
Index ¶
- type MockDistributionAccountResolver
- func (_m *MockDistributionAccountResolver) DistributionAccount(ctx context.Context, tenantID string) (string, error)
- func (_m *MockDistributionAccountResolver) DistributionAccountFromContext(ctx context.Context) (string, error)
- func (_m *MockDistributionAccountResolver) HostDistributionAccount() string
- type MockSignatureClient
- func (_m *MockSignatureClient) BatchInsert(ctx context.Context, number int) ([]string, error)
- func (_m *MockSignatureClient) Delete(ctx context.Context, publicKey string) error
- func (_m *MockSignatureClient) NetworkPassphrase() string
- func (_m *MockSignatureClient) SignFeeBumpStellarTransaction(ctx context.Context, feeBumpStellarTx *txnbuild.FeeBumpTransaction, ...) (*txnbuild.FeeBumpTransaction, error)
- func (_m *MockSignatureClient) SignStellarTransaction(ctx context.Context, stellarTx *txnbuild.Transaction, ...) (*txnbuild.Transaction, error)
- func (_m *MockSignatureClient) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDistributionAccountResolver ¶
MockDistributionAccountResolver is an autogenerated mock type for the DistributionAccountResolver type
func NewMockDistributionAccountResolver ¶
func NewMockDistributionAccountResolver(t mockConstructorTestingTNewMockDistributionAccountResolver) *MockDistributionAccountResolver
NewMockDistributionAccountResolver creates a new instance of MockDistributionAccountResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockDistributionAccountResolver) DistributionAccount ¶
func (_m *MockDistributionAccountResolver) DistributionAccount(ctx context.Context, tenantID string) (string, error)
DistributionAccount provides a mock function with given fields: ctx, tenantID
func (*MockDistributionAccountResolver) DistributionAccountFromContext ¶
func (_m *MockDistributionAccountResolver) DistributionAccountFromContext(ctx context.Context) (string, error)
DistributionAccountFromContext provides a mock function with given fields: ctx
func (*MockDistributionAccountResolver) HostDistributionAccount ¶
func (_m *MockDistributionAccountResolver) HostDistributionAccount() string
HostDistributionAccount provides a mock function with given fields:
type MockSignatureClient ¶
MockSignatureClient is an autogenerated mock type for the SignatureClient type
func NewMockSignatureClient ¶
func NewMockSignatureClient(t mockConstructorTestingTNewMockSignatureClient) *MockSignatureClient
NewMockSignatureClient creates a new instance of MockSignatureClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockSignatureClient) BatchInsert ¶
BatchInsert provides a mock function with given fields: ctx, number
func (*MockSignatureClient) Delete ¶
func (_m *MockSignatureClient) Delete(ctx context.Context, publicKey string) error
Delete provides a mock function with given fields: ctx, publicKey
func (*MockSignatureClient) NetworkPassphrase ¶
func (_m *MockSignatureClient) NetworkPassphrase() string
NetworkPassphrase provides a mock function with given fields:
func (*MockSignatureClient) SignFeeBumpStellarTransaction ¶
func (_m *MockSignatureClient) SignFeeBumpStellarTransaction(ctx context.Context, feeBumpStellarTx *txnbuild.FeeBumpTransaction, stellarAccounts ...string) (*txnbuild.FeeBumpTransaction, error)
SignFeeBumpStellarTransaction provides a mock function with given fields: ctx, feeBumpStellarTx, stellarAccounts
func (*MockSignatureClient) SignStellarTransaction ¶
func (_m *MockSignatureClient) SignStellarTransaction(ctx context.Context, stellarTx *txnbuild.Transaction, stellarAccounts ...string) (*txnbuild.Transaction, error)
SignStellarTransaction provides a mock function with given fields: ctx, stellarTx, stellarAccounts
func (*MockSignatureClient) Type ¶
func (_m *MockSignatureClient) Type() string
Type provides a mock function with given fields: