Documentation
¶
Index ¶
- func New(config Config) helmclient.Interface
- type Client
- func (c *Client) DeleteRelease(ctx context.Context, namespace, releaseName string) error
- func (c *Client) GetReleaseContent(ctx context.Context, namespace, releaseName string) (*helmclient.ReleaseContent, error)
- func (c *Client) GetReleaseHistory(ctx context.Context, namespace, releaseName string) (*helmclient.ReleaseHistory, error)
- func (c *Client) InstallReleaseFromTarball(ctx context.Context, chartPath, namespace string, ...) error
- func (c *Client) ListReleaseContents(ctx context.Context, namespace string) ([]*helmclient.ReleaseContent, error)
- func (c *Client) LoadChart(ctx context.Context, chartPath string) (helmclient.Chart, error)
- func (c *Client) PullChartTarball(ctx context.Context, tarballURL string) (string, error)
- func (c *Client) Rollback(ctx context.Context, namespace, releaseName string, revision int, ...) error
- func (c *Client) RunReleaseTest(ctx context.Context, namespace, releaseName string) error
- func (c *Client) UpdateReleaseFromTarball(ctx context.Context, chartPath, namespace, releaseName string, ...) 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) GetReleaseContent ¶
func (c *Client) GetReleaseContent(ctx context.Context, namespace, releaseName string) (*helmclient.ReleaseContent, error)
func (*Client) GetReleaseHistory ¶
func (c *Client) GetReleaseHistory(ctx context.Context, namespace, releaseName string) (*helmclient.ReleaseHistory, error)
func (*Client) InstallReleaseFromTarball ¶
func (c *Client) InstallReleaseFromTarball(ctx context.Context, chartPath, namespace string, values map[string]interface{}, options helmclient.InstallOptions) error
func (*Client) ListReleaseContents ¶
func (c *Client) ListReleaseContents(ctx context.Context, namespace string) ([]*helmclient.ReleaseContent, error)
func (*Client) PullChartTarball ¶
func (*Client) Rollback ¶ added in v1.0.6
func (c *Client) Rollback(ctx context.Context, namespace, releaseName string, revision int, options helmclient.RollbackOptions) error
func (*Client) RunReleaseTest ¶
func (*Client) UpdateReleaseFromTarball ¶
func (c *Client) UpdateReleaseFromTarball(ctx context.Context, chartPath, namespace, releaseName string, values map[string]interface{}, options helmclient.UpdateOptions) error
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.