Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSchemaLocation = "https://kubernetesjsonschema.dev"
DefaultSchemaLocation is the default value for SchemaLocation.
View Source
var SchemaLocation string
SchemaLocation represents the URL of schema location.
View Source
var Version string
Version represents the Kubernetes version.
Functions ¶
This section is empty.
Types ¶
type ValidFormat ¶
type ValidFormat struct{}
ValidFormat is for some formats in Kubernetes loaded to gojsonschema.
func (ValidFormat) IsFormat ¶
func (f ValidFormat) IsFormat(input interface{}) bool
IsFormat fulfills gojsonschema.FormatChecker interface.
type ValidationResult ¶
type ValidationResult struct { FileName string Kind string APIVersion string Errors []gojsonschema.ResultError }
ValidationResult contains Kubernetes resource schema validation result.
Click to show internal directories.
Click to hide internal directories.