package
0.2.0
Repository: https://github.com/hyperhq/libcompose.git
Documentation: pkg.go.dev

# Functions

DefaultDependentServices return the dependent services (as an array of ServiceRelationship) for the specified project and service.
GetContainerFromIpcLikeConfig returns name of the service that shares the IPC namespace with the specified service.
NameAlias returns the name and alias based on the specified string.
NewDefaultListener create a default listener for the specified project.
NewProject creates a new project with the specified context.
NewServiceRelationship creates a new Relationship based on the specified alias and relationship type.

# Constants

Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
Definitions of libcompose events.
RelTypeIpcNamespace means the service share the same ipc namespace.
RelTypeLink means the services are linked (docker links).
RelTypeNetNamespace means the services share the same network namespace.
RelTypeVolumesFrom means the services share some volumes.

# Variables

Error definitions.
Error definitions.
State definitions.
State definitions.

# Structs

Context holds context meta information about a libcompose project, like the project name, the compose file, etc.
EmptyService is a struct that implements Service but does nothing.
Event holds project-wide event informations.
InfoPart holds key/value strings.
Project holds libcompose project information.
ServiceRelationship holds the relationship information between two services.

# Interfaces

Container defines what a libcompose container provides.
Service defines what a libcompose service provides.
ServiceFactory is an interface factory to create Service object for the specified project, with the specified name and service configuration.

# Type aliases

EventType defines a type of libcompose event.
Info holds a list of InfoPart.
InfoSet holds a list of Info.
ServiceRelationshipType defines the type of service relationship.
ServiceState holds the state of a service.