helmrepo

package
v0.104.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HelmChartResourceType describes the helm resource type of a component descriptor defined resource.
	HelmChartResourceType = types.HelmChartResourceType

	// HelmChartRepoType is the access type of a helm chart repository.
	HelmChartRepoType = "helmChartRepository"
)

Variables

This section is empty.

Functions

func NewBlobResolverForHelmRepo

func NewBlobResolverForHelmRepo(ctx context.Context,
	lsClient client.Client,
	contextObj *lsv1alpha1.Context) (ctf.TypedBlobResolver, error)

NewBlobResolverForHelmRepo returns a BlobResolver for helm charts that are stored in a helm chart repository.

func NewResourceDataForHelmRepo

func NewResourceDataForHelmRepo(helmChartRepo *helmv1alpha1.HelmChartRepo) (*types.Resource, error)

Types

type BlobResolverForHelmRepo

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

func (*BlobResolverForHelmRepo) CanResolve

func (h *BlobResolverForHelmRepo) CanResolve(res types.Resource) bool

func (*BlobResolverForHelmRepo) Info

func (*BlobResolverForHelmRepo) Resolve

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

func (*BlobResolverForHelmRepo) ResolveHelmChart

func (h *BlobResolverForHelmRepo) ResolveHelmChart(ctx context.Context, helmChartRepo *v1alpha1.HelmChartRepo, writer io.Writer) (*types.BlobInfo, error)

type CatalogCache

type CatalogCache map[string]*catalogCacheEntry

type HelmChartRepoAccess

type HelmChartRepoAccess struct {
	cdv2.ObjectType            `json:",inline"`
	helmv1alpha1.HelmChartRepo `json:",inline"`
}

func (*HelmChartRepoAccess) GetType

func (a *HelmChartRepoAccess) GetType() string

type HelmChartRepoClient

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

func NewHelmChartRepoClient

func NewHelmChartRepoClient(context *lsv1alpha1.Context, lsClient client.Client) (*HelmChartRepoClient, lserrors.LsError)

Jump to

Keyboard shortcuts

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