helm

package
v0.0.0-...-0d95af9 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2018 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDeploymentState

func CheckDeploymentState(kubeConfig *[]byte, releaseName string) (string, error)

CheckDeploymentState checks the state of Helm deployment

func CreateDeployment

func CreateDeployment(chartName string, releaseName string, valueOverrides []byte, kubeConfig *[]byte, path string) (*rls.InstallReleaseResponse, error)

CreateDeployment creates a Helm deployment

func DeleteAllDeployment

func DeleteAllDeployment(kubeconfig *[]byte) error

DeleteAllDeployment deletes all Helm deployment

func DeleteDeployment

func DeleteDeployment(releaseName string, kubeConfig *[]byte) error

DeleteDeployment deletes a Helm deployment

func GetDeployment

func GetDeployment()

GetDeployment - N/A

func GetDeploymentStatus

func GetDeploymentStatus(releaseName string, kubeConfig *[]byte) (int32, error)

GetDeploymentStatus retrieves the status of the passed in release name. returns with an error if the release is not found or another error occurs in case of error the status is filled with information to classify the error cause

func GetHelmClient

func GetHelmClient(kubeConfig *[]byte) (*helm.Client, error)

GetHelmClient establishes Tunnel for Helm client TODO check client and config if both needed

func GetK8sClientConfig

func GetK8sClientConfig(kubeConfig *[]byte) (*rest.Config, error)

GetK8sClientConfig creates a Kubernetes client config

func GetK8sConnection

func GetK8sConnection(kubeConfig *[]byte) (*kubernetes.Clientset, error)

GetK8sConnection creates a new Kubernetes client

func Install

func Install(helmInstall *helm.Install, kubeConfig *[]byte, path string) error

Install uses Kubernetes client to install Tiller.

func ListDeployments

func ListDeployments(filter *string, kubeConfig *[]byte) (*rls.ListReleasesResponse, error)

ListDeployments lists Helm deployments

func PreInstall

func PreInstall(helmInstall *helm.Install, kubeConfig *[]byte) error

PreInstall create's ServiceAccount and AccountRoleBinding

func RetryHelmInstall

func RetryHelmInstall(helmInstall *helm.Install, kubeconfig *[]byte, path string) error

RetryHelmInstall retries for a configurable time/interval Azure AKS sometimes failing because of TLS handshake timeout, there are several issues on GitHub about that: https://github.com/Azure/AKS/issues/112, https://github.com/Azure/AKS/issues/116, https://github.com/Azure/AKS/issues/14

func UpgradeDeployment

func UpgradeDeployment(deploymentName, chartName string, values map[string]interface{}, kubeConfig *[]byte) (string, error)

UpgradeDeployment upgrades a Helm deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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