v3

package
v0.0.0-...-e7a7093 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddReposFromFile

func AddReposFromFile(customRepoFile string) error

func DefaultEnvSettings

func DefaultEnvSettings() *cli.EnvSettings

Types

type HelmV3

type HelmV3 struct {
	// contains filtered or unexported fields
}

func NewActionConfig

func NewActionConfig(namespace string, cfg *rest.Config) (*HelmV3, error)

func (HelmV3) DownloadChart

func (h HelmV3) DownloadChart(repoUrl, repoAlias, chart, version, username, password, destDir string) (string, error)

func (*HelmV3) FindDownloadUrlFromCacheFile

func (h *HelmV3) FindDownloadUrlFromCacheFile(repoCacheFile *repo.IndexFile, chartName, chartVersion string) (string, error)

func (*HelmV3) GetRelease

func (h *HelmV3) GetRelease(releaseName string) (*release.Release, error)

func (*HelmV3) GetRepoUrlFromRepoConfig

func (h *HelmV3) GetRepoUrlFromRepoConfig(repoAliasName string) (string, string, string, error)

func (*HelmV3) InstallRelease

func (h *HelmV3) InstallRelease(chartPath string, options InstallOptions, values map[string]interface{}) (*release.Release, error)

InstallRelease installs helm charts, assuming a chart path locally exists

func (*HelmV3) RefreshRepoIndex

func (h *HelmV3) RefreshRepoIndex(repoAlias string) error

func (*HelmV3) RollbackToRevision

func (h *HelmV3) RollbackToRevision(releaseName string, rollbackOptions RollbackToRevisionOptions) error

func (*HelmV3) UninstallRelease

func (h *HelmV3) UninstallRelease(releaseName string) (*release.UninstallReleaseResponse, error)

func (*HelmV3) UpgradeRelease

func (h *HelmV3) UpgradeRelease(chartPath string, opts UpgradeOptions, values map[string]interface{}) (*release.Release, error)

type InstallOptions

type InstallOptions struct {
	Namespace                string
	DryRun                   bool
	DisableHooks             bool
	Wait                     bool
	Timeout                  time.Duration
	ReleaseName              string
	Atomic                   bool
	DisableOpenAPIValidation bool
	IncludeCRDs              bool
}

type RollbackToRevisionOptions

type RollbackToRevisionOptions struct {
	Force       bool
	Wait        bool
	WaitTimeout int
	ToRevision  int
}

type UpgradeOptions

type UpgradeOptions struct {
	Namespace                string
	DryRun                   bool
	DisableHooks             bool
	Wait                     bool
	Timeout                  time.Duration
	ReleaseName              string
	Atomic                   bool
	SkipCRDs                 bool
	DisableOpenAPIValidation bool
	CleanupOnFail            bool
	Force                    bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL