Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct {
Metadata *ChartMeta `json:"metadata"`
}
Chart represents a single helm chart
type ChartMeta ¶
type ChartMeta struct {
Name string `json:"name"`
Version string `json:"version"`
}
ChartMeta is the metadata of a Helm chart
type Helm ¶
type Helm struct {
Releases []*Release
Version string
Kube *kube
Namespace string
Store string
Instance *api.Instance
}
Helm represents all current releases that we can find in the cluster
func NewHelm ¶
func NewHelm(version, store, namespace string, instance *api.Instance) *Helm
NewHelm returns a basic helm struct with the version of helm requested
func NewHelmWithKubeClient ¶
func NewHelmWithKubeClient(version, store, namespace string, instance *api.Instance, kubeClient kubernetes.Interface) *Helm
NewHelmWithKubeClient returns a helm struct with version of helm requested and uses the passed in kube client as the cluster to operate on
func (*Helm) FindVersions ¶
func (h *Helm) FindVersions() error
FindVersions is the primary method in the package. It ties together all the functionality
Click to show internal directories.
Click to hide internal directories.