jre

package
v1.0.51 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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 {
	// contains filtered or unexported fields
}

JRE represents a JRE contribution by the buildpack.

func NewJRE

func NewJRE(build build.Build) (JRE, bool, error)

NewJRE creates a new JRE instance. OK is true if build plan contains "openjdk-jre" dependency, otherwise false.

func (JRE) Contribute

func (j JRE) Contribute() error

Contribute contributes an expanded JRE to a cache layer.

Jump to

Keyboard shortcuts

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