Versions in this module Expand all Collapse all v0 v0.16.1 Mar 30, 2021 v0.16.0 Mar 29, 2021 Changes in this version + const DefaultSchemaLocation + const OpenShiftSchemaLocation + func AddKubevalFlags(cmd *cobra.Command, config *Config) *cobra.Command + func GetOutputManager(outFmt string) outputManager + func NewSchemaCache() map[string]*gojsonschema.Schema + type Config struct + AdditionalSchemaLocations []string + DefaultNamespace string + ExitOnError bool + FileName string + IgnoreMissingSchemas bool + InsecureSkipTLSVerify bool + KindsToReject []string + KindsToSkip []string + KubernetesVersion string + OpenShift bool + OutputFormat string + Quiet bool + SchemaLocation string + Strict bool + func NewDefaultConfig() *Config + type STDOutputManager struct + func (s *STDOutputManager) Flush() error + func (s *STDOutputManager) Put(result ValidationResult) error + type ValidFormat struct + func (f ValidFormat) IsFormat(input interface{}) bool + type ValidationResult struct + APIVersion string + Errors []gojsonschema.ResultError + FileName string + Kind string + ResourceName string + ResourceNamespace string + ValidatedAgainstSchema bool + func Validate(input []byte, conf ...*Config) ([]ValidationResult, error) + func ValidateWithCache(input []byte, schemaCache map[string]*gojsonschema.Schema, conf ...*Config) ([]ValidationResult, error) + func (v *ValidationResult) QualifiedName() string + func (v *ValidationResult) VersionKind() string