Documentation
¶
Index ¶
- Constants
- func DeleteTiller(kubectlClient *kubernetes.Clientset, privateConfig *v1.PrivateConfig) error
- func IsTillerDeployed(kubectlClient *kubernetes.Clientset, privateConfig *v1.PrivateConfig) bool
- type HelmClientWrapper
- func (helmClientWrapper *HelmClientWrapper) DeleteRelease(releaseName string, purge bool) (*rls.UninstallReleaseResponse, error)
- func (helmClientWrapper *HelmClientWrapper) InstallChartByName(releaseName string, releaseNamespace string, chartName string, ...) (*hapi_release5.Release, error)
- func (helmClientWrapper *HelmClientWrapper) InstallChartByPath(releaseName string, releaseNamespace string, chartPath string, ...) (*hapi_release5.Release, error)
- func (helmClientWrapper *HelmClientWrapper) ReleaseExists(releaseName string) (bool, error)
Constants ¶
View Source
const TillerDeploymentName = "tiller-deploy"
TillerDeploymentName is the string identifier for the tiller deployment
Variables ¶
This section is empty.
Functions ¶
func DeleteTiller ¶ added in v0.2.0
func DeleteTiller(kubectlClient *kubernetes.Clientset, privateConfig *v1.PrivateConfig) error
DeleteTiller clears the tiller server, the service account and role binding
func IsTillerDeployed ¶ added in v0.2.0
func IsTillerDeployed(kubectlClient *kubernetes.Clientset, privateConfig *v1.PrivateConfig) bool
IsTillerDeployed determines if we could connect to a tiller server
Types ¶
type HelmClientWrapper ¶
type HelmClientWrapper struct {
Client *k8shelm.Client
Settings *helmenvironment.EnvSettings
// contains filtered or unexported fields
}
HelmClientWrapper holds the necessary information for helm
func NewClient ¶
func NewClient(kubectlClient *kubernetes.Clientset, upgradeTiller bool) (*HelmClientWrapper, error)
NewClient creates a new helm client
func (*HelmClientWrapper) DeleteRelease ¶ added in v0.2.0
func (helmClientWrapper *HelmClientWrapper) DeleteRelease(releaseName string, purge bool) (*rls.UninstallReleaseResponse, error)
DeleteRelease deletes a helm release and optionally purges it
func (*HelmClientWrapper) InstallChartByName ¶
func (helmClientWrapper *HelmClientWrapper) InstallChartByName(releaseName string, releaseNamespace string, chartName string, chartVersion string, values *map[interface{}]interface{}) (*hapi_release5.Release, error)
InstallChartByName installs the given chart by name under the releasename in the releasenamespace
func (*HelmClientWrapper) InstallChartByPath ¶
func (helmClientWrapper *HelmClientWrapper) InstallChartByPath(releaseName string, releaseNamespace string, chartPath string, values *map[interface{}]interface{}) (*hapi_release5.Release, error)
InstallChartByPath installs the given chartpath und the releasename in the releasenamespace
func (*HelmClientWrapper) ReleaseExists ¶
func (helmClientWrapper *HelmClientWrapper) ReleaseExists(releaseName string) (bool, error)
ReleaseExists checks if the given release name exists
Click to show internal directories.
Click to hide internal directories.