Documentation ¶
Index ¶
- func GetDatabase(t *testing.T, cfg *configs.Config) *upstreamgorm.DB
- func LoadConfig(t *testing.T) *configs.Config
- func NewFlowAccount(t *testing.T, fc flow_helpers.FlowClient, creatorAddress flow.Address, ...) *flow.Account
- func NewFlowClient(t *testing.T, cfg *configs.Config) flow_helpers.FlowClient
- func ReadFile(t *testing.T, path string) []byte
- func WaitForJob(jobSvc jobs.Service, jobId string) (*jobs.Job, error)
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDatabase ¶
func NewFlowAccount ¶
func NewFlowAccount(t *testing.T, fc flow_helpers.FlowClient, creatorAddress flow.Address, creatorKey *flow.AccountKey, creatorSigner crypto.Signer) *flow.Account
func NewFlowClient ¶
func NewFlowClient(t *testing.T, cfg *configs.Config) flow_helpers.FlowClient
Types ¶
type Services ¶
type Services interface { GetAccounts() accounts.Service GetJobs() jobs.Service GetTemplates() templates.Service GetTokens() tokens.Service GetTransactions() transactions.Service GetSystem() system.Service GetOps() ops.Service GetKeyManager() keys.Manager GetListener() chain_events.Listener GetFlowClient() flow_helpers.FlowClient }
Click to show internal directories.
Click to hide internal directories.