helm

package
v0.0.0-...-cd6d19d Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrefixComment = "# --"
)

Variables

This section is empty.

Functions

func FindChartDirectories

func FindChartDirectories(chartSearchRoot string) ([]string, error)

Types

type ChartDocumentationInfo

type ChartDocumentationInfo struct {
	ChartMeta
	ChartRequirements

	ChartDirectory          string
	ChartValues             *yaml.Node
	ChartValuesDescriptions map[string]ChartValueDescription
}

func ParseChartInformation

func ParseChartInformation(chartDirectory string, documentationParsingConfig ChartValuesDocumentationParsingConfig) (ChartDocumentationInfo, error)

type ChartMeta

type ChartMeta struct {
	ApiVersion  string `yaml:"apiVersion"`
	AppVersion  string `yaml:"appVersion"`
	KubeVersion string `yaml:"kubeVersion"`
	Name        string
	Deprecated  bool
	Description string
	Version     string
	Home        string
	Type        string
	Sources     []string
	Engine      string
	Maintainers []ChartMetaMaintainer
}

type ChartMetaMaintainer

type ChartMetaMaintainer struct {
	Email string
	Name  string
	Url   string
}

type ChartRequirements

type ChartRequirements struct {
	Dependencies []ChartRequirementsItem
}

type ChartRequirementsItem

type ChartRequirementsItem struct {
	Name       string
	Version    string
	Repository string
	Alias      string
}

type ChartValueDescription

type ChartValueDescription struct {
	Description  string
	Default      string
	ValueType    string
	NotationType string
}

func ParseComment

func ParseComment(commentLines []string) (string, ChartValueDescription)

type ChartValuesDocumentationParsingConfig

type ChartValuesDocumentationParsingConfig struct {
	StrictMode                 bool
	AllowedMissingValuePaths   []string
	AllowedMissingValueRegexps []*regexp.Regexp
}

Jump to

Keyboard shortcuts

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