Documentation ¶
Index ¶
- Constants
- func NewBlobResolverForHelmRepo(ctx context.Context, lsClient client.Client, contextObj *lsv1alpha1.Context) (ctf.TypedBlobResolver, error)
- func NewResourceDataForHelmRepo(helmChartRepo *helmv1alpha1.HelmChartRepo) (*types.Resource, error)
- type BlobResolverForHelmRepo
- func (h *BlobResolverForHelmRepo) CanResolve(res types.Resource) bool
- func (h *BlobResolverForHelmRepo) Info(ctx context.Context, res types.Resource) (*types.BlobInfo, error)
- func (h *BlobResolverForHelmRepo) Resolve(ctx context.Context, res types.Resource, writer io.Writer) (*types.BlobInfo, error)
- func (h *BlobResolverForHelmRepo) ResolveHelmChart(ctx context.Context, helmChartRepo *v1alpha1.HelmChartRepo, writer io.Writer) (*types.BlobInfo, error)
- type CatalogCache
- type HelmChartRepoAccess
- type HelmChartRepoClient
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) 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)
Click to show internal directories.
Click to hide internal directories.