package transform
import "github.com/compose-spec/compose-go/v2/transform"
Index ¶
- func Canonical(yaml map[string]any, ignoreParseError bool) (map[string]any, error)
- func SetDefaultValues(yaml map[string]any) (map[string]any, error)
Functions ¶
func Canonical ¶
Canonical transforms a compose model into canonical syntax
func SetDefaultValues ¶
SetDefaultValues transforms a compose model to set default values to missing attributes
Source Files ¶
build.go canonical.go defaults.go dependson.go device.go devices.go envfile.go extends.go external.go gpus.go include.go mapping.go ports.go secrets.go services.go ssh.go ulimits.go volume.go
- Version
- v2.6.1 (latest)
- Published
- Apr 22, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- now –
Tools for package owners.