helmoci

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HelmChartConfigMediaType is the reserved media type for the Helm chart manifest config
	HelmChartConfigMediaType = "application/vnd.cncf.helm.config.v1+json"

	// ConfigMediaType is the reserved media type for the Helm chart manifest config
	ConfigMediaType = "application/vnd.cncf.helm.config.v1+json"

	// ChartLayerMediaType is the reserved media type for Helm chart package content
	ChartLayerMediaType = "application/vnd.cncf.helm.chart.content.v1.tar+gzip"

	// ProvLayerMediaType is the reserved media type for Helm chart provenance files
	ProvLayerMediaType = "application/vnd.cncf.helm.chart.provenance.v1.prov"

	// LegacyChartLayerMediaType is the legacy reserved media type for Helm chart package content.
	LegacyChartLayerMediaType = "application/tar+gzip"
)

Variables

This section is empty.

Functions

func NewBlobResolverForHelmOCI

func NewBlobResolverForHelmOCI(ctx context.Context,
	registryPullSecrets []corev1.Secret,
	ociConfig *config.OCIConfiguration,
	sharedCache cache.Cache) (ctf.TypedBlobResolver, error)

NewBlobResolverForHelmOCI returns a BlobResolver for helm charts that are stored in an OCI registry.

func NewResourceDataForHelmOCI

func NewResourceDataForHelmOCI(ociImageRef string) (*types.Resource, error)

Types

type BlobResolverForHelmOCI

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

func (BlobResolverForHelmOCI) CanResolve

func (h BlobResolverForHelmOCI) CanResolve(res types.Resource) bool

func (BlobResolverForHelmOCI) Info

func (BlobResolverForHelmOCI) Resolve

func (h BlobResolverForHelmOCI) Resolve(ctx context.Context, res types.Resource, writer io.Writer) (*types.BlobInfo, error)

Jump to

Keyboard shortcuts

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