Documentation
¶
Index ¶
- func GetGlobalValues(rootDir string) (*spec.Schema, error)
- func GetModuleValues(modulePath string) (*spec.Schema, error)
- func GetModuleValuesForValuesFile(modulePath, valuesFile string) (*spec.Schema, error)
- func LoadSchemaFromBytes(openAPIContent []byte) (*spec.Schema, error)
- func OverrideValues(values, vals *chartutil.Values) error
- type SchemaType
- type Schemas
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModuleValuesForValuesFile ¶ added in v0.1.86
GetModuleValuesForValuesFile is like GetModuleValues but loads the module values schema from the given file name inside the module's openapi directory (e.g. "values_ce.yaml") instead of the default "values.yaml". The "config-values.yaml" schema, when present, is always used as the base.
func LoadSchemaFromBytes ¶
LoadSchemaFromBytes returns spec.Schema object loaded from YAML bytes.
func OverrideValues ¶
Types ¶
type SchemaType ¶
type SchemaType string
const ( ConfigValuesSchema SchemaType = "config" ValuesSchema SchemaType = "values" HelmValuesSchema SchemaType = "helm" )
type Schemas ¶
type Schemas map[SchemaType]*spec.Schema
Click to show internal directories.
Click to hide internal directories.