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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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