package
1.5.1
Repository: https://github.com/jmprusi/origin.git
Documentation: pkg.go.dev

# Functions

AddEnvironmentLookUp adds mechanism for extracting environment variables, from operating system or .env file.
Convert converts a struct (src) to another one (target) using yaml marshalling/unmarshalling.
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.
GetServiceHash computes and returns a hash that will identify a service.
NameAlias returns the name and alias based on the specified string.
NewCommand create a Command based on the specified parts (as strings).
NewMaporColonSlice creates a new MaporColonSlice based on the specified parts.
NewMaporEqualSlice creates a new MaporEqualSlice based on the specified parts.
NewMaporSpaceSlice creates a new MaporSpaceSlice based on the specified parts.
NewProject create a new project with the specified context.
NewServiceRelationship creates a new Relationship based on the specified alias and relationship type.
NewSliceorMap creates a new SliceorMap based on the specified parts (as map of string).
NewStringorslice creates an Stringorslice based on the specified parts (as strings).
ParseEnvFile reads a file with environment variables enumerated by lines ``Environment variable names used by the utilities in the Shell and Utilities volume of IEEE Std 1003.1-2001 consist solely of uppercase letters, digits, and the '_' (underscore) from the characters defined in Portable Character Set and do not begin with a digit.

# 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.
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.
ValidRemotes list the of valid prefixes that can be sent to Docker as a build remote location This is public for consumers of libcompose to use.

# Structs

Command represents a docker command, can be a string or an array of strings.
ComposableEnvLookup is a structure that implements the EnvironmentLookup interface.
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.
EnvfileLookup is a structure that implements the EnvironmentLookup interface.
Event holds project-wide event informations.
FileResourceLookup is a "bare" structure that implements the project.ResourceLookup interface.
InfoPart holds key/value strings.
MaporColonSlice represents a slice of strings that gets unmarshal from a YAML map into 'key:value' string.
MaporEqualSlice represents a slice of strings that gets unmarshal from a YAML map into 'key=value' string.
MaporSpaceSlice represents a slice of strings that gets unmarshal from a YAML map into 'key value' string.
OsEnvLookup is a "bare" structure that implements the EnvironmentLookup interface.
Project holds libcompose project information.
ServiceConfig holds libcompose service configuration.
ServiceRelationship holds the relationship information between two services.
SliceorMap represents a slice or a map of strings.
Stringorslice represents a string or an array of strings.
Ulimit represent ulimit inforation.
Ulimits represent a list of Ulimit.

# Interfaces

Container defines what a libcompose container provides.
EnvironmentLookup defines methods to provides environment variable loading.
ResourceLookup defines methods to provides file loading.
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.