Help us shape the future of Go! Take the 2026 Go Developer Survey

staging

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const LifecycleType = "cnb"

Variables

This section is empty.

Functions

func CreateEnvFiles

func CreateEnvFiles(platformDir string, envKeys []string) error

func DownloadBuildpacks

func DownloadBuildpacks(buildpacks []string, buildpacksDir string, imageFetcher buildpack.ImageFetcher, downloader blob.Downloader, orderFile *os.File, logger *log.Logger) error

func RemoveBuildOnlyLayers

func RemoveBuildOnlyLayers(layersDir string, buildpacks []buildpack.GroupElement, logger *log.Logger) error

Types

type BuildpackMetadata

type BuildpackMetadata struct {
	ID      string `json:"key" yaml:"key"`
	Name    string `json:"name" yaml:"name"`
	Version string `json:"version,omitempty" yaml:"version,omitempty"`
}

type LifecycleMetadata

type LifecycleMetadata struct {
	Buildpacks []BuildpackMetadata `json:"buildpacks"`
}

type OrderTOML

type OrderTOML struct {
	Order dist.Order `toml:"order,omitempty"`
}

type ProcessTypes

type ProcessTypes map[string]string

type StagingResult

type StagingResult struct {
	LifecycleMetadata `json:"lifecycle_metadata"`
	ProcessTypes      `json:"process_types"`
	ExecutionMetadata string `json:"execution_metadata"`
	LifecycleType     string `json:"lifecycle_type"`
}

func StagingResultFromMetadata

func StagingResultFromMetadata(buildMeta *files.BuildMetadata) *StagingResult

Jump to

Keyboard shortcuts

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