Versions in this module Expand all Collapse all v1 v1.0.0 Mar 27, 2022 Changes in this version + type ChartSpec struct + Atomic bool + ChartName string + CleanupOnFail bool + CreateNamespace bool + DependencyUpdate bool + DisableHooks bool + DryRun bool + Force bool + GenerateName bool + MaxHistory int + NameTemplate string + Namespace string + PostRenderer postrender.PostRenderer + Recreate bool + ReleaseName string + Replace bool + ResetValues bool + ReuseValues bool + SkipCRDs bool + SubNotes bool + Timeout time.Duration + UpgradeCRDs bool + ValuesYaml string + Version string + Wait bool + func (spec *ChartSpec) GetValuesMap() (map[string]interface{}, error) + type Client interface + AddOrUpdateChartRepo func(entry repo.Entry) error + GetRelease func(name string) (*release.Release, error) + GetReleaseValues func(name string, allValues bool) (map[string]interface{}, error) + InstallChart func(ctx context.Context, spec *ChartSpec) (*release.Release, error) + InstallOrUpgradeChart func(ctx context.Context, spec *ChartSpec) (*release.Release, error) + LintChart func(spec *ChartSpec) error + ListDeployedReleases func() ([]*release.Release, error) + ListReleaseHistory func(name string, max int) ([]*release.Release, error) + ListReleasesByStateMask func(action.ListStates) ([]*release.Release, error) + Login func(entry *repo.Entry) error + RollbackRelease func(spec *ChartSpec, version int) error + SetDebugLog func(debugLog action.DebugLog) + TemplateChart func(spec *ChartSpec) ([]byte, error) + UninstallRelease func(spec *ChartSpec) error + UninstallReleaseByName func(name string) error + UpdateChartRepos func() error + UpgradeChart func(ctx context.Context, spec *ChartSpec) (*release.Release, error) + func New(options *Options) (Client, error) + func NewClientFromKubeConf(options *KubeConfClientOptions) (Client, error) + func NewClientFromRestConf(options *RestConfClientOptions) (Client, error) + type HelmClient struct + ActionConfig *action.Configuration + DebugLog action.DebugLog + Providers getter.Providers + Settings *cli.EnvSettings + func (c *HelmClient) AddOrUpdateChartRepo(entry repo.Entry) error + func (c *HelmClient) GetRelease(name string) (*release.Release, error) + func (c *HelmClient) GetReleaseValues(name string, allValues bool) (map[string]interface{}, error) + func (c *HelmClient) InstallChart(ctx context.Context, spec *ChartSpec) (*release.Release, error) + func (c *HelmClient) InstallOrUpgradeChart(ctx context.Context, spec *ChartSpec) (*release.Release, error) + func (c *HelmClient) LintChart(spec *ChartSpec) error + func (c *HelmClient) ListDeployedReleases() ([]*release.Release, error) + func (c *HelmClient) ListReleaseHistory(name string, max int) ([]*release.Release, error) + func (c *HelmClient) ListReleasesByStateMask(states action.ListStates) ([]*release.Release, error) + func (c *HelmClient) Login(entry *repo.Entry) error + func (c *HelmClient) RollbackRelease(spec *ChartSpec, version int) error + func (c *HelmClient) SetDebugLog(debugLog action.DebugLog) + func (c *HelmClient) TemplateChart(spec *ChartSpec) ([]byte, error) + func (c *HelmClient) UninstallRelease(spec *ChartSpec) error + func (c *HelmClient) UninstallReleaseByName(name string) error + func (c *HelmClient) UpdateChartRepos() error + func (c *HelmClient) UpgradeChart(ctx context.Context, spec *ChartSpec) (*release.Release, error) + type KubeConfClientOptions struct + KubeConfig []byte + KubeContext string + type Options struct + Debug bool + DebugLog action.DebugLog + Linting bool + Namespace string + RepositoryCache string + RepositoryConfig string + type RESTClientGetter struct + func NewRESTClientGetter(namespace string, kubeConfig []byte, restConfig *rest.Config) *RESTClientGetter + func (c *RESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) + func (c *RESTClientGetter) ToRESTConfig() (*rest.Config, error) + func (c *RESTClientGetter) ToRESTMapper() (meta.RESTMapper, error) + func (c *RESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig + type RestConfClientOptions struct + RestConfig *rest.Config