chart

package
v2.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalClientProvider

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

func (*LocalClientProvider) GetClientFor

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
	DropInvalidAnnotationsAndLabels bool
	ExtraAPIVersions                []string
	HelmOptions                     common.HelmOptions
	IgnoreBundleJS                  bool
	LintMode                        bool
	LocalKubeVersion                string
	LocalLookupResourcesPaths       []string
	NoStandaloneCRDs                bool
	NoValuesSchemaValidation        bool
	Remote                          bool
	SubchartNotes                   bool
	TempDirPath                     string
	TemplatesAllowDNS               bool
}

type RenderChartResult

type RenderChartResult struct {
	Chart         helmchart.Accessor
	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