Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Dependency is the key identifying the riff java invoker in the buildpack plan. Dependency = "riff-invoker-java" // Handler is the key identifying the riff handler metadata in the build plan Handler = "handler" )
Variables ¶
This section is empty.
Functions ¶
func BuildPlanContribution ¶
BuildPlanContribution returns the BuildPlan with requirements for the invoker
func NewBuildpack ¶
Types ¶
type JavaBuildpack ¶
type JavaBuildpack struct {
// contains filtered or unexported fields
}
func (*JavaBuildpack) Id ¶
func (bp *JavaBuildpack) Id() string
type RiffJavaInvoker ¶
type RiffJavaInvoker struct {
// contains filtered or unexported fields
}
RiffJavaInvoker represents the Java invoker contributed by the buildpack.
func NewJavaInvoker ¶
func NewJavaInvoker(build build.Build) (RiffJavaInvoker, bool, error)
NewJavaInvoker creates a new RiffJavaInvoker instance. OK is true if build plan contains "riff-invoker-java" dependency, otherwise false.
func (RiffJavaInvoker) Contribute ¶
func (r RiffJavaInvoker) Contribute() error
Contribute makes the contribution to the launch layer
Click to show internal directories.
Click to hide internal directories.