Documentation ¶
Index ¶
- Constants
- type Chart
- func (c *Chart) BuildPulledChartDir(baseDir string, version string) (string, error)
- func (c *Chart) GetChartName() string
- func (c *Chart) GetLatestVersion(constraints *string) (string, error)
- func (c *Chart) GetLocalChartVersion() (string, error)
- func (c *Chart) GetLocalPath() string
- func (c *Chart) GetPrePulledChart(baseDir string, version string) (*PulledChart, error)
- func (c *Chart) GetRepo() string
- func (c *Chart) IsLocalChart() bool
- func (c *Chart) Pull(ctx context.Context, pc *PulledChart) error
- func (c *Chart) PullCached(ctx context.Context, version string) (*PulledChart, error)
- func (c *Chart) PullInProject(ctx context.Context, baseDir string, version string) (*PulledChart, error)
- func (c *Chart) PullToTmp(ctx context.Context, version string) (*PulledChart, error)
- func (c *Chart) QueryVersions(ctx context.Context) error
- type PulledChart
- type Release
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 (*Chart) GetChartName ¶
func (*Chart) GetLatestVersion ¶
func (*Chart) GetLocalChartVersion ¶
func (*Chart) GetLocalPath ¶
func (*Chart) GetPrePulledChart ¶ added in v2.24.1
func (c *Chart) GetPrePulledChart(baseDir string, version string) (*PulledChart, error)
func (*Chart) IsLocalChart ¶
func (*Chart) PullCached ¶
func (*Chart) PullInProject ¶
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 (*Release) GetOutputPath ¶
Click to show internal directories.
Click to hide internal directories.