helm

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnrichPackageFromAnnotations added in v1.1.0

func EnrichPackageFromAnnotations(p *hub.Package, annotations map[string]string) error

EnrichPackageFromAnnotations adds some extra information to the package from the provided annotations.

func EnrichPackageFromChart added in v1.1.0

func EnrichPackageFromChart(p *hub.Package, chrt *chart.Chart)

EnrichPackageFromChart adds some extra information to the package from the chart archive.

func LoadChartArchive added in v1.1.0

func LoadChartArchive(ctx context.Context, u *url.URL, o *LoadChartArchiveOptions) (*chart.Chart, error)

LoadChartArchive loads a chart from a remote archive located at the url provided.

Types

type LoadChartArchiveOptions added in v1.1.0

type LoadChartArchiveOptions struct {
	HC          hub.HTTPClient
	Username    string
	Password    string
	GithubToken string
	GithubRL    *rate.Limiter
}

LoadChartArchiveOptions represents some options that can be provided to load a chart archive from its remote location.

type TrackerSource

type TrackerSource struct {
	// contains filtered or unexported fields
}

TrackerSource is a hub.TrackerSource implementation for Helm repositories.

func NewTrackerSource

func NewTrackerSource(i *hub.TrackerSourceInput, opts ...func(s *TrackerSource)) *TrackerSource

NewTrackerSource creates a new TrackerSource instance.

func (*TrackerSource) GetPackagesAvailable

func (s *TrackerSource) GetPackagesAvailable() (map[string]*hub.Package, error)

GetPackagesAvailable implements the TrackerSource interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL