Metadata for a Chart file. This models the structure of a Chart.yaml file.
| 46 | |
| 47 | // Metadata for a Chart file. This models the structure of a Chart.yaml file. |
| 48 | type Metadata struct { |
| 49 | // The name of the chart. Required. |
| 50 | Name string `json:"name,omitempty"` |
| 51 | // The URL to a relevant project page, git repo, or contact person |
| 52 | Home string `json:"home,omitempty"` |
| 53 | // Source is the URL to the source code of this chart |
| 54 | Sources []string `json:"sources,omitempty"` |
| 55 | // A SemVer 2 conformant version string of the chart. Required. |
| 56 | Version string `json:"version,omitempty"` |
| 57 | // A one-sentence description of the chart |
| 58 | Description string `json:"description,omitempty"` |
| 59 | // A list of string keywords |
| 60 | Keywords []string `json:"keywords,omitempty"` |
| 61 | // A list of name and URL/email address combinations for the maintainer(s) |
| 62 | Maintainers []*Maintainer `json:"maintainers,omitempty"` |
| 63 | // The URL to an icon file. |
| 64 | Icon string `json:"icon,omitempty"` |
| 65 | // The API Version of this chart. Required. |
| 66 | APIVersion string `json:"apiVersion,omitempty"` |
| 67 | // The condition to check to enable chart |
| 68 | Condition string `json:"condition,omitempty"` |
| 69 | // The tags to check to enable chart |
| 70 | Tags string `json:"tags,omitempty"` |
| 71 | // The version of the application enclosed inside of this chart. |
| 72 | AppVersion string `json:"appVersion,omitempty"` |
| 73 | // Whether or not this chart is deprecated |
| 74 | Deprecated bool `json:"deprecated,omitempty"` |
| 75 | // Annotations are additional mappings uninterpreted by Helm, |
| 76 | // made available for inspection by other applications. |
| 77 | Annotations map[string]string `json:"annotations,omitempty"` |
| 78 | // KubeVersion is a SemVer constraint specifying the version of Kubernetes required. |
| 79 | KubeVersion string `json:"kubeVersion,omitempty"` |
| 80 | // Dependencies are a list of dependencies for a chart. |
| 81 | Dependencies []*Dependency `json:"dependencies,omitempty"` |
| 82 | // Specifies the chart type: application or library |
| 83 | Type string `json:"type,omitempty"` |
| 84 | } |
| 85 | |
| 86 | // Validate checks the metadata for known issues and sanitizes string |
| 87 | // characters. |
nothing calls this directly
no outgoing calls
no test coverage detected