chart

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 35 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

func IsLocalChart added in v1.3.0

func IsLocalChart(path string) bool

func NewChartDownloader added in v1.3.0

func NewChartDownloader(ctx context.Context, chartRef string, registryClient *helmregistry.Client, opts ChartDownloaderOptions) (*helmdownloader.ChartDownloader, string, error)

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 ChartDownloaderOptions added in v1.3.0

type ChartDownloaderOptions struct {
	KeyringFile        string
	PassCredentialsAll bool
	CertFile           string
	KeyFile            string
	CaFile             string
	SkipTLSVerify      bool
	Insecure           bool
	RepoURL            string
	Username           string
	Password           string
	Version            string
}

TODO(ilya-lesikov): pass all missing options

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) 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) OverrideValues added in v1.4.1

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

func (*ChartTree) Path

func (t *ChartTree) Path() string

func (*ChartTree) RenderedValues added in v1.4.1

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

func (*ChartTree) StandaloneCRDs

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

type ChartTreeOptions

type ChartTreeOptions struct {
	AllowDNSRequests       bool
	ChartRepoInsecure      bool
	ChartRepoSkipTLSVerify bool
	ChartRepoSkipUpdate    bool
	ChartVersion           string
	DiscoveryClient        discovery.CachedDiscoveryInterface
	FileValues             []string
	KubeCAPath             string
	KubeConfig             *kube.KubeConfig
	KubeVersion            *chartutil.KubeVersion
	HelmOptions            helmopts.HelmOptions
	Mapper                 meta.ResettableRESTMapper
	NoStandaloneCRDs       bool
	RegistryClient         *registry.Client
	SetValues              []string
	StringSetValues        []string
	SubNotes               bool
	ValuesFiles            []string
}

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