helmclienttest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) helmclient.Interface

Types

type Client

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

func (*Client) DeleteRelease

func (c *Client) DeleteRelease(ctx context.Context, releaseName string, options ...helm.DeleteOption) error

func (*Client) EnsureTillerInstalled

func (c *Client) EnsureTillerInstalled(ctx context.Context) error

func (*Client) EnsureTillerInstalledWithValues

func (c *Client) EnsureTillerInstalledWithValues(ctx context.Context, values []string) error

func (*Client) GetReleaseContent

func (c *Client) GetReleaseContent(ctx context.Context, releaseName string) (*helmclient.ReleaseContent, error)

func (*Client) GetReleaseHistory

func (c *Client) GetReleaseHistory(ctx context.Context, releaseName string) (*helmclient.ReleaseHistory, error)

func (*Client) InstallReleaseFromTarball

func (c *Client) InstallReleaseFromTarball(ctx context.Context, path, ns string, options ...helm.InstallOption) error

func (*Client) ListReleaseContents

func (c *Client) ListReleaseContents(ctx context.Context) ([]*helmclient.ReleaseContent, error)

func (*Client) LoadChart

func (c *Client) LoadChart(ctx context.Context, chartPath string) (helmclient.Chart, error)

func (*Client) PingTiller

func (c *Client) PingTiller(ctx context.Context) error

func (*Client) PullChartTarball

func (c *Client) PullChartTarball(ctx context.Context, tarballURL string) (string, error)

func (*Client) RunReleaseTest

func (c *Client) RunReleaseTest(ctx context.Context, releaseName string, options ...helm.ReleaseTestOption) error

func (*Client) UpdateReleaseFromTarball

func (c *Client) UpdateReleaseFromTarball(ctx context.Context, releaseName, path string, options ...helm.UpdateOption) error

type Config

type Config struct {
	DefaultError          error
	DefaultReleaseContent *helmclient.ReleaseContent
	DefaultReleaseHistory *helmclient.ReleaseHistory
	LoadChartError        error
	LoadChartResponse     helmclient.Chart
	PullChartTarballError error
	PullChartTarballPath  string
}

Jump to

Keyboard shortcuts

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