Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶
ValidateConfig uses ValidateFile and to check config for a given directory is valid config.
func ValidateFile ¶
func ValidateFile(path string, schema *gojsonschema.Schema) (map[string]interface{}, error)
ValidateFile checks the file exists and is valid yaml, then returns the unmarshalled data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.