values

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGlobalValues

func GetGlobalValues(rootDir string) (*spec.Schema, error)

func GetModuleValues

func GetModuleValues(modulePath string) (*spec.Schema, error)

func LoadSchemaFromBytes

func LoadSchemaFromBytes(openAPIContent []byte) (*spec.Schema, error)

LoadSchemaFromBytes returns spec.Schema object loaded from YAML bytes.

func OverrideValues

func OverrideValues(values, vals *chartutil.Values) error

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

Jump to

Keyboard shortcuts

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