Documentation
¶
Index ¶
- func CheckDocker(ctx context.Context) error
- func Client() *client.Client
- func Init() (*client.Client, error)
- func PullImageIfNotCached(ctx context.Context, imageName string) error
- func RunOnceWithConfig(ctx context.Context, cfg container.Config, hostConfig container.HostConfig, ...) error
- type ContainerOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDocker ¶
func RunOnceWithConfig ¶
func RunOnceWithConfig(ctx context.Context, cfg container.Config, hostConfig container.HostConfig, stdout, stderr *ContainerOutput) error
Types ¶
type ContainerOutput ¶
type ContainerOutput struct {
// contains filtered or unexported fields
}
func NewContainerOutput ¶
func NewContainerOutput() *ContainerOutput
func (*ContainerOutput) Bytes ¶
func (o *ContainerOutput) Bytes() []byte
func (*ContainerOutput) String ¶
func (o *ContainerOutput) String() string
Click to show internal directories.
Click to hide internal directories.