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
Kube *kube.Kube
Namespace string
Instance *api.Instance
}
Helm represents all current releases that we can find in the cluster
func NewHelm ¶
func NewHelm(namespace string, kubeContext string, instance *api.Instance, kubeConfigPath string) (*Helm, error)
NewHelm returns a basic helm struct with the version of helm requested
func NewHelmWithKubeClient ¶
func NewHelmWithKubeClient(version string, store string, 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. As of helm 2 being deprecated, this is just a passthrough to getReleasesVersionThree. It has been left in place to ensure api backward compatibility.
Click to show internal directories.
Click to hide internal directories.