Versions in this module Expand all Collapse all v1 v1.2.1-beta.4 Nov 15, 2024 v1.2.1-beta.3 Aug 28, 2024 v1.2.1-beta.2 Jul 29, 2024 v1.2.1-beta.1 Jul 29, 2024 v1.2.1-beta.0 Apr 1, 2024 v1.2.0 Nov 30, 2023 v1.2.0-beta-0 Nov 30, 2023 v1.1.0 Oct 13, 2023 Changes in this version type Rollback + AgentVersion string + ClusterCode string + Commit string + ImagePullSecret []v1.LocalObjectReference + ReleaseName string type Upgrade + DoCallbackReleaseHandler func(string, *release.Release) v1.0.0 Feb 27, 2023 Changes in this version + func GetKubernetesVersion(c *Configuration) string type Install + DoCallbackReleaseHandler func(*release.Release) + WaitForJobs bool type Upgrade + WaitForJobs bool v0 v0.1.0 Aug 10, 2022 Changes in this version + const ListAll + var Timestamper = time.Now + var ValidName = regexp.MustCompile("^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])+$") + func CheckDependencies(ch *chart.Chart, reqs []*chart.Dependency) error + func GetVersionSet(client discovery.ServerResourcesInterface) (chartutil.VersionSet, error) + func TemplateName(nameTemplate string) (string, error) + type ChartExport struct + Destination string + func NewChartExport(cfg *Configuration) *ChartExport + func (a *ChartExport) Run(out io.Writer, ref string) error + type ChartList struct + func NewChartList(cfg *Configuration) *ChartList + func (a *ChartList) Run(out io.Writer) error + type ChartPathOptions struct + CaFile string + CertFile string + KeyFile string + Keyring string + Password string + RepoURL string + Username string + Verify bool + Version string + func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (string, error) + type ChartPull struct + func NewChartPull(cfg *Configuration) *ChartPull + func (a *ChartPull) Run(out io.Writer, ref string) error + type ChartPush struct + func NewChartPush(cfg *Configuration) *ChartPush + func (a *ChartPush) Run(out io.Writer, ref string) error + type ChartRemove struct + func NewChartRemove(cfg *Configuration) *ChartRemove + func (a *ChartRemove) Run(out io.Writer, ref string) error + type ChartSave struct + func NewChartSave(cfg *Configuration) *ChartSave + func (a *ChartSave) Run(out io.Writer, ch *chart.Chart, ref string) error + type Configuration struct + Capabilities *chartutil.Capabilities + ClientSet *kubernetes.Clientset + KubeClient kube.Interface + Log func(string, ...interface{}) + RESTClientGetter RESTClientGetter + RegistryClient *registry.Client + Releases *storage.Storage + func (c *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace string, helmDriver string, ...) error + func (c *Configuration) KubernetesClientSet() (kubernetes.Interface, error) + func (c *Configuration) Now() time.Time + type DebugLog func(format string, v ...interface{}) + type Dependency struct + Keyring string + SkipRefresh bool + Verify bool + func NewDependency() *Dependency + func (d *Dependency) List(chartpath string, out io.Writer) error + type Get struct + Version int + func NewGet(cfg *Configuration) *Get + func (g *Get) Run(name string) (*release.Release, error) + type GetValues struct + AllValues bool + Version int + func NewGetValues(cfg *Configuration) *GetValues + func (g *GetValues) Run(name string) (map[string]interface{}, error) + type History struct + Max int + Version int + func NewHistory(cfg *Configuration) *History + func (h *History) Run(name string) ([]*release.Release, error) + type HookWithResources struct + Hook *release.Hook + Resources kube.ResourceList + type Install struct + APIVersions chartutil.VersionSet + AgentVersion string + Atomic bool + ChartName string + ChartVersion string + ClientOnly bool + ClusterCode string + Commit string + CreateNamespace bool + DependencyUpdate bool + Description string + Devel bool + DisableHooks bool + DisableOpenAPIValidation bool + DryRun bool + GenerateName bool + ImagePullSecret []v1.LocalObjectReference + IncludeCRDs bool + IsUpgrade bool + NameTemplate string + Namespace string + OutputDir string + PostRenderer postrender.PostRenderer + ReleaseName string + Replace bool + SkipCRDs bool + SubNotes bool + Timeout time.Duration + UseReleaseName bool + Wait bool + func NewInstall(cfg *Configuration, chartPathOptions ChartPathOptions, commit string, ...) *Install + func (i *Install) NameAndChart(args []string) (string, string, error) + func (i *Install) Run(chrt *chart.Chart, vals map[string]interface{}, valsRaw string) (*release.Release, error) + type Lint struct + Namespace string + Strict bool + WithSubcharts bool + func NewLint() *Lint + func (l *Lint) Run(paths []string, vals map[string]interface{}) *LintResult + type LintResult struct + Errors []error + Messages []support.Message + TotalChartsLinted int + type List struct + All bool + AllNamespaces bool + ByDate bool + Deployed bool + Failed bool + Filter string + Limit int + Offset int + Pending bool + Short bool + Sort Sorter + SortReverse bool + StateMask ListStates + Superseded bool + Uninstalled bool + Uninstalling bool + func NewList(cfg *Configuration) *List + func (l *List) Run() ([]*release.Release, error) + func (l *List) SetStateMask() + type ListStates uint + const ListDeployed + const ListFailed + const ListPendingInstall + const ListPendingRollback + const ListPendingUpgrade + const ListSuperseded + const ListUninstalled + const ListUninstalling + const ListUnknown + func (s ListStates) FromName(str string) ListStates + type Package struct + AppVersion string + DependencyUpdate bool + Destination string + Key string + Keyring string + RepositoryCache string + RepositoryConfig string + Sign bool + Version string + func NewPackage() *Package + func (p *Package) Clearsign(filename string) error + func (p *Package) Run(path string, vals map[string]interface{}) (string, error) + type Pull struct + DestDir string + Devel bool + Settings *cli.EnvSettings + Untar bool + UntarDir string + VerifyLater bool + func NewPull() *Pull + func (p *Pull) Run(chartRef string) (string, error) + type RESTClientGetter interface + ToDiscoveryClient func() (discovery.CachedDiscoveryInterface, error) + ToRESTConfig func() (*rest.Config, error) + ToRESTMapper func() (meta.RESTMapper, error) + type RegistryLogin struct + func NewRegistryLogin(cfg *Configuration) *RegistryLogin + func (a *RegistryLogin) Run(out io.Writer, hostname string, username string, password string, ...) error + type RegistryLogout struct + func NewRegistryLogout(cfg *Configuration) *RegistryLogout + func (a *RegistryLogout) Run(out io.Writer, hostname string) error + type ReleaseTesting struct + Namespace string + Timeout time.Duration + func NewReleaseTesting(cfg *Configuration) *ReleaseTesting + func (r *ReleaseTesting) GetPodLogs(out io.Writer, rel *release.Release) error + func (r *ReleaseTesting) Run(name string) (*release.Release, error) + type Rollback struct + CleanupOnFail bool + DisableHooks bool + DryRun bool + Force bool + Recreate bool + Timeout time.Duration + Version int + Wait bool + func NewRollback(cfg *Configuration) *Rollback + func (r *Rollback) Run(name string) error + type Show struct + Devel bool + Namespace string + OutputFormat ShowOutputFormat + func NewShow(cfg *Configuration, output ShowOutputFormat, chartPathOptions ChartPathOptions) *Show + func (s *Show) FindHooks(chrt *chart.Chart, vals map[string]interface{}) ([]*release.Hook, error) + func (s *Show) Run(chartpath string, vals map[string]interface{}) (string, error) + type ShowOutputFormat string + const ShowAll + const ShowChart + const ShowHook + const ShowReadme + const ShowValues + func (o ShowOutputFormat) String() string + type Sorter uint + const ByDateAsc + const ByDateDesc + const ByNameDesc + type Status struct + Version int + func NewStatus(cfg *Configuration) *Status + func (s *Status) Run(name string) (*release.Release, error) + type Uninstall struct + Description string + DisableHooks bool + DryRun bool + KeepHistory bool + Timeout time.Duration + func NewUninstall(cfg *Configuration) *Uninstall + func (u *Uninstall) Run(name string) (*release.UninstallReleaseResponse, error) + type Upgrade struct + AgentVersion string + Atomic bool + ChartName string + ChartVersion string + CleanupOnFail bool + ClusterCode string + Commit string + Description string + Devel bool + DisableHooks bool + DisableOpenAPIValidation bool + DryRun bool + Force bool + ImagePullSecret []v1.LocalObjectReference + Install bool + MaxHistory int + Namespace string + PostRenderer postrender.PostRenderer + Recreate bool + ReleaseName string + ResetValues bool + ReuseValues bool + SkipCRDs bool + SubNotes bool + Timeout time.Duration + Wait bool + func NewUpgrade(cfg *Configuration, chartPathOptions ChartPathOptions, commit string, ...) *Upgrade + func (u *Upgrade) Run(name string, chart *chart.Chart, vals map[string]interface{}, valuesRaw string) (*release.Release, error) + type Verify struct + Keyring string + Out string + func NewVerify() *Verify + func (v *Verify) Run(chartfile string) error