Documentation
¶
Index ¶
- func GetGlobalValues(rootDir string) (*spec.Schema, error)
- func GetModuleValues(modulePath string) (*spec.Schema, error)
- func LoadSchemaFromBytes(openAPIContent []byte) (*spec.Schema, error)
- func OverrideValues(values, vals *chartutil.Values) error
- func YAMLBytesToJSONDoc(data []byte) (json.RawMessage, error)
- type SchemaType
- type Schemas
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSchemaFromBytes ¶
LoadSchemaFromBytes returns spec.Schema object loaded from YAML bytes.
func OverrideValues ¶
func YAMLBytesToJSONDoc ¶
func YAMLBytesToJSONDoc(data []byte) (json.RawMessage, error)
YAMLBytesToJSONDoc is a replacement of swag.YAMLData and YAMLDoc to Unmarshal into interface{}. swag.BytesToYAML uses yaml.MapSlice to unmarshal YAML. This type doesn't support map merge of YAML anchors.
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.