chart

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCapabilities added in v1.2.0

func BuildNotes added in v1.2.0

func BuildNotes(chartName string, renderedTemplates map[string]string, opts BuildNotesOptions) string

Types

type BuildCapabilitiesOptions added in v1.2.0

type BuildCapabilitiesOptions struct {
	APIVersions     *helmchartutil.VersionSet
	DiscoveryClient discovery.CachedDiscoveryInterface
	KubeVersion     *helmchartutil.KubeVersion
}

type BuildNotesOptions added in v1.2.0

type BuildNotesOptions struct {
	RenderSubchartNotes bool
}

type ChartTree

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

func NewChartTree

func NewChartTree(ctx context.Context, chartPath, releaseName, releaseNamespace string, revision int, deployType common.DeployType, opts ChartTreeOptions) (*ChartTree, error)

func (*ChartTree) FinalValues

func (t *ChartTree) FinalValues() map[string]interface{}

func (*ChartTree) GeneralResources

func (t *ChartTree) GeneralResources() []*resource.GeneralResource

func (*ChartTree) HookResources

func (t *ChartTree) HookResources() []*resource.HookResource

func (*ChartTree) LegacyChart

func (t *ChartTree) LegacyChart() *chart.Chart

func (*ChartTree) Name

func (t *ChartTree) Name() string

func (*ChartTree) Notes

func (t *ChartTree) Notes() string

func (*ChartTree) Path

func (t *ChartTree) Path() string

func (*ChartTree) ReleaseValues

func (t *ChartTree) ReleaseValues() map[string]interface{}

func (*ChartTree) StandaloneCRDs

func (t *ChartTree) StandaloneCRDs() []*resource.StandaloneCRD

type ChartTreeOptions

type ChartTreeOptions struct {
	Mapper           meta.ResettableRESTMapper
	DiscoveryClient  discovery.CachedDiscoveryInterface
	KubeConfig       *kube.KubeConfig
	StringSetValues  []string
	SetValues        []string
	FileValues       []string
	ValuesFiles      []string
	SubNotes         bool
	KubeVersion      *chartutil.KubeVersion
	AllowDNSRequests bool
}

TODO(ilya-lesikov): pass missing options from top-level

Jump to

Keyboard shortcuts

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