Documentation ¶
Index ¶
- func Exec(ctx context.Context, args ...string) error
- func ExecCompose(ctx context.Context, dir string, args ...string) error
- func ExecComposeOutput(ctx context.Context, dir string, args ...string) ([]byte, error)
- func ExecComposeVerbose(ctx context.Context, dir string, args ...string) error
- func ExecVerbose(ctx context.Context, args ...string) error
- type Provider
- func (Provider) CheckUpgraded(ctx context.Context, node *e2e.Node) (string, bool, error)
- func (p Provider) Disconnect(ctx context.Context, name string, _ string) error
- func (p Provider) Reconnect(ctx context.Context, name string, _ string) error
- func (p Provider) SetLatency(ctx context.Context, node *e2e.Node) error
- func (p *Provider) Setup() error
- func (p Provider) StartNodes(ctx context.Context, nodes ...*e2e.Node) error
- func (p Provider) StopTestnet(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCompose ¶
ExecCompose runs a Docker Compose command for a testnet.
func ExecComposeOutput ¶
ExecCompose runs a Docker Compose command for a testnet and returns the command's output.
func ExecComposeVerbose ¶
ExecComposeVerbose runs a Docker Compose command for a testnet and displays its output.
Types ¶
type Provider ¶
type Provider struct {
infra.ProviderData
}
Provider implements a docker-compose backed infrastructure provider.
func (Provider) CheckUpgraded ¶
func (Provider) Disconnect ¶
func (Provider) SetLatency ¶
func (*Provider) Setup ¶
Setup generates the docker-compose file and write it to disk, erroring if any of these operations fail.
func (Provider) StartNodes ¶
Click to show internal directories.
Click to hide internal directories.