package schema

import "github.com/docker/cli/cli/compose/schema"

Index

Functions

func Validate

func Validate(config map[string]interface{}, version string) error

Validate uses the jsonschema to validate the configuration

func Version

func Version(config map[string]interface{}) string

Version returns the version of the config, defaulting to version 1.0

Source Files

bindata.go schema.go

Directories

PathSynopsis
cli/compose/schema/data
Version
v20.10.7+incompatible
Published
May 31, 2021
Platform
linux/amd64
Imports
14 packages
Last checked
1 hour ago

Tools for package owners.