helm

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements a Helm client compatible with Helm3

func NewClient

func NewClient(restConfig *rest.Config, helmDriver string, log logrus.FieldLogger) (*Client, error)

func (*Client) Delete

func (c *Client) Delete(releaseName internal.ReleaseName, namespace internal.Namespace) error

Delete is deleting release of the chart

func (*Client) Install

func (c *Client) Install(chrt *chart.Chart, values internal.ChartValues, releaseName internal.ReleaseName, namespace internal.Namespace) (*release.Release, error)

func (*Client) ListReleases added in v1.1.0

func (c *Client) ListReleases(namespace internal.Namespace) ([]*release.Release, error)

ListReleases returns a list of helm releases in the given namespace

func (*Client) SetInstallingTimeout added in v1.1.0

func (c *Client) SetInstallingTimeout(timeout time.Duration)

Sets installing timeout, used in the integration tests

type DeleteInstaller added in v1.1.0

type DeleteInstaller interface {
	InstallReleaseFromChart(chart *chart.Chart, ns string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error)
	DeleteRelease(rlsName string, opts ...helm.DeleteOption) (*rls.UninstallReleaseResponse, error)
}

DeleteInstaller defines necessary methods for installing and deleting releases

Directories

Path Synopsis
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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