docker: github.com/docker/docker/daemon/cluster/executor/container Index | Files

package container

import "github.com/docker/docker/daemon/cluster/executor/container"

Index

Package Files

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

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")
)

func NewExecutor Uses

func NewExecutor(b executorpkg.Backend, p plugin.Backend, i executorpkg.ImageBackend, v executorpkg.VolumeBackend) exec.Executor

NewExecutor returns an executor from the docker client.

Package container imports 49 packages (graph) and is imported by 231 packages. Updated 2020-08-03. Refresh now. Tools for package owners.