Documentation ¶
Index ¶
- type ChainEnv
- type WaspCLITest
- func (w *WaspCLITest) ActivateChainOnAllNodes(chainName string)
- func (w *WaspCLITest) Address() iotago.Address
- func (w *WaspCLITest) ArgAllNodesExcept(idx int) string
- func (w *WaspCLITest) ArgCommitteeConfig(initiatorIndex int) (string, string)
- func (w *WaspCLITest) CopyFile(srcFile string)
- func (w *WaspCLITest) GetReceiptFromRunPostRequestOutput(out []string) []string
- func (w *WaspCLITest) MustPipe(in []string, args ...string) []string
- func (w *WaspCLITest) MustRun(args ...string) []string
- func (w *WaspCLITest) Pipe(in []string, args ...string) ([]string, error)
- func (w *WaspCLITest) PostRequestGetReceipt(args ...string) []string
- func (w *WaspCLITest) Run(args ...string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainEnv ¶ added in v0.3.0
type ChainEnv struct { Clu *cluster.Cluster Chain *cluster.Chain // contains filtered or unexported fields }
func SetupWithChain ¶ added in v0.3.0
func (*ChainEnv) DepositFunds ¶ added in v0.3.0
func (*ChainEnv) NewChainClient ¶ added in v0.3.0
func (e *ChainEnv) NewChainClient() *chainclient.Client
type WaspCLITest ¶
type WaspCLITest struct { T *testing.T Cluster *cluster.Cluster WaspCliAddress iotago.Address // contains filtered or unexported fields }
func (*WaspCLITest) ActivateChainOnAllNodes ¶ added in v1.0.3
func (w *WaspCLITest) ActivateChainOnAllNodes(chainName string)
func (*WaspCLITest) Address ¶
func (w *WaspCLITest) Address() iotago.Address
func (*WaspCLITest) ArgAllNodesExcept ¶ added in v1.0.3
func (w *WaspCLITest) ArgAllNodesExcept(idx int) string
func (*WaspCLITest) ArgCommitteeConfig ¶ added in v1.0.3
func (w *WaspCLITest) ArgCommitteeConfig(initiatorIndex int) (string, string)
func (*WaspCLITest) CopyFile ¶
func (w *WaspCLITest) CopyFile(srcFile string)
CopyFile copies the given file into the temp directory
func (*WaspCLITest) GetReceiptFromRunPostRequestOutput ¶ added in v0.3.0
func (w *WaspCLITest) GetReceiptFromRunPostRequestOutput(out []string) []string
func (*WaspCLITest) MustPipe ¶ added in v1.0.3
func (w *WaspCLITest) MustPipe(in []string, args ...string) []string
func (*WaspCLITest) MustRun ¶ added in v1.0.3
func (w *WaspCLITest) MustRun(args ...string) []string
func (*WaspCLITest) Pipe ¶
func (w *WaspCLITest) Pipe(in []string, args ...string) ([]string, error)
func (*WaspCLITest) PostRequestGetReceipt ¶ added in v0.3.0
func (w *WaspCLITest) PostRequestGetReceipt(args ...string) []string
Click to show internal directories.
Click to hide internal directories.