Documentation
¶
Index ¶
- func New(config Config) helmclient.Interface
- type Client
- func (c *Client) DeleteRelease(ctx context.Context, releaseName string, options ...helm.DeleteOption) error
- func (c *Client) EnsureTillerInstalled(ctx context.Context) error
- func (c *Client) EnsureTillerInstalledWithValues(ctx context.Context, values []string) error
- func (c *Client) GetReleaseContent(ctx context.Context, releaseName string) (*helmclient.ReleaseContent, error)
- func (c *Client) GetReleaseHistory(ctx context.Context, releaseName string) (*helmclient.ReleaseHistory, error)
- func (c *Client) InstallReleaseFromTarball(ctx context.Context, path, ns string, options ...helm.InstallOption) error
- func (c *Client) ListReleaseContents(ctx context.Context) ([]*helmclient.ReleaseContent, error)
- func (c *Client) LoadChart(ctx context.Context, chartPath string) (helmclient.Chart, error)
- func (c *Client) PingTiller(ctx context.Context) error
- func (c *Client) PullChartTarball(ctx context.Context, tarballURL string) (string, error)
- func (c *Client) RunReleaseTest(ctx context.Context, releaseName string, options ...helm.ReleaseTestOption) error
- func (c *Client) UpdateReleaseFromTarball(ctx context.Context, releaseName, path string, options ...helm.UpdateOption) error
- type Config
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 (*Client) EnsureTillerInstalled ¶
func (*Client) EnsureTillerInstalledWithValues ¶
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 (*Client) ListReleaseContents ¶
func (c *Client) ListReleaseContents(ctx context.Context) ([]*helmclient.ReleaseContent, error)
func (*Client) PullChartTarball ¶
func (*Client) RunReleaseTest ¶
func (*Client) UpdateReleaseFromTarball ¶
type Config ¶
type Config struct {
DefaultError error
DefaultReleaseContent *helmclient.ReleaseContent
DefaultReleaseHistory *helmclient.ReleaseHistory
LoadChartError error
LoadChartResponse helmclient.Chart
PullChartTarballError error
PullChartTarballPath string
}
Click to show internal directories.
Click to hide internal directories.