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.
Types ¶
type BlobResolverForHelmOCI ¶
type BlobResolverForHelmOCI struct {
// contains filtered or unexported fields
}
func (BlobResolverForHelmOCI) CanResolve ¶
func (h BlobResolverForHelmOCI) CanResolve(res types.Resource) bool
Click to show internal directories.
Click to hide internal directories.