Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJsonSchema ¶
func GetJsonSchema() *jsonschema.Schema
Types ¶
type Config ¶
type Config struct {
// The base image to use for the build
BaseImage string `json:"baseImage,omitempty" jsonschema:"description=The base image to use for the build"`
// List of providers to use
Providers *[]string `json:"providers,omitempty" jsonschema:"description=List of providers to use"`
// Map of step names to step definitions
Steps map[string]*plan.Step `json:"steps,omitempty" jsonschema:"description=Map of step names to step definitions"`
// Start configuration
Start plan.Start `json:"start,omitempty" jsonschema:"description=Start configuration"`
// Map of package name to package version
Packages map[string]string `json:"packages,omitempty" jsonschema:"description=Map of package name to package version"`
// List of apt packages to install
AptPackages []string `json:"aptPackages,omitempty" jsonschema:"description=List of apt packages to install"`
// Map of cache name to cache definitions. The cache key can be referenced in an exec command.
Caches map[string]*plan.Cache `` /* 139-byte string literal not displayed */
// Secrets that should be made available to commands that have useSecrets set to true
Secrets []string `` /* 132-byte string literal not displayed */
}
func EmptyConfig ¶
func EmptyConfig() *Config
func Merge ¶
Merge combines multiple configs by merging their values with later configs taking precedence
func (Config) JSONSchemaExtend ¶
func (Config) JSONSchemaExtend(schema *jsonschema.Schema)
Click to show internal directories.
Click to hide internal directories.