Versions in this module Expand all Collapse all v3 v3.10.7 Nov 4, 2024 v3.10.6 Nov 1, 2024 v3.10.5 Nov 1, 2024 Changes in this version + const ListAll + var Timestamper = time.Now + var ValidName = regexp.MustCompile(`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`) + func CheckDependencies(ch *chart.Chart, reqs []*chart.Dependency) error + func GetVersionSet(client discovery.ServerResourcesInterface) (chartutil.VersionSet, error) + func HasWarningsOrErrors(result *LintResult) bool + func TemplateName(nameTemplate string) (string, error) + type ChartPathOptions struct + CaFile string + CertFile string + InsecureSkipTLSverify bool + KeyFile string + Keyring string + PassCredentialsAll bool + Password string + RepoURL string + Username string + Verify bool + Version string + func (c *ChartPathOptions) LocateChart(name string, settings *cli.EnvSettings) (string, error) + type Configuration struct + Capabilities *chartutil.Capabilities + KubeClient kube.Interface + Log func(string, ...interface{}) + RESTClientGetter RESTClientGetter + RegistryClient *registry.Client + Releases *storage.Storage + func (cfg *Configuration) Init(getter genericclioptions.RESTClientGetter, namespace, helmDriver string, ...) error + func (cfg *Configuration) KubernetesClientSet() (kubernetes.Interface, error) + func (cfg *Configuration) Now() time.Time + type DebugLog func(format string, v ...interface{}) + type Dependency struct + ColumnWidth uint + 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 Install struct + APIVersions chartutil.VersionSet + Atomic bool + ClientOnly bool + CreateNamespace bool + DependencyUpdate bool + Description string + Devel bool + DisableHooks bool + DisableOpenAPIValidation bool + DryRun bool + GenerateName bool + IncludeCRDs bool + IsUpgrade bool + KubeVersion *chartutil.KubeVersion + Lock sync.Mutex + NameTemplate string + Namespace string + OutputDir string + PostRenderer postrender.PostRenderer + ReleaseName string + Replace bool + SkipCRDs bool + SubNotes bool + Timeout time.Duration + UseReleaseName bool + Wait bool + WaitForJobs bool + func NewInstall(cfg *Configuration) *Install + func (i *Install) NameAndChart(args []string) (string, string, error) + func (i *Install) Run(chrt *chart.Chart, vals map[string]interface{}) (*release.Release, error) + func (i *Install) RunWithContext(ctx context.Context, chrt *chart.Chart, vals map[string]interface{}) (*release.Release, error) + type Lint struct + Namespace string + Quiet bool + 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 + NoHeaders bool + Offset int + Pending bool + Selector string + Short bool + Sort Sorter + SortReverse bool + StateMask ListStates + Superseded bool + TimeFormat string + 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 + PassphraseFile 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 NewPullWithOpts(opts ...PullOpt) *Pull + func (p *Pull) Run(chartRef string) (string, error) + type PullOpt func(*Pull) + func WithConfig(cfg *Configuration) PullOpt + type Push struct + Settings *cli.EnvSettings + func NewPushWithOpts(opts ...PushOpt) *Push + func (p *Push) Run(chartRef string, remote string) (string, error) + type PushOpt func(*Push) + func WithPushConfig(cfg *Configuration) PushOpt + 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 + Filters map[string][]string + 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 + MaxHistory int + Recreate bool + Timeout time.Duration + Version int + Wait bool + WaitForJobs bool + func NewRollback(cfg *Configuration) *Rollback + func (r *Rollback) Run(name string) error + type Show struct + Devel bool + JSONPathTemplate string + OutputFormat ShowOutputFormat + func NewShow(output ShowOutputFormat) *Show + func NewShowWithConfig(output ShowOutputFormat, cfg *Configuration) *Show + func (s *Show) Run(chartpath string) (string, error) + type ShowOutputFormat string + const ShowAll + const ShowCRDs + const ShowChart + const ShowReadme + const ShowValues + func (o ShowOutputFormat) String() string + type Sorter uint + const ByDateAsc + const ByDateDesc + const ByNameDesc + type Status struct + ShowDescription bool + 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 + Wait bool + func NewUninstall(cfg *Configuration) *Uninstall + func (u *Uninstall) Run(name string) (*release.UninstallReleaseResponse, error) + type Upgrade struct + Atomic bool + CleanupOnFail bool + DependencyUpdate bool + Description string + Devel bool + DisableHooks bool + DisableOpenAPIValidation bool + DryRun bool + Force bool + Install bool + Lock sync.Mutex + MaxHistory int + Namespace string + PostRenderer postrender.PostRenderer + Recreate bool + ResetValues bool + ReuseValues bool + SkipCRDs bool + SubNotes bool + Timeout time.Duration + Wait bool + WaitForJobs bool + func NewUpgrade(cfg *Configuration) *Upgrade + func (u *Upgrade) Run(name string, chart *chart.Chart, vals map[string]interface{}) (*release.Release, error) + func (u *Upgrade) RunWithContext(ctx context.Context, name string, chart *chart.Chart, ...) (*release.Release, error) + type Verify struct + Keyring string + Out string + func NewVerify() *Verify + func (v *Verify) Run(chartfile string) error