package
0.3.0
Repository: https://github.com/bdwilliams/libcompose.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Convert converts a service configuration to an docker API structures (Config and HostConfig).
ConvertToAPI converts a service configuration to a docker API container configuration.
CreateContainer creates a container and return a Container struct (and an error if any).
DefaultDependentServices return the dependent services (as an array of ServiceRelationship) for the specified project and service.
Filter filters the specified string slice with the specified function.
GetContainer looks up the hosts containers with the specified ID or name and returns it, or an error.
GetContainerFromIpcLikeConfig returns name of the service that shares the IPC namespace with the specified service.
GetContainersByFilter looks up the hosts containers with the specified filters and returns a list of container matching it, or an error.
New creates a container struct with the specified client, id and name.
NewConfigAuthLookup creates a new ConfigAuthLookup for a given context.
NewInspected creates a container struct from an inspected container.
NewNamer returns a namer that returns names based on the specified project and service name and an inner counter, e.g.
NewProject creates a Project with the specified context.
NewService creates a service.
NewSingleNamer returns a namer that only allows a single name.

# Constants

ComposeVersion is name of docker-compose.yml file syntax supported version.

# Structs

ConfigAuthLookup implements AuthLookup by reading a Docker config file.
ConfigWrapper wraps Config, HostConfig and NetworkingConfig for a container.
Container holds information about a docker container and the service it is tied on.
Context holds context meta information about a libcompose project and docker client information (like configuration file, builder to use, …).
Project implements project.RuntimeProject and define docker runtime specific methods.
Service is a project.Service implementations.
ServiceFactory is an implementation of project.ServiceFactory.

# Interfaces

AuthLookup defines a method for looking up authentication information.
Namer defines method to provide container name.