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.0+incompatible
Published
Dec 7, 2020
Platform
linux/amd64
Imports
14 packages
Last checked
36 minutes ago

Tools for package owners.