v3

package
v1.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 30 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 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) 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) PullWithOptions

func (h *HelmV3) PullWithOptions(ref, version, dest string, options []getter.Option) (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.Release, 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