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

# Functions

NewProjectOptions creates ProjectOptions.
ProjectFromOptions load a compose project based on command line options Deprecated: use ProjectOptions.LoadProject or ProjectOptions.LoadModel.
WithConfigFileEnv allow to set compose config file paths by COMPOSE_FILE environment variable.
WithConsistency set ProjectOptions to enable/skip consistency.
WithDefaultConfigPath searches for default config files from working directory.
WithDefaultProfiles uses the provided profiles (if any), and falls back to profiles specified via the COMPOSE_PROFILES environment variable otherwise.
WithDiscardEnvFile sets discards the `env_file` section after resolving to the `environment` section.
WithDotEnv imports environment variables from .env file.
WithEnv defines a key=value set of variables used for compose file interpolation.
WithEnvFile sets an alternate env file.
WithEnvFiles set env file(s) to be loaded to set project environment.
WithExtension register a know extension `x-*` with the go struct type to decode into.
WithInterpolation set ProjectOptions to enable/skip interpolation.
WithLoadOptions provides a hook to control how compose files are loaded.
WithName defines ProjectOptions' name.
WithNormalization set ProjectOptions to enable/skip normalization.
WithOsEnv imports environment variables from OS.
WithoutEnvironmentResolution disable environment resolution.
WithProfiles sets profiles to be activated.
WithResolvedPaths set ProjectOptions to enable paths resolution.
WithResourceLoader register support for ResourceLoader to manage remote resources.
WithWorkingDirectory defines ProjectOptions' working directory.

# Variables

DefaultFileNames defines the Compose file names for auto-discovery (in order of preference).
DefaultOverrideFileNames defines the Compose override file names for auto-discovery (in order of preference).

# Structs

ProjectOptions provides common configuration for loading a project.

# Type aliases

No description provided by the author