feature

package
v0.3.5-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const DEVCONTAINER_MANIFEST_MEDIATYPE = "application/vnd.devcontainers"
View Source
const FEATURE_BASE_DOCKERFILE = `` /* 360-byte string literal not displayed */

Variables

This section is empty.

Functions

func NormalizeFeatureID

func NormalizeFeatureID(featureID string) string

func ProcessFeatureID

func ProcessFeatureID(id, configDir string, log log.Logger) (string, error)

Types

type BuildInfo

type BuildInfo struct {
	FeaturesFolder          string
	DockerfileContent       string
	OverrideTarget          string
	DockerfilePrefixContent string
	BuildArgs               map[string]string
	BuildKitContexts        map[string]string
}

type ExtendedBuildInfo

type ExtendedBuildInfo struct {
	Features          []*config.FeatureSet
	FeaturesBuildInfo *BuildInfo

	MetadataConfig *config.ImageMetadataConfig
	MetadataLabel  string
}

func GetExtendedBuildInfo

func GetExtendedBuildInfo(substitutionContext *config.SubstitutionContext, baseImageMetadata *config.ImageMetadataConfig, user, target string, devContainerConfig *config.SubstitutedConfig, buildKitSupported bool, log log.Logger) (*ExtendedBuildInfo, error)

Jump to

Keyboard shortcuts

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