Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Buildpack dist.BuildpackURI `toml:"buildpack"` Extension dist.BuildpackURI `toml:"extension"` Dependencies []dist.ImageOrURI `toml:"dependencies"` Platform dist.Platform `toml:"platform"` }
Config encapsulates the possible configuration options for buildpackage creation.
func DefaultConfig ¶ added in v0.15.0
func DefaultConfig() Config
func DefaultExtensionConfig ¶ added in v0.30.0
func DefaultExtensionConfig() Config
type ConfigReader ¶
type ConfigReader struct{}
ConfigReader implements a Read method for buildpackage configuration which parses and validates buildpackage configuration from a toml file.
func NewConfigReader ¶
func NewConfigReader() *ConfigReader
NewConfigReader returns an instance of ConfigReader. It does not take any parameters.
Click to show internal directories.
Click to hide internal directories.