helm

package
v0.0.0-...-1333f46 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchChart

func FetchChart(repo, chartName, version string) (*chart.Chart, error)

func ParseString

func ParseString(value any) (any, error)

func ParseValue

func ParseValue(value any) (any, error)

func SetChartValue

func SetChartValue(keys []string, value any, chart map[string]any)

func UpdateHelmRepositories

func UpdateHelmRepositories() error

Types

type Client

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

func NewClient

func NewClient(dryRun bool, repo *database.Repo) Client

func (Client) InstallOrUpgrade

func (c Client) InstallOrUpgrade(ctx context.Context, helmEvent HelmEventData, logger logger.Logger) error

func (Client) Rollback

func (c Client) Rollback(ctx context.Context, helmEvent HelmEventData, logger logger.Logger) (bool, error)

func (Client) Uninstall

func (c Client) Uninstall(ctx context.Context, helmEvent HelmEventData, logger logger.Logger) bool

type HelmEventData

type HelmEventData struct {
	TeamID       string
	Namespace    string
	ReleaseName  string
	ChartType    gensql.ChartType
	ChartRepo    string
	ChartName    string
	ChartVersion string
}

Jump to

Keyboard shortcuts

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