resourcetypehandlers

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: 2 Imported by: 0

Documentation

Overview

Package resourcetypehandlers provides handler for specific resource types. These handlers are responsible for accessing the content of resources of the respective type. This may include caching as well as several other pre- and postprocessing steps necessary to return the downloaded content in a suitable abstract data type.

In contrast to the corresponding cnudie package, this package does not provide a specific handler for resources of type helm but instead provides a separate implementation of the resource interface specifically dedicated for helm charts. This is due to the fact that the landscaper accesses helm charts through an oci reference or helm repository reference directly without having a component descriptor or rather a component version describing these information. As a resource, as implemented in the ocm-lib, is always tied to a component version (examine the ocm.ResourceAccess struct type for a deeper understanding), a separate resource type was needed.

After implementing a new handler, DO NOT forget to import it in init.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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