Documentation ¶
Index ¶
Constants ¶
View Source
const LanguageCodeEn = "en"
View Source
const LanguageCodeZh = "zh"
View Source
const MetadataFilename = "extension.yaml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extension ¶
func (*Extension) ToKubernetesResources ¶
type LanguageCode ¶
type LanguageCode string
type LocaleString ¶
type LocaleString string
type Locales ¶
type Locales map[LanguageCode]LocaleString
type Metadata ¶
type Metadata struct { // The name of the chart. Required. Name string `json:"name,omitempty"` DisplayName Locales `json:"displayName,omitempty"` Description Locales `json:"description,omitempty"` ApiVersion string `json:"apiVersion,omitempty"` Icon string `json:"icon,omitempty"` Version string `json:"version,omitempty"` Keywords []string `json:"keywords,omitempty"` Sources []string `json:"sources,omitempty"` KubeVersion string `json:"kubeVersion,omitempty"` KsVersion string `json:"ksVersion,omitempty"` Home string `json:"home,omitempty"` Dependencies []*chart.Dependency `json:"dependencies,omitempty"` }
func LoadMetadata ¶
Click to show internal directories.
Click to hide internal directories.