Documentation ¶
Index ¶
- func NewInstaller(config *rest.Config, modifiers ...InstallerModifierFn) (uxp.Installer, error)
- func NewParser(base map[string]interface{}, overrides map[string]string) uxp.ParameterParser
- type HomeDirFn
- type InstallerModifierFn
- func AllowUnstableVersions(d bool) InstallerModifierFn
- func Force(f bool) InstallerModifierFn
- func RollbackOnError(r bool) InstallerModifierFn
- func WithCacheDir(c string) InstallerModifierFn
- func WithChartName(name string) InstallerModifierFn
- func WithLogger(l logging.Logger) InstallerModifierFn
- func WithNamespace(ns string) InstallerModifierFn
- func WithRepoURL(u *url.URL) InstallerModifierFn
- type LoaderFn
- type Parser
- type TempDirFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstaller ¶
NewInstaller builds a helm installer for UXP.
Types ¶
type InstallerModifierFn ¶
type InstallerModifierFn func(*installer)
InstallerModifierFn modifies the installer.
func AllowUnstableVersions ¶
func AllowUnstableVersions(d bool) InstallerModifierFn
AllowUnstableVersions allows installing development versions using the helm installer.
func RollbackOnError ¶
func RollbackOnError(r bool) InstallerModifierFn
RollbackOnError will cause installer to rollback on failed upgrade.
func WithCacheDir ¶
func WithCacheDir(c string) InstallerModifierFn
WithCacheDir sets the cache directory for the helm installer.
func WithChartName ¶
func WithChartName(name string) InstallerModifierFn
WithChartName sets the chart name for the helm installer.
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.
func WithRepoURL ¶
func WithRepoURL(u *url.URL) InstallerModifierFn
WithRepoURL sets the repo URL for the helm installer.
Click to show internal directories.
Click to hide internal directories.