docker

package
v1.2.130 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DockerConfigDir string
)

Functions

func CliBuild_LiveOutput

func CliBuild_LiveOutput(ctx context.Context, args ...string) error

func CliBuild_LiveOutputWithCustomIn added in v1.2.2

func CliBuild_LiveOutputWithCustomIn(ctx context.Context, rc io.ReadCloser, args ...string) error

func CliCreate

func CliCreate(ctx context.Context, args ...string) error

func CliPull

func CliPull(ctx context.Context, args ...string) error

func CliPullWithRetries

func CliPullWithRetries(ctx context.Context, args ...string) error

func CliPushWithRetries

func CliPushWithRetries(ctx context.Context, args ...string) error

func CliRm

func CliRm(ctx context.Context, args ...string) error

func CliRm_RecordedOutput

func CliRm_RecordedOutput(ctx context.Context, args ...string) (string, error)

func CliRmi

func CliRmi(ctx context.Context, args ...string) error

func CliRmi_LiveOutput

func CliRmi_LiveOutput(ctx context.Context, args ...string) error

func CliRun

func CliRun(ctx context.Context, args ...string) error

func CliRun_LiveOutput

func CliRun_LiveOutput(ctx context.Context, args ...string) error

func CliRun_ProvidedOutput added in v1.2.26

func CliRun_ProvidedOutput(ctx context.Context, stdoutWriter, stderrWriter io.Writer, args ...string) error

func CliRun_RecordedOutput

func CliRun_RecordedOutput(ctx context.Context, args ...string) (string, error)

func CliTag

func CliTag(ctx context.Context, args ...string) error

func ContainerAttach added in v1.2.1

func ContainerAttach(ctx context.Context, ref string, options types.ContainerAttachOptions) (types.HijackedResponse, error)

func ContainerCommit

func ContainerCommit(ctx context.Context, ref string, commitOptions types.ContainerCommitOptions) (string, error)

func ContainerExist

func ContainerExist(ctx context.Context, ref string) (bool, error)

func ContainerInspect

func ContainerInspect(ctx context.Context, ref string) (types.ContainerJSON, error)

func ContainerRemove

func ContainerRemove(ctx context.Context, ref string, options types.ContainerRemoveOptions) error

func Containers

func Containers(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)

func CreateImage

func CreateImage(ctx context.Context, ref string, labels map[string]string) error

func ImageExist

func ImageExist(ctx context.Context, ref string) (bool, error)

func ImageInspect

func ImageInspect(ctx context.Context, ref string) (*types.ImageInspect, error)

func Images

func Images(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)

func Info added in v1.1.36

func Info(ctx context.Context) (types.Info, error)

func Init

func Init(ctx context.Context, dockerConfigDir string, verbose, debug bool, platform string) error

func IsContext added in v1.1.23

func IsContext(ctx context.Context) bool

func IsEnabled added in v1.1.36

func IsEnabled() bool

func Login

func Login(ctx context.Context, username, password, repo string) error

func NewContext added in v1.1.23

func NewContext(ctx context.Context) (context.Context, error)

func ServerVersion

func ServerVersion(ctx context.Context) (*types.Version, error)

func SyncContextCliWithLogger added in v1.1.23

func SyncContextCliWithLogger(ctx context.Context) error

func VolumeRm

func VolumeRm(ctx context.Context, volumeName string, force bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL