Documentation
¶
Index ¶
Constants ¶
View Source
const ( OrderDetectionMaxDepth = -1 OrderDetectionNone = 0 )
Variables ¶
This section is empty.
Functions ¶
func ValidateConfig ¶ added in v0.12.0
ValidateConfig validates the config
Types ¶
type BuildConfig ¶ added in v0.30.0
type BuildConfig struct {
Image string `toml:"image"`
}
BuildConfig build image configuration
type Config ¶
type Config struct {
Description string `toml:"description"`
Buildpacks ModuleCollection `toml:"buildpacks"`
Extensions ModuleCollection `toml:"extensions"`
Order dist.Order `toml:"order"`
OrderExtensions dist.Order `toml:"order-extensions"`
Stack StackConfig `toml:"stack"`
Lifecycle LifecycleConfig `toml:"lifecycle"`
Run RunConfig `toml:"run"`
Build BuildConfig `toml:"build"`
}
Config is a builder configuration file
type DetectionOrder ¶ added in v0.15.0
type DetectionOrder []DetectionOrderEntry
type DetectionOrderEntry ¶ added in v0.15.0
type DetectionOrderEntry struct {
dist.ModuleRef `yaml:",inline"`
Cyclical bool `json:"cyclic,omitempty" yaml:"cyclic,omitempty" toml:"cyclic,omitempty"`
GroupDetectionOrder DetectionOrder `json:"buildpacks,omitempty" yaml:"buildpacks,omitempty" toml:"buildpacks,omitempty"`
}
type LifecycleConfig ¶
LifecycleConfig details the configuration of the Lifecycle
type ModuleCollection ¶ added in v0.28.0
type ModuleCollection []ModuleConfig
ModuleCollection is a list of ModuleConfigs
type ModuleConfig ¶ added in v0.28.0
type ModuleConfig struct {
dist.ModuleInfo
dist.ImageOrURI
}
ModuleConfig details the configuration of a Buildpack or Extension
func (*ModuleConfig) DisplayString ¶ added in v0.28.0
func (c *ModuleConfig) DisplayString() string
type RunConfig ¶ added in v0.30.0
type RunConfig struct {
Images []RunImageConfig `toml:"images"`
}
RunConfig set of run image configuration
type RunImageConfig ¶ added in v0.30.0
type RunImageConfig struct {
Image string `toml:"image"`
Mirrors []string `toml:"mirrors,omitempty"`
}
RunImageConfig run image id and mirrors
Click to show internal directories.
Click to hide internal directories.