container

package
v0.0.0-...-6ef0dbd Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrImageRequired returned if a task is missing the image definition.
	ErrImageRequired = fmt.Errorf("dockerexec: image required")

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

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

Functions

func NewExecutor

func NewExecutor(b executorpkg.Backend) exec.Executor

NewExecutor returns an executor from the docker client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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