chart

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalClientProvider added in v1.27.0

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

func (*LocalClientProvider) GetClientFor added in v1.27.0

func (p *LocalClientProvider) GetClientFor(apiVersion, kind string) (dynamic.NamespaceableResourceInterface, bool, error)

type RenderChartOptions

type RenderChartOptions struct {
	common.ChartRepoConnectionOptions
	common.ValuesOptions

	ChartProvenanceKeyring    string
	ChartProvenanceStrategy   string
	ChartRepoNoUpdate         bool
	ChartVersion              string
	DenoBinaryPath            string
	ExtraAPIVersions          []string
	HelmOptions               helmopts.HelmOptions
	IgnoreBundleJS            bool
	LocalKubeVersion          string
	LocalLookupResourcesPaths []string
	NoStandaloneCRDs          bool
	Remote                    bool
	SubchartNotes             bool
	TempDirPath               string
	TemplatesAllowDNS         bool
}

type RenderChartResult

type RenderChartResult struct {
	Chart         *helmchart.Chart
	Notes         string
	ReleaseConfig map[string]interface{}
	ResourceSpecs []*spec.ResourceSpec
	Values        map[string]interface{}
}

func RenderChart

func RenderChart(ctx context.Context, chartPath, releaseName, releaseNamespace string, revision int, deployType common.DeployType, registryClient *registry.Client, clientFactory kube.ClientFactorier, opts RenderChartOptions) (*RenderChartResult, error)

Download chart and its dependencies, build and merge values, then render templates. Most of the logic is in Helm SDK, in Nelm its mostly orchestration level.

Jump to

Keyboard shortcuts

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