Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsSystemLabels ¶
Checks if labels array contains system labels
func EncodeRelease ¶
EncodeRelease encodes a release returning a base64 encoded gzipped string representation, or error.
func FilterSystemLabels ¶
Removes system labels from labels map
func GetSystemLabels ¶
func GetSystemLabels() []string
Types ¶
type Release ¶
type Release struct {
// Name is the name of the release
Name string `json:"name,omitempty"`
// Info provides information about a release
Info *rspb.Info `json:"info,omitempty"`
// Chart is the chart that was released.
Chart *chart.Chart `json:"chart,omitempty"`
// Config is the set of extra Values added to the chart.
// These values override the default values inside of the chart.
Config map[string]interface{} `json:"config,omitempty"`
// Manifest is the string representation of the rendered template.
Manifest string `json:"manifest,omitempty"`
// Hooks are all of the hooks declared for this release.
Hooks []*rspb.Hook `json:"hooks,omitempty"`
// Version is an int which represents the revision of the release.
Version int `json:"version,omitempty"`
// Namespace is the kubernetes namespace of the release.
Namespace string `json:"namespace,omitempty"`
// Labels of the release.
Labels map[string]string `json:"labels,omitempty"`
}
Release describes a deployment of a chart, together with the chart and the variables used to deploy that chart. we had to make our own copy of the struct to expose the Labels field
func DecodeRelease ¶
DecodeRelease decodes the bytes of data into a release type. Data must contain a base64 encoded gzipped string of a valid release, otherwise an error is returned.
Click to show internal directories.
Click to hide internal directories.