valuesvalidation

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValuesValidator

type ValuesValidator struct {
	GlobalSchemaStorage  *validation.SchemaStorage
	ModuleSchemaStorages map[string]*validation.SchemaStorage
}

func NewValuesValidator

func NewValuesValidator(moduleName, modulePath string) (*ValuesValidator, error)

func (*ValuesValidator) ValidateConfigValues

func (vv *ValuesValidator) ValidateConfigValues(moduleName string, obj utils.Values) error

func (*ValuesValidator) ValidateGlobalValues

func (vv *ValuesValidator) ValidateGlobalValues(obj utils.Values) error

func (*ValuesValidator) ValidateHelmValues

func (vv *ValuesValidator) ValidateHelmValues(moduleName, values string) error

func (*ValuesValidator) ValidateJSONValues

func (vv *ValuesValidator) ValidateJSONValues(moduleName string, values []byte, configValues bool) error

func (*ValuesValidator) ValidateModuleHelmValues

func (vv *ValuesValidator) ValidateModuleHelmValues(moduleName string, obj utils.Values) error

func (*ValuesValidator) ValidateModuleValues

func (vv *ValuesValidator) ValidateModuleValues(moduleName string, obj utils.Values) error

func (*ValuesValidator) ValidateValues

func (vv *ValuesValidator) ValidateValues(moduleName string, values chartutil.Values) error

ValidateValues is an adapter between JSONRepr and Values

Jump to

Keyboard shortcuts

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