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

staging

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 7 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 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 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