validation

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SchemaJson = `` /* 1603425-byte string literal not displayed */

Functions

func Validate

func Validate(p []byte)

validate function will validate input kedgefile against JSON schema provided in pkg/validation

Types

type ValidFormat

type ValidFormat struct{}

https://github.com/xeipuuv/gojsonschema#formats

func (ValidFormat) IsFormat

func (f ValidFormat) IsFormat(input interface{}) bool

IsFormat always returns true and meets the gojsonschema.FormatChecker interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL