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 version 1.0
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
cli/compose/schema/data |
- Version
- v20.10.17+incompatible
- Published
- Jun 6, 2022
- Platform
- darwin/amd64
- Imports
- 14 packages
- Last checked
- 1 minute ago –
Tools for package owners.