package container

import "github.com/docker/cli/components/engine/daemon/cluster/executor/container"

Index

Variables

var (
	// ErrImageRequired returned if a task is missing the image definition.
	ErrImageRequired = errors.New("dockerexec: image required")

	// ErrContainerDestroyed returned when a container is prematurely destroyed
	// during a wait call.
	ErrContainerDestroyed = errors.New("dockerexec: container destroyed")

	// ErrContainerUnhealthy returned if controller detects the health check failure
	ErrContainerUnhealthy = errors.New("dockerexec: unhealthy container")
)

Functions

func NewExecutor

func NewExecutor(b executorpkg.Backend, p plugin.Backend) exec.Executor

NewExecutor returns an executor from the docker client.

Source Files

adapter.go attachment.go container.go controller.go errors.go executor.go validate.go

Version
v17.12.0-ce-rc3+incompatible
Published
Dec 14, 2017
Platform
windows/amd64
Imports
47 packages
Last checked
1 hour ago

Tools for package owners.