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 DefaultHelmClient ¶
func DefaultHelmClient() types.HelmClient
a HelmClient that talks to the kube api server and creates resources
func MustInstaller ¶
func NewInstaller ¶
func NewInstaller(helmClient types.HelmClient, kubeNsClient NamespaceClient, outputWriter io.Writer) types.Installer
visible for testing
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. |
Click to show internal directories.
Click to hide internal directories.