Versions in this module Expand all Collapse all v1 v1.3.3 Jun 21, 2023 v1.3.2 Jun 10, 2023 v1.3.1 Apr 11, 2023 v1.3.0 Mar 30, 2023 v1.2.0 Mar 7, 2023 Changes in this version + type ArtifactHubRepo struct + DisplayName string + Kind int + Name string + Official bool + OrganizationDisplayName string + OrganizationName string + RepositoryId string + ScannerDisabled bool + Url string + VerifiedPublisher bool + type ArtifactHubResult struct + AppVersion string + Deprecated bool + Description string + LogoImageId string + Name string + NormalizedName string + PackageId string + ProductionOrganizationsCount int + Repository ArtifactHubRepo + Signed bool + Stars int + Ts int + Version string + func QueryArtifactHub(chartName string) ([]*ArtifactHubResult, error) + type ArtifactHubResults struct + Packages []*ArtifactHubResult v1.1.1 Feb 22, 2023 v1.1.0 Feb 15, 2023 Changes in this version type DataLayer + LocalCharts []string + type HelmRepo struct + Orig *repo.Entry + Settings *cli.EnvSettings + func (r *HelmRepo) ByName(name string) (repo.ChartVersions, error) + func (r *HelmRepo) Charts() (repo.ChartVersions, error) + func (r *HelmRepo) Name() string + func (r *HelmRepo) URL() string + func (r *HelmRepo) Update() error + type LocalChart struct + LocalCharts []string + func (l *LocalChart) ByName(name string) (repo.ChartVersions, error) + func (l *LocalChart) Charts() (repo.ChartVersions, error) + func (l *LocalChart) Name() string + func (l *LocalChart) URL() string + func (l *LocalChart) Update() error type Repositories + LocalCharts []string type Repository + Name func() string + URL func() string v1.0.0 Feb 1, 2023 Changes in this version + const AnnRepo + func ParseManifests(out string) ([]*v1.Carp, error) + type Application struct + HelmConfig HelmNSConfigGetter + K8s *K8s + Releases *Releases + Repositories *Repositories + Settings *cli.EnvSettings + func NewApplication(settings *cli.EnvSettings, helmConfig HelmNSConfigGetter, namespaces []string) (*Application, error) + type Cache struct + HitCount int + Marshaler *marshaler.Marshaler + MissCount int + func NewCache() *Cache + func (c *Cache) Clear() error + func (c *Cache) Invalidate(tags ...CacheKey) + func (c *Cache) String(key CacheKey, tags []string, callback func() (string, error)) (string, error) + type CacheKey = string + type DataLayer struct + Cache *Cache + ConfGen HelmConfigGetter + KubeContext string + Namespaces []string + Scanners []subproc.Scanner + StatusInfo *StatusInfo + func NewDataLayer(ns []string, ver string, cg HelmConfigGetter) (*DataLayer, error) + func (d *DataLayer) AppForCtx(ctx string) (*Application, error) + func (d *DataLayer) GetStatus() *StatusInfo + func (d *DataLayer) ListContexts() ([]KubeContext, error) + func (d *DataLayer) PeriodicTasks(ctx context.Context) + func (d *DataLayer) SetContext(ctx string) error + type HelmConfigGetter = func(sett *cli.EnvSettings, ns string) (*action.Configuration, error) + type HelmNSConfigGetter = func(ns string) (*action.Configuration, error) + type K8s struct + Factory kube.Factory + Namespaces []string + RestClientGetter genericclioptions.RESTClientGetter + func NewK8s(helmConfig *action.Configuration, namespaces []string) (*K8s, error) + func (k *K8s) DescribeResource(kind string, ns string, name string) (string, error) + func (k *K8s) GetNameSpaces() (res *corev1.NamespaceList, err error) + func (k *K8s) GetResource(kind string, namespace string, name string) (*runtime.Object, error) + func (k *K8s) GetResourceInfo(kind string, namespace string, name string) (*testapiv1.Carp, error) + func (k *K8s) GetResourceYAML(kind string, namespace string, name string) (string, error) + type KubeContext struct + AuthInfo string + Cluster string + IsCurrent bool + Name string + Namespace string + type Release struct + HelmConfig HelmNSConfigGetter + Orig *release.Release + Settings *cli.EnvSettings + func (r *Release) GetRev(revNo int) (*Release, error) + func (r *Release) History() ([]*Release, error) + func (r *Release) ParsedManifests() ([]*v1.Carp, error) + func (r *Release) Rollback(toRevision int) error + func (r *Release) RunTests() (string, error) + func (r *Release) Uninstall() error + func (r *Release) Upgrade(repoChart string, version string, justTemplate bool, ...) (*release.Release, error) + type Releases struct + HelmConfig HelmNSConfigGetter + Namespaces []string + Settings *cli.EnvSettings + func (a *Releases) ByName(namespace string, name string) (*Release, error) + func (a *Releases) Install(namespace string, name string, repoChart string, version string, ...) (*release.Release, error) + func (a *Releases) List() ([]*Release, error) + type Repositories struct + HelmConfig *action.Configuration + Settings *cli.EnvSettings + func (r *Repositories) Add(name string, url string) error + func (r *Repositories) Containing(name string) (repo.ChartVersions, error) + func (r *Repositories) Delete(name string) error + func (r *Repositories) Get(name string) (*Repository, error) + func (r *Repositories) GetChart(chart string, ver string) (*chart.Chart, error) + func (r *Repositories) GetChartValues(chart string, ver string) (string, error) + func (r *Repositories) List() ([]*Repository, error) + func (r *Repositories) Load() (*repo.File, error) + type Repository struct + Orig *repo.Entry + Settings *cli.EnvSettings + func (r *Repository) ByName(name string) (repo.ChartVersions, error) + func (r *Repository) Charts() ([]*repo.ChartVersion, error) + func (r *Repository) Update() error + type SectionFn = func(*release.Release, bool) (string, error) + type StatusInfo struct + Analytics bool + CacheHitRatio float64 + ClusterMode bool + CurVer string + LatestVer string