Documentation
¶
Index ¶
- func BuildCapabilities(ctx context.Context, opts BuildCapabilitiesOptions) (*helmchartutil.Capabilities, error)
- func BuildNotes(chartName string, renderedTemplates map[string]string, opts BuildNotesOptions) string
- func IsLocalChart(path string) bool
- func NewChartDownloader(ctx context.Context, chartRef string, registryClient *helmregistry.Client, ...) (*helmdownloader.ChartDownloader, string, error)
- type BuildCapabilitiesOptions
- type BuildNotesOptions
- type ChartDownloaderOptions
- type ChartTree
- func (t *ChartTree) GeneralResources() []*resource.GeneralResource
- func (t *ChartTree) HookResources() []*resource.HookResource
- func (t *ChartTree) LegacyChart() *chart.Chart
- func (t *ChartTree) Name() string
- func (t *ChartTree) Notes() string
- func (t *ChartTree) OverrideValues() map[string]interface{}
- func (t *ChartTree) Path() string
- func (t *ChartTree) RenderedValues() map[string]interface{}
- func (t *ChartTree) StandaloneCRDs() []*resource.StandaloneCRD
- type ChartTreeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCapabilities ¶ added in v1.2.0
func BuildCapabilities(ctx context.Context, opts BuildCapabilitiesOptions) (*helmchartutil.Capabilities, error)
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 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 (*ChartTree) OverrideValues ¶ added in v1.4.1
func (*ChartTree) RenderedValues ¶ added in v1.4.1
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
Click to show internal directories.
Click to hide internal directories.