package
23.0.0-beta.1+incompatible
Repository: https://github.com/nobidev/docker-cli.git
Documentation: pkg.go.dev
# Functions
GetDeprecatedProperties returns the list of any deprecated properties that are used in the compose files.
GetUnsupportedProperties returns the list of any unsupported properties that are used in the Compose files.
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.
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.
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.
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.
# Structs
ForbiddenPropertiesError is returned when there are properties in the Compose file that are forbidden.
Options supported by Load.
Transformer defines a map to type transformer.
# Type aliases
TransformerFunc defines a function to perform the actual transformation.