package
2.0.0-rc.2+incompatible
Repository: https://github.com/docker/compose-cli.git
Documentation: pkg.go.dev

# Functions

ByExitCode retrieve FailureCategory based on command exit code.
InDependencyOrder applies the function to the services of the project taking in account the dependency order.
InReverseDependencyOrder applies the function to the services of the project in reverse order of dependencies.
NewComposeService create a local implementation of the compose.Service API.
NewGraph returns the dependency graph of the services.
NewVertex is the constructor function for the Vertex.
ServiceHash compute configuration has for a service TODO move this to compose-go.
ToMobyEnv convert into []string.
ToMobyHealthCheck convert into container.HealthConfig.
ToSeconds convert into seconds.
WrapCategorisedComposeError wraps the error if not nil, otherwise returns nil.
WrapComposeError wraps the error if not nil, otherwise returns nil.

# Constants

APISource is sent for API metrics.
BuildFailureStatus failure building imge.
CanceledStatus command canceled.
CommandSyntaxFailureStatus failure reading command.
ComposeParseFailureStatus failure while parsing compose file.
ContainerCreated created status.
nolint.
nolint.
nolint.
nolint.
ContainerRestarting restarting status.
ContainerRunning running status.
FailureStatus command failure.
FileNotFoundFailureStatus failure getting compose file.
PullFailureStatus failure pulling imge.
Services status flags.
Services status flags.
SuccessStatus command success.

# Variables

BuildFailure failure while building images.
CommandSyntaxFailure failure for command line syntax.
ComposeParseFailure failure for composefile parse error.
FileNotFoundFailure failure for compose file not found.
PullFailure failure while pulling image.

# Structs

ContainerStdin implement WriteCloser for moby.HijackedResponse.
ContainerStdout implement ReadCloser for moby.HijackedResponse.
Error error to categorize failures and extract metrics info.
FailureCategory sruct regrouping metrics failure status and specific exit code.
Graph represents project as service dependencies.
Vertex represents a service in the dependencies structure.

# Type aliases

Containers is a set of moby Container.
ServiceStatus indicates the status of a service.