Documentation
¶
Index ¶
- type Client
- func (c *Client) GetChartSpecValues(spec *client.ChartSpec) (map[string]interface{}, error)
- func (c *Client) GetDeployedReleaseVersion(ctx context.Context, name string) (string, error)
- func (c *Client) GetReleaseValues(name string, allValues bool) (map[string]interface{}, error)
- func (c *Client) InstallOrUpgrade(ctx context.Context, chart *client.ChartSpec) error
- func (c *Client) ListDeployedReleases() ([]*release.Release, error)
- func (c *Client) SatisfiesDependencies(ctx context.Context, chart *client.ChartSpec) error
- func (c *Client) Uninstall(releaseName string) error
- type Dependency
- type HelmClient
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 wraps the HelmClient with config.HelmRepositoryData
func NewClient ¶
func NewClient(namespace string, helmRepoData *config.HelmRepositoryData, debug bool, debugLog action.DebugLog) (*Client, error)
NewClient create a new instance of the helm client.
func (*Client) GetChartSpecValues ¶ added in v0.6.0
GetChartSpecValues returns the additional values for the specified ChartSpec.
func (*Client) GetDeployedReleaseVersion ¶ added in v1.0.0
GetDeployedReleaseVersion returns the version for the specified release (if the release exists).
func (*Client) GetReleaseValues ¶ added in v0.6.0
GetReleaseValues returns the (optionally, all computed) values for the specified release.
func (*Client) InstallOrUpgrade ¶
InstallOrUpgrade takes a helmChart and applies it.
func (*Client) ListDeployedReleases ¶
ListDeployedReleases returns all deployed helm releases
func (*Client) SatisfiesDependencies ¶ added in v0.1.0
SatisfiesDependencies checks if all dependencies are satisfied in terms of installation and version.
type Dependency ¶ added in v0.3.0
type HelmClient ¶
HelmClient embeds the client.Client interface for usage in this package.