Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const ActionInstall + const ActionUninstall + const ActionUpgrade + const DefaultChartSuffix + const EnvHelmDebug + const EnvHelmDriver + const EnvHelmNamespace + const EnvLocalChartDiscoverDir + const EnvLocalChartPath + func ParseValues(preValues map[string]string) string + type ChartSpec struct + Action int + ChartName string + ReleaseName string + Values string + Version string + type Client struct + func (c *Client) AddOrUpdateRepo(repoEntry *repo.Entry) error + func (c *Client) GetReleaseHistory(releaseName string) ([]*release.Release, error) + func (c *Client) InstallRelease(releaseName, chartName, version string, values ...string) error + func (c *Client) UninstallRelease(releaseName string) error + func (c *Client) UpgradeRelease(releaseName, localRepoName, targetVersion string) error + type Helm interface + AddOrUpdateRepo func(repoEntry *repo.Entry) error + GetReleaseHistory func(releaseName string) ([]*release.Release, error) + InstallRelease func(releaseName, chartName, version string, values ...string) error + UninstallRelease func(releaseName string) error + UpgradeRelease func(releaseName, localRepoName, targetVersion string) error + func New(options ...Option) (Helm, error) + type Manager struct + Charts []*ChartSpec + HelmClient Helm + LocalRepoName string + TimeOut time.Duration + func (m *Manager) ActionExecute(chart *ChartSpec) error + func (m *Manager) Execute() error + type Option func(client *Client) + func WithLocalChartDiscoverDir(path string) Option + func WithRESTClientGetter(getter *RESTClientGetterImpl) Option + type RESTClientGetterImpl struct + func NewRESTClientGetterImpl(rc *rest.Config) *RESTClientGetterImpl + func (r *RESTClientGetterImpl) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) + func (r *RESTClientGetterImpl) ToRESTConfig() (*rest.Config, error) + func (r *RESTClientGetterImpl) ToRESTMapper() (meta.RESTMapper, error) + func (r *RESTClientGetterImpl) ToRawKubeConfigLoader() clientcmd.ClientConfig