package schema
import "github.com/docker/cli/cli/compose/schema"
Index ¶
- func Validate(config map[string]interface{}, version string) error
- func Version(config map[string]interface{}) string
Functions ¶
func Validate ¶
Validate uses the jsonschema to validate the configuration
func Version ¶
Version returns the version of the config, defaulting to the latest "3.x" version (3.11). If only the major version "3" is specified, it is used as version "3.x" and returns the default version (latest 3.x).
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cli/compose/schema/data |
- Version
- v24.0.5+incompatible
- Published
- Jul 19, 2023
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 8 minutes ago –
Tools for package owners.