# Functions
No description provided by the author
IsServiceDependency check the relation set by ref refers to a service.
Load reads a ConfigDetails and returns a fully loaded configuration.
LoadConfigObjs produces a ConfigObjConfig map from a compose file Dict the source Dict is not validated if directly used.
LoadIncludeConfig parse the require config from raw yaml.
LoadNetworks produces a NetworkConfig map from a compose file Dict the source Dict is not validated if directly used.
LoadSecrets produces a SecretConfig map from a compose file Dict the source Dict is not validated if directly used.
LoadService produces a single ServiceConfig from a compose file Dict the serviceDict is not validated if directly used.
LoadServices produces a ServiceConfig map from a compose file Dict the servicesDict is not validated if directly used.
LoadVolumes produces a VolumeConfig map from a compose file Dict the source Dict is not validated if directly used.
LoadWithContext reads a ConfigDetails and returns a fully loaded configuration.
Normalize compose project by moving deprecated attributes to their canonical position and injecting implicit defaults.
No description provided by the author
ParseShortSSHSyntax parse short syntax for SSH authentications.
ParseVolume parses a volume spec without any knowledge of the target platform.
ParseYAML reads the bytes from a file, parses the bytes into a mapping structure, and returns it.
ResolveRelativePaths resolves relative paths based on project WorkingDirectory.
No description provided by the author
Transform converts the source into the target struct with compose types transformer and the specified transformers if any.
WithDiscardEnvFiles sets the Options to discard the `env_file` section after resolving to the `environment` section.
WithProfiles sets profiles to be activated.
WithSkipValidation sets the Options to skip validation when loading sections.
# Variables
No description provided by the author
# Structs
ForbiddenPropertiesError is returned when there are properties in the Compose file that are forbidden.
Options supported by Load.
No description provided by the author
Transformer defines a map to type transformer.
# Interfaces
PostProcessor is used to tweak compose model based on metadata extracted during yaml Unmarshal phase that hardly can be implemented using go-yaml and mapstructure.
ResourceLoader is a plugable remote resource resolver.
# Type aliases
TransformerFunc defines a function to perform the actual transformation.