jdk

package
v1.0.67 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Dependency = "openjdk-jdk"

Dependency is a build plan dependency indicating a requirement for a JDK.

Variables

This section is empty.

Functions

This section is empty.

Types

type JDK

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

JDK represents a JDK contribution by the buildpack.

func NewJDK

func NewJDK(build build.Build) (JDK, bool, error)

NewJDK creates a new JDK instance. OK is true if build plan contains "openjdk-jdk" dependency, otherwise false.

func (JDK) Contribute

func (j JDK) Contribute() error

Contribute contributes an expanded JDK to a cache layer.

Jump to

Keyboard shortcuts

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