Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BuildContribution is a build plan dependency key indicating a requirement for the dependency at build time. BuildContribution string = "build" // Dependency is a build plan dependency indicating a requirement for a JRE. Dependency string = "openjdk-jre" // LaunchContribution is a build plan dependency yet indicate a requirement for the dependency at launch time. LaunchContribution string = "launch" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JRE ¶
type JRE struct { // Dependency is the dependency to be contributed. Dependency buildpack.Dependency // contains filtered or unexported fields }
JRE represents a JRE contribution by the buildpack.
func NewJRE ¶
NewJRE creates a new JRE instance. OK is true if build plan contains "openjdk-jre" dependency, otherwise false.
func (JRE) Contribute ¶
Contribute contributes an expanded JRE to a cache layer.
Click to show internal directories.
Click to hide internal directories.