Documentation ¶
Overview ¶
Package extend contains extensions specific helpers
Index ¶
Constants ¶
View Source
const ( // BuildContextDir defines the context for build-image extensions BuildContextDir = "context.build" // RunContextDir defines the context for run-image extensions RunContextDir = "context.run" SharedContextDir = "context" )
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶ added in v0.17.0
Types ¶
type BuildConfig ¶ added in v0.17.0
type BuildConfig struct {
Args []Arg `toml:"args"`
}
type Config ¶ added in v0.17.0
type Config struct { Build BuildConfig `toml:"build"` Run BuildConfig `toml:"run"` }
type ContextInfo ¶ added in v0.19.0
ContextInfo captures info about the context used for build- and run-image extensions
func FindContexts ¶ added in v0.19.0
func FindContexts(extensionID string, extOutputDir string, logger log.Logger) ([]ContextInfo, error)
FindContexts returns paths to Build Context folders produced by an extension. If Shared Context is provided with Run or Build Contexts the error will be thrown.
type Dockerfile ¶
Click to show internal directories.
Click to hide internal directories.