helm

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 15 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 PrintStatus

func PrintStatus(rel *release.Release) (string, error)

PrintStatus genrates status text from struct.

Types

type Deploy

type Deploy struct {
	DryRun    bool
	StackName string
	Namespace string
	// contains filtered or unexported fields
}

func New

func New(stack string, namespace string, dryRun bool) (*Deploy, error)

New initialize action configuration and returns Deploy struct.

func (*Deploy) Delete

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

Delete uninstall a specified release.

func (*Deploy) NewRelease

func (d *Deploy) NewRelease(chartPath 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 (d *Deploy) Status() (*release.Release, error)

Status gets a status of helm package.

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.

Jump to

Keyboard shortcuts

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