helm

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helm

type Helm struct {
	Releases []*release.Release
	Kube     *kube
	Dynamic  *dynamicClientInstance
}

Helm represents all current releases that we can find in the cluster

func NewHelm

func NewHelm() *Helm

NewHelm returns a basic helm struct

func (*Helm) GetClusterObjects

func (h *Helm) GetClusterObjects(group string, version string, resource string, namespace string) ([]unstructured.Unstructured, error)

GetClusterObjects returns a list of unstructured.Unstructured objects

func (*Helm) GetClusterVersion

func (h *Helm) GetClusterVersion() (*version.Info, error)

func (*Helm) GetNamespaces

func (h *Helm) GetNamespaces() *v1.NamespaceList

GetNamespaces retrieves a list of namespaces for a cluster

func (*Helm) GetReleasesVersionThree

func (h *Helm) GetReleasesVersionThree() error

GetReleasesVersionThree retrieves helm 3 releases from Secrets

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL