Documentation
¶
Index ¶
- Variables
- func DownloadDockerCliBinary(version, target string) error
- type Container
- func (c *Container) CopyToContainer(ctx context.Context, source, target string, excludePatterns []string) error
- func (c *Container) CopyToHost(ctx context.Context, source, target string) error
- func (c *Container) Create(ctx context.Context, net *Network, requireVol bool, mounts []mount.Mount) error
- func (c *Container) Destroy(ctx context.Context) error
- func (c *Container) Exec(ctx context.Context, workdir string, cmd []string, ...) error
- func (c *Container) GetLogs(ctx context.Context, handler func(reader io.Reader) error) error
- func (c *Container) IsImageExists(ctx context.Context) (bool, error)
- func (c *Container) Pull(ctx context.Context) error
- func (c *Container) Start(ctx context.Context) error
- func (c *Container) Wait(ctx context.Context) error
- type Input
- type Network
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedArchitectures = []string{"x86_64", "aarch64"}
Functions ¶
func DownloadDockerCliBinary ¶ added in v0.2.0
Types ¶
type Container ¶
type Container struct { ID string UID int GID int Inputs *Input Network *Network Vol *volume.Volume DockerDaemonVol *volume.Volume // contains filtered or unexported fields }
func NewContainer ¶
func (*Container) CopyToContainer ¶
func (*Container) CopyToHost ¶
func (*Container) IsImageExists ¶
type Network ¶
type Network struct { ID string Name string Containers []*Container // contains filtered or unexported fields }
func NewNetwork ¶
func (*Network) AddService ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.