package
2.4.9
Repository: https://github.com/compose-spec/compose-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
LoadConfigFiles ingests config files with ResourceLoader and returns config details with paths to local copies.
LoadModelWithContext reads a ConfigDetails and returns a fully loaded configuration as a yaml dictionary.
LoadWithContext reads a ConfigDetails and returns a fully loaded configuration as a compose-go Project.
Normalize compose project by moving deprecated attributes to their canonical position and injecting implicit defaults.
No description provided by the author
OmitEmpty removes empty attributes which are irrelevant when unset.
ResolveEnvironment update the environment variables for the format {- VAR} (without interpolation).
ResolveRelativePaths resolves relative paths based on project WorkingDirectory.
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.

# Structs

Options supported by Load.
No description provided by the author

# 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

No description provided by the author