Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plan ¶ added in v1.21.0
type Plan struct { // Provided represents the dependencies provided by a buildpack. Optional. Provides []Provided `toml:"provides,omitempty"` // Required represents the dependencies required by a buildpack. Optional. Requires []Required `toml:"requires,omitempty"` }
Plan represents a contractual build plan.
type Plans ¶ added in v1.21.0
type Plans struct { // Plan is the primary Plan. Plan // Or are additional Plans. Optional. Or []Plan `toml:"or,omitempty"` }
Plans is a collection of Plan's in marshalable form.
type Provided ¶ added in v1.21.0
type Provided struct { // Name represents the name of a dependency. Name string `toml:"name"` }
Provided represents a dependency provided by a buildpack.
type Required ¶ added in v1.21.0
type Required struct { // Name represents the name of a dependency. Name string `toml:"name"` // Version represents the version of a dependency. Optional. Version string `toml:"version,omitempty"` // Metadata represents the metadata of a dependency. Optional. Metadata Metadata `toml:"metadata,omitempty"` }
Required represents a dependency required by a buildpack.
Click to show internal directories.
Click to hide internal directories.