Documentation
¶
Index ¶
- Constants
- func NewManager(config *rest.Config, chartName string, repoURL *url.URL, ...) (install.Manager, error)
- func NewParser(base map[string]interface{}, overrides map[string]string) install.ParameterParser
- type HomeDirFn
- type InstallerModifierFn
- func Force(f bool) InstallerModifierFn
- func IsOCI() InstallerModifierFn
- func RollbackOnError(r bool) InstallerModifierFn
- func WithAlternateChart(chartName string) InstallerModifierFn
- func WithBasicAuth(username, password string) InstallerModifierFn
- func WithCacheDir(c string) InstallerModifierFn
- func WithChart(chartFile *os.File) InstallerModifierFn
- func WithLogger(l logging.Logger) InstallerModifierFn
- func WithNamespace(ns string) InstallerModifierFn
- type LoaderFn
- type Parser
- type TempDirFn
Constants ¶
View Source
const ( // HelmChartConfigMediaType is the reserved media type for the Helm chart // manifest config. HelmChartConfigMediaType = "application/vnd.cncf.helm.config.v1+json" // HelmChartContentLayerMediaType is the reserved media type for Helm chart // package content. HelmChartContentLayerMediaType = "application/tar+gzip" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstallerModifierFn ¶
type InstallerModifierFn func(*installer)
InstallerModifierFn modifies the installer.
func RollbackOnError ¶
func RollbackOnError(r bool) InstallerModifierFn
RollbackOnError will cause installer to rollback on failed upgrade.
func WithAlternateChart ¶
func WithAlternateChart(chartName string) InstallerModifierFn
WithAlternateChart sets an alternate chart that is compatible to upgrade from if installed.
func WithBasicAuth ¶
func WithBasicAuth(username, password string) InstallerModifierFn
WithBasicAuth sets the username and password for the helm installer.
func WithCacheDir ¶
func WithCacheDir(c string) InstallerModifierFn
WithCacheDir sets the cache directory for the helm installer.
func WithChart ¶
func WithChart(chartFile *os.File) InstallerModifierFn
WithChart sets the chart to be installed/upgraded
func WithLogger ¶
func WithLogger(l logging.Logger) InstallerModifierFn
WithLogger sets the logger for the helm installer.
func WithNamespace ¶
func WithNamespace(ns string) InstallerModifierFn
WithNamespace sets the namespace for the helm installer.
Click to show internal directories.
Click to hide internal directories.