helm

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitClone

func GitClone(url string, userName, token string) (string, error)

func NewClient

func NewClient(kubeContext, kubeConfig string) (*helm.Client, error)

func PrintStatus

func PrintStatus(res *services.GetReleaseStatusResponse) (string, error)

Types

type Deploy

type Deploy struct {
	DryRun bool

	StackName string
	// contains filtered or unexported fields
}

func New

func New(stack, kubeContext, kubeConfig string) (*Deploy, error)

func (*Deploy) Delete

func (d *Deploy) Delete(releaseName string) (*services.UninstallReleaseResponse, error)

func (*Deploy) NewRelease

func (d *Deploy) NewRelease(chartPath, namespace string, overrides []string) (*release.Release, error)

NewRelease create a new helm release using specified helm chart. It is overrided with specified values and update image tag with revision.

func (*Deploy) PrintRelease

func (d *Deploy) PrintRelease(rel *release.Release) (string, error)

func (*Deploy) Status

func (*Deploy) UpdateRelease

func (d *Deploy) UpdateRelease(releaseName, chartPath string, overrides []string) (*release.Release, error)

UpdateRelease updates a exist helm release using specified helm chart. It is overrided with specified values and update image tag with revision.

func (*Deploy) Version

func (d *Deploy) Version() (string, error)

Jump to

Keyboard shortcuts

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