helm

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAirbyteValues added in v0.19.0

func BuildAirbyteValues(ctx context.Context, opts ValuesOpts) (string, error)

func BuildNginxValues added in v0.19.0

func BuildNginxValues(port int) (string, error)

func ClientOptions added in v0.21.0

func ClientOptions(namespace string) *helmclient.Options

func LocateLatestAirbyteChart added in v0.19.0

func LocateLatestAirbyteChart(chartVersion, chartFlag string) string

Types

type Client

type Client interface {
	AddOrUpdateChartRepo(entry repo.Entry) error
	GetChart(name string, options *action.ChartPathOptions) (*chart.Chart, string, error)
	GetRelease(name string) (*release.Release, error)
	InstallOrUpgradeChart(ctx context.Context, spec *helmclient.ChartSpec, opts *helmclient.GenericHelmOptions) (*release.Release, error)
	UninstallReleaseByName(name string) error
	TemplateChart(spec *helmclient.ChartSpec, options *helmclient.HelmTemplateOptions) ([]byte, error)
}

Client primarily for testing purposes

func New

func New(kubecfg, kubectx, namespace string) (Client, error)

New returns the default helm client

type ValuesOpts added in v0.19.0

type ValuesOpts struct {
	ValuesFile      string
	LowResourceMode bool
	InsecureCookies bool
	TelemetryUser   string
	ImagePullSecret string
}

Jump to

Keyboard shortcuts

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