v3

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 36 Imported by: 2

Documentation

Index

Constants

View Source
const VERSION = "v3"

Variables

This section is empty.

Functions

func New

func New(logger log.Logger, kubeConfig *rest.Config) helm.Client

New creates a new HelmV3 client

Types

type Converter added in v1.2.0

type Converter struct {
	TillerNamespace  string
	KubeConfig       string // file path to kubeconfig
	TillerOutCluster bool
	StorageType      string
}

Converter Converts a given helm 2 release with all its release versions to helm 3 format and deletes the old release from tiller

func (Converter) Convert added in v1.2.0

func (c Converter) Convert(releaseName string, dryRun bool) error

Convert attempts to convert the given release name from v2 to v3.

func (Converter) V2ReleaseExists added in v1.2.0

func (c Converter) V2ReleaseExists(releaseName string) (bool, error)

V2ReleaseExists helps you check if a helm v2 release exists or not

type HelmOptions

type HelmOptions struct {
	Driver    string
	Namespace string
}

type HelmV3

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

func (*HelmV3) DependencyUpdate

func (h *HelmV3) DependencyUpdate(chartPath string) error

func (*HelmV3) Get

func (h *HelmV3) Get(releaseName string, opts helm.GetOptions) (*helm.Release, error)

func (*HelmV3) GetChartRevision added in v1.2.0

func (h *HelmV3) GetChartRevision(chartPath string) (string, error)

func (*HelmV3) History

func (h *HelmV3) History(releaseName string, opts helm.HistoryOptions) ([]*helm.Release, error)

func (*HelmV3) Pull

func (h *HelmV3) Pull(ref, version, dest string) (string, error)

func (*HelmV3) PullWithRepoURL

func (h *HelmV3) PullWithRepoURL(repoURL, name, version, dest string) (string, error)

func (*HelmV3) RepositoryAdd

func (h *HelmV3) RepositoryAdd(name, url, username, password, certFile, keyFile, caFile string) error

func (*HelmV3) RepositoryImport

func (h *HelmV3) RepositoryImport(path string) error

func (*HelmV3) RepositoryIndex

func (h *HelmV3) RepositoryIndex() error

func (*HelmV3) RepositoryRemove

func (h *HelmV3) RepositoryRemove(name string) error

func (*HelmV3) Rollback

func (h *HelmV3) Rollback(releaseName string, opts helm.RollbackOptions) (*helm.Release, error)

func (*HelmV3) Status added in v1.1.0

func (h *HelmV3) Status(releaseName string, opts helm.StatusOptions) (helm.Status, error)

func (*HelmV3) Test added in v1.2.0

func (h *HelmV3) Test(releaseName string, opts helm.TestOptions) error

func (*HelmV3) Uninstall

func (h *HelmV3) Uninstall(releaseName string, opts helm.UninstallOptions) error

func (*HelmV3) UpgradeFromPath

func (h *HelmV3) UpgradeFromPath(chartPath string, releaseName string, values []byte,
	opts helm.UpgradeOptions) (*helm.Release, error)

func (*HelmV3) Version

func (h *HelmV3) Version() string

Jump to

Keyboard shortcuts

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