v2

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: 29 Imported by: 1

Documentation

Index

Constants

View Source
const VERSION = "v2"

Variables

This section is empty.

Functions

func New

func New(logger log.Logger, kubeClient *kubernetes.Clientset, opts TillerOptions) helm.Client

New attempts to setup a Helm client

Types

type HelmV2

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

HelmV2 provides access to the Helm v2 client, while adhering to the generic Client interface

func (*HelmV2) DependencyUpdate

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

func (*HelmV2) Get

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

func (*HelmV2) GetChartRevision added in v1.2.0

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

func (*HelmV2) History

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

func (*HelmV2) Pull

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

func (*HelmV2) PullWithRepoURL

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

func (*HelmV2) RepositoryAdd

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

func (*HelmV2) RepositoryImport

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

func (*HelmV2) RepositoryIndex

func (h *HelmV2) RepositoryIndex() error

func (*HelmV2) RepositoryRemove

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

func (*HelmV2) Rollback

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

func (*HelmV2) Status added in v1.1.0

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

func (*HelmV2) Test added in v1.2.0

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

func (*HelmV2) Uninstall

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

func (*HelmV2) UpgradeFromPath

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

func (*HelmV2) Version

func (h *HelmV2) Version() string

type TillerOptions

type TillerOptions struct {
	Host        string
	Port        string
	Namespace   string
	TLSVerify   bool
	TLSEnable   bool
	TLSKey      string
	TLSCert     string
	TLSCACert   string
	TLSHostname string
}

TillerOptions holds configuration options for tiller

Jump to

Keyboard shortcuts

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