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.11.0-ce-rc2+incompatible
Published
Nov 1, 2017
Platform
js/wasm
Imports
47 packages
Last checked
4 hours ago

Tools for package owners.