helm

package
v0.0.0-...-5c0e286 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartInfo

type ChartInfo struct {
	Name        string
	Config      string
	Readme      string
	Description string
	Metadata    pkgChart.Metadata
	Version     string
	AppName     string
	Chart       string
}

func GetLocalChartInfo

func GetLocalChartInfo(appName, path, chart string) (*ChartInfo, error)

type HelmPkg

type HelmPkg struct {
	// contains filtered or unexported fields
}

func NewHelmPkg

func NewHelmPkg(log *log.Helper, namespace string) (*HelmPkg, error)

func (*HelmPkg) GetLogs

func (h *HelmPkg) GetLogs() string

func (*HelmPkg) Logf

func (d *HelmPkg) Logf(format string, v ...interface{})

func (*HelmPkg) NewInstall

func (h *HelmPkg) NewInstall() (*action.Install, error)

func (*HelmPkg) NewList

func (h *HelmPkg) NewList() (*action.List, error)

func (*HelmPkg) NewUninstall

func (h *HelmPkg) NewUninstall() (*action.Uninstall, error)

func (*HelmPkg) NewUpGrade

func (h *HelmPkg) NewUpGrade() (*action.Upgrade, error)

func (*HelmPkg) RunInstall

func (h *HelmPkg) RunInstall(ctx context.Context, client *action.Install, chart, value string) (*release.Release, error)

func (*HelmPkg) RunList

func (h *HelmPkg) RunList(client *action.List) ([]*release.Release, error)

func (*HelmPkg) RunUninstall

func (h *HelmPkg) RunUninstall(client *action.Uninstall, name string) (*release.UninstallReleaseResponse, error)

func (*HelmPkg) RunUpgrade

func (h *HelmPkg) RunUpgrade(ctx context.Context, client *action.Upgrade, name, chart, value string) (*release.Release, error)

func (*HelmPkg) Write

func (h *HelmPkg) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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