validation

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TraefikJsonSchemaRef             = "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/traefik-v2.json"
	TraefikFileProviderJsonSchemaRef = "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/traefik-v2-file-provider.json"
)

Variables

This section is empty.

Functions

func ValidateFileProviderConfig

func ValidateFileProviderConfig(fileProviderConfigDirectory string) (err error)

Validates the file provider configuration by reading a directory and running the validation via JSON Schema.

func ValidateJsonSchema

func ValidateJsonSchema(configFile string, schemaRef string) (err error)

Validates the configuration by reading a file and running the validation via JSON Schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

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