helm

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Psql17AirbyteTag = "1.7.0-17"
)

Variables

This section is empty.

Functions

func BuildAirbyteValues

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

func BuildNginxValues

func BuildNginxValues(port int) (string, error)

func ClientOptions

func ClientOptions(namespace string) *helmclient.Options

func LocateLatestAirbyteChart

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

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

Jump to

Keyboard shortcuts

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