package transform
import "github.com/compose-spec/compose-go/v2/transform"
Index ¶
- func Canonical(yaml map[string]any) (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 envfile.go extends.go external.go include.go mapping.go ports.go secrets.go services.go ssh.go ulimits.go volume.go
- Version
- v2.0.0
- Published
- Mar 15, 2024
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 49 minutes ago –
Tools for package owners.