java

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

func BuildPlanContribution(detect detect.Detect, metadata function.Metadata) buildplan.Plan

BuildPlanContribution returns the BuildPlan with requirements for the invoker

func NewBuildpack

func NewBuildpack() function.Buildpack

Types

type JavaBuildpack

type JavaBuildpack struct {
	// contains filtered or unexported fields
}

func (*JavaBuildpack) Build

func (*JavaBuildpack) Build(b build.Build) error

func (*JavaBuildpack) Detect

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL