Documentation ¶
Index ¶
- func AddHelmChartPathOptionsFlags(cmd *cobra.Command)
- func AddHelmHooksFlags(cmd *cobra.Command)
- func AddHelmInstallFlags(cmd *cobra.Command)
- func AddHelmTemplateFlags(cmd *cobra.Command)
- func AddHelmTimeoutFlags(cmd *cobra.Command)
- func AddHelmUninstallFlags(cmd *cobra.Command)
- func AddHelmUpgradeFlags(cmd *cobra.Command)
- func AddHelmUpgradeInstallCommonFlags(cmd *cobra.Command)
- func SplitSortManifest(bigManifest string) ([]string, error)
- type Helm
- func (h *Helm) ActionConfig(namespace string) (*action.Configuration, error)
- func (h *Helm) DeployPlay(play *config.Play) ([]*release.Release, error)
- func (h *Helm) RepoAdd(name string, url string) error
- func (h *Helm) TemplatePlay(play *config.Play) (string, error)
- func (h *Helm) UninstallPlay(play *config.Play) ([]string, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHelmHooksFlags ¶
func AddHelmInstallFlags ¶
func AddHelmTemplateFlags ¶
func AddHelmTimeoutFlags ¶
func AddHelmUninstallFlags ¶
func AddHelmUpgradeFlags ¶
func SplitSortManifest ¶
Types ¶
type Helm ¶
type Helm struct {
// contains filtered or unexported fields
}
Helm encabsules a single helm instance
func New ¶
func New(options Options, settings *cli.EnvSettings, log logrus.FieldLogger) (*Helm, error)
New returns a new helm instance
func NewWithGetter ¶
func NewWithGetter(options Options, settings *cli.EnvSettings, getter *inventory.Kubeconfig, log logrus.FieldLogger) (*Helm, error)
NewWithGetter returns a new helm instance that uses the provided getter to retrieve kubeconfigs
func (*Helm) ActionConfig ¶
func (h *Helm) ActionConfig(namespace string) (*action.Configuration, error)
func (*Helm) DeployPlay ¶
DeployPlay renders all charts contained in a given play to a string containing kubernetes manifests
func (*Helm) TemplatePlay ¶
TemplatePlay renders all charts contained in a given play to a string containing kubernetes manifests
type Options ¶
type Options struct { CreateNamespace bool DryRun bool NoHooks bool Replace bool Timeout time.Duration Wait bool WaitForJobs bool DepdencyUpdate bool DisableOpenAPIValidation bool Atomic bool SkipCRDs bool RenderSubChartNotes bool Verify bool Keyring string Validate bool IncludeCRDs bool ExtraAPIs []string Force bool ResetValues bool ReuseValues bool HistoryMax int CleanupOnFail bool KeepHistory bool }
Options holds all (relevant) helm cli options
func NewOptions ¶
Click to show internal directories.
Click to hide internal directories.