Versions in this module Expand all Collapse all v0 v0.1.0 Oct 18, 2022 Changes in this version + type ContainerCmd struct + func (c *ContainerCmd) Run(ctx context.Context) error + func (c *ContainerCmd) SetEnv(env ...string) + func (c *ContainerCmd) SetStderr(w io.Writer) + func (c *ContainerCmd) SetStdin(r io.Reader) + func (c *ContainerCmd) SetStdout(w io.Writer) + type ContainerCmder struct + func GetContainerCmder(containerNameOrID string) *ContainerCmder + func (c *ContainerCmder) Command(command string, args ...string) *ContainerCmd + type Node struct + ClusterRole string + Commander *ContainerCmder + Image string + InternalIP string + Name string + func NewNode(name, image, role string) *Node + func (n *Node) Delete(ctx context.Context) error + func (n *Node) IP(ctx context.Context) (ipv4 string, err error) + func (n *Node) IsRunning() bool + func (n *Node) Kill(ctx context.Context, signal string) error + func (n *Node) Role() (string, error) + func (n *Node) WithStatus(status string) *Node + func (n *Node) WriteFile(ctx context.Context, dest, content string) error + func (n Node) String() string