helm

package
v2.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Index

Constants

View Source
const InstallNamespaceAnnotation = "kluctl.io/helm-install-namespace"

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

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

func NewChart

func NewChart(repo string, localPath string, chartName string, helmAuthProvider auth.HelmAuthProvider, credentialsId string, ociAuthProvider auth_provider.OciAuthProvider) (*Chart, error)

func (*Chart) BuildPulledChartDir

func (c *Chart) BuildPulledChartDir(baseDir string, version string) (string, error)

func (*Chart) GetChartName

func (c *Chart) GetChartName() string

func (*Chart) GetLatestVersion

func (c *Chart) GetLatestVersion(constraints *string) (string, error)

func (*Chart) GetLocalChartVersion

func (c *Chart) GetLocalChartVersion() (string, error)

func (*Chart) GetLocalPath

func (c *Chart) GetLocalPath() string

func (*Chart) GetPrePulledChart added in v2.24.1

func (c *Chart) GetPrePulledChart(baseDir string, version string) (*PulledChart, error)

func (*Chart) GetRepo

func (c *Chart) GetRepo() string

func (*Chart) IsLocalChart

func (c *Chart) IsLocalChart() bool

func (*Chart) Pull

func (c *Chart) Pull(ctx context.Context, pc *PulledChart) error

func (*Chart) PullCached

func (c *Chart) PullCached(ctx context.Context, version string) (*PulledChart, error)

func (*Chart) PullInProject

func (c *Chart) PullInProject(ctx context.Context, baseDir string, version string) (*PulledChart, error)

func (*Chart) PullToTmp

func (c *Chart) PullToTmp(ctx context.Context, version string) (*PulledChart, error)

func (*Chart) QueryVersions

func (c *Chart) QueryVersions(ctx context.Context) error

type PulledChart

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

func NewPulledChart

func NewPulledChart(chart *Chart, version string, dir string, isTmp bool) *PulledChart

func (*PulledChart) CheckExists

func (pc *PulledChart) CheckExists() bool

func (*PulledChart) CheckNeedsPull

func (pc *PulledChart) CheckNeedsPull() (bool, bool, string, error)

type Release

type Release struct {
	ConfigFile string
	Config     *types.HelmChartConfig
	Chart      *Chart
	// contains filtered or unexported fields
}

func NewRelease

func NewRelease(ctx context.Context, projectRoot string, relDirInProject string, configFile string, baseChartsDir string, helmAuthProvider auth.HelmAuthProvider, ociAuthProvider auth_provider.OciAuthProvider) (*Release, error)

func (*Release) GetFullOutputPath

func (hr *Release) GetFullOutputPath() (string, error)

func (*Release) GetOutputPath

func (hr *Release) GetOutputPath() string

func (*Release) Render

func (hr *Release) Render(ctx context.Context, k *k8s.K8sCluster, k8sVersion string, sopsDecrypter *decryptor.Decryptor) error

func (*Release) Save

func (hr *Release) Save() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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