Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildpackCollection ¶ added in v0.9.0
type BuildpackCollection []BuildpackConfig
BuildpackCollection is a list of BuildpackConfigs
type BuildpackConfig ¶
type BuildpackConfig struct {
dist.BuildpackInfo
dist.ImageOrURI
}
BuildpackConfig details the configuration of a Buildpack
type Config ¶
type Config struct {
Description string `toml:"description"`
Buildpacks BuildpackCollection `toml:"buildpacks"`
Order dist.Order `toml:"order"`
Stack StackConfig `toml:"stack"`
Lifecycle LifecycleConfig `toml:"lifecycle"`
}
Config is a builder configuration file
func ReadConfig ¶
ReadConfig reads a builder configuration from the file path provided and returns the configuration along with any warnings encountered while parsing
type LifecycleConfig ¶
LifecycleConfig details the configuration of the Lifecycle
type StackConfig ¶
type StackConfig struct {
ID string `toml:"id"`
BuildImage string `toml:"build-image"`
RunImage string `toml:"run-image"`
RunImageMirrors []string `toml:"run-image-mirrors,omitempty"`
}
StackConfig details the configuration of a Stack
func (StackConfig) Validate ¶ added in v0.11.0
func (s StackConfig) Validate() error
Validate a StackConfig
Click to show internal directories.
Click to hide internal directories.