helminstall

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReleaseAlreadyInstalledErr = func(name, namespace string) error {
		return eris.Errorf("The helm release you are trying to install (%s) appears"+
			" to already exist in %s", name, namespace)
	}
)

Functions

func DefaultHelmClientFileConfig added in v0.16.0

func DefaultHelmClientFileConfig(kubeConfig, kubeContext string) types.HelmClient

HelmClient factory that accepts kubeconfig as a file.

func DefaultHelmClientMemoryConfig added in v0.16.0

func DefaultHelmClientMemoryConfig(config clientcmd.ClientConfig) types.HelmClient

HelmClient factory that accepts kubeconfig in memory.

func NewInstaller

func NewInstaller(helmClient types.HelmClient, kubeNsClient NamespaceClient, outputWriter io.Writer) types.Installer

func NewNamespaceClient

func NewNamespaceClient(client v1.NamespaceInterface) *namespaceClient

Types

type NamespaceClient added in v0.15.0

type NamespaceClient interface {
	Create(ns *corev1.Namespace) (*corev1.Namespace, error)
	Delete(name string, options *metav1.DeleteOptions) error
	Get(name string, options metav1.GetOptions) (*corev1.Namespace, error)
	List(opts metav1.ListOptions) (*corev1.NamespaceList, error)
}

Directories

Path Synopsis
mocks
Package mock_internal is a generated GoMock package.
Package mock_internal is a generated GoMock package.
Package mock_helminstall is a generated GoMock package.
Package mock_helminstall is a generated GoMock package.
mocks
Package mock_types is a generated GoMock package.
Package mock_types is a generated GoMock package.

Jump to

Keyboard shortcuts

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