Documentation ¶
Index ¶
- Constants
- 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 (Provider) NodeIP(node *e2e.Node) net.IP
- func (p Provider) Reconnect(ctx context.Context, name string, _ string) 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 ¶
View Source
const DockerComposeFile = "compose.yaml"
Variables ¶
This section is empty.
Functions ¶
func ExecCompose ¶ added in v0.38.0
ExecCompose runs a Docker Compose command for a testnet.
func ExecComposeOutput ¶ added in v0.38.0
ExecCompose runs a Docker Compose command for a testnet and returns the command's output.
func ExecComposeVerbose ¶ added in v0.38.0
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 ¶ added in v1.0.0
func (Provider) Disconnect ¶ added in v1.0.0
func (*Provider) Setup ¶
Setup generates the docker-compose file and write it to disk, erroring if any of these operations fail.
func (Provider) StartNodes ¶ added in v0.38.0
Click to show internal directories.
Click to hide internal directories.