Documentation
¶
Overview ¶
// SPDX-FileCopyrightText: 2023 SAP SE or an SAP affiliate company and Open Component Model contributors. // // SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func AttributeDescription() map[string]string
- func ExtractArchive(pr common.Printer, _ *Handler, access blobaccess.DataAccess, path string, ...) (_ bool, rerr error)
- func ExtractArtifact(pr common.Printer, handler *Handler, access blobaccess.DataAccess, path string, ...) (_ bool, rerr error)
- type Config
- type Extractor
- type Handler
- type RegistrationHandler
Constants ¶
View Source
const ( BLUEPRINT_MIMETYPE_LEGACY = "application/vnd.gardener.landscaper.blueprint.layer.v1.tar" BLUEPRINT_MIMETYPE_LEGACY_COMPRESSED = "application/vnd.gardener.landscaper.blueprint.layer.v1.tar+gzip" BLUEPRINT_MIMETYPE = "application/vnd.gardener.landscaper.blueprint.v1+tar" BLUEPRINT_MIMETYPE_COMPRESSED = "application/vnd.gardener.landscaper.blueprint.v1+tar+gzip" )
View Source
const ( TYPE = resourcetypes.BLUEPRINT LEGACY_TYPE = resourcetypes.BLUEPRINT_LEGACY CONFIG_MIME_TYPE = "application/vnd.gardener.landscaper.blueprint.config.v1" )
View Source
const PATH = "landscaper/blueprint"
Variables ¶
This section is empty.
Functions ¶
func AttributeDescription ¶
func ExtractArchive ¶
func ExtractArchive(pr common.Printer, _ *Handler, access blobaccess.DataAccess, path string, fs vfs.FileSystem) (_ bool, rerr error)
func ExtractArtifact ¶
func ExtractArtifact(pr common.Printer, handler *Handler, access blobaccess.DataAccess, path string, fs vfs.FileSystem) (_ bool, rerr error)
Types ¶
type Extractor ¶
type Extractor func(pr common.Printer, handler *Handler, access blobaccess.DataAccess, path string, fs vfs.FileSystem) (bool, error)
type RegistrationHandler ¶
type RegistrationHandler struct{}
func (*RegistrationHandler) GetHandlers ¶
func (r *RegistrationHandler) GetHandlers(ctx cpi.Context) registrations.HandlerInfos
func (*RegistrationHandler) RegisterByName ¶
func (r *RegistrationHandler) RegisterByName(handler string, ctx download.Target, config download.HandlerConfig, olist ...download.HandlerOption) (bool, error)
Click to show internal directories.
Click to hide internal directories.