Versions in this module Expand all Collapse all v1 v1.0.0 Apr 19, 2024 Changes in this version + type ChartSpec struct + Atomic bool + ChartName string + CleanupOnFail bool + CreateNamespace bool + DependencyUpdate bool + Description string + DisableHooks bool + DryRun bool + DryRunOption string + Force bool + GenerateName bool + KeepHistory bool + Labels map[string]string + MaxHistory int + NameTemplate string + Namespace string + Recreate bool + ReleaseName string + Replace bool + ResetValues bool + ReuseValues bool + SkipCRDs bool + SubNotes bool + Timeout time.Duration + UpgradeCRDs bool + ValuesOptions values.Options + ValuesYaml string + Version string + Wait bool + WaitForJobs bool + func (in *ChartSpec) DeepCopy() *ChartSpec + func (in *ChartSpec) DeepCopyInto(out *ChartSpec) + func (spec *ChartSpec) GetValuesMap(p getter.Providers) (map[string]interface{}, error) + type Client interface + AddOrUpdateChartRepo func(entry repo.Entry) error + GetChart func(chartName string, chartPathOptions *action.ChartPathOptions) (*chart.Chart, string, error) + GetProviders func() getter.Providers + GetRelease func(name string) (*release.Release, error) + GetReleaseValues func(name string, allValues bool) (map[string]interface{}, error) + GetSettings func() *cli.EnvSettings + InstallChart func(ctx context.Context, spec *ChartSpec, opts *GenericHelmOptions) (*release.Release, error) + InstallOrUpgradeChart func(ctx context.Context, spec *ChartSpec, opts *GenericHelmOptions) (*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 + RunChartTests func(releaseName string) (bool, error) + SetDebugLog func(debugLog action.DebugLog) + TemplateChart func(spec *ChartSpec, options *HelmTemplateOptions) ([]byte, error) + UninstallRelease func(spec *ChartSpec) error + UninstallReleaseByName func(name string) error + UpdateChartRepos func() error + UpgradeChart func(ctx context.Context, spec *ChartSpec, opts *GenericHelmOptions) (*release.Release, error) + func New(options *Options) (Client, error) + func NewClientFromKubeConf(options *KubeConfClientOptions, restClientOpts ...RESTClientOption) (Client, error) + func NewClientFromRestConf(options *RestConfClientOptions) (Client, error) + type GenericHelmOptions struct + PostRenderer postrender.PostRenderer + RollBack RollBack + 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) GetChart(chartName string, chartPathOptions *action.ChartPathOptions) (*chart.Chart, string, error) + func (c *HelmClient) GetProviders() getter.Providers + func (c *HelmClient) GetRelease(name string) (*release.Release, error) + func (c *HelmClient) GetReleaseValues(name string, allValues bool) (map[string]interface{}, error) + func (c *HelmClient) GetSettings() *cli.EnvSettings + func (c *HelmClient) InstallChart(ctx context.Context, spec *ChartSpec, opts *GenericHelmOptions) (*release.Release, error) + func (c *HelmClient) InstallOrUpgradeChart(ctx context.Context, spec *ChartSpec, opts *GenericHelmOptions) (*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) error + func (c *HelmClient) RunChartTests(releaseName string) (bool, error) + func (c *HelmClient) SetDebugLog(debugLog action.DebugLog) + func (c *HelmClient) TemplateChart(spec *ChartSpec, options *HelmTemplateOptions) ([]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, opts *GenericHelmOptions) (*release.Release, error) + type HelmTemplateOptions struct + APIVersions chartutil.VersionSet + KubeVersion *chartutil.KubeVersion + type KubeConfClientOptions struct + KubeConfig []byte + KubeContext string + type Options struct + Debug bool + DebugLog action.DebugLog + Linting bool + Namespace string + Output io.Writer + RegistryConfig 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 RESTClientOption func(*rest.Config) + func Burst(v int) RESTClientOption + func Timeout(d time.Duration) RESTClientOption + type RestConfClientOptions struct + RestConfig *rest.Config + type RollBack interface + RollbackRelease func(spec *ChartSpec) error