helm

package
v0.0.0-...-3dc0db1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ChartContentLayerMediaType    = "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
	ChartProvenanceLayerMediaType = "application/vnd.cncf.helm.chart.provenance.v1.prov"
)

Variables

This section is empty.

Functions

func EnrichPackageFromAnnotations

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

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

func EnrichPackageFromChart

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

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

func LoadChartArchive

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

type LoadChartArchiveOptions struct {
	Hc       hub.HTTPClient
	Op       hub.OCIPuller
	Username string
	Password string
}

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