helm

package
v0.0.0-...-e5f8ed5 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertStatus

func ConvertStatus(status release.Status) model.Status

ConvertStatus converts helm status to dataset service api status

Types

type Client

type Client interface {
	// ReadChart read a helm chart given by the chart path.
	ReadChart(chartPath string) (*chart.Chart, error)
	// InstallOrUpgrade upgrades an existing helm release or install a new one.
	InstallOrUpgrade(release string, ns string, chart *chart.Chart, values map[string]any, actionConfig *action.Configuration) (*release.Release, error)
	// Uninstall uninstalls an existing helm release.
	Uninstall(release string, ns string, actionConfig *action.Configuration) error
}

Client is interface for a helm client

func NewClient

func NewClient(kubeConfig string) Client

NewClient create a helm client that's connected to a cluster specified by the kubeConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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