MCPcopy Index your code
hub / github.com/cloudfoundry/java-buildpack / Context

Struct Context

src/java/common/context.go:45–51  ·  view source on GitHub ↗

Context holds shared dependencies for buildpack components Used by containers, frameworks, and JREs to access buildpack infrastructure

Source from the content-addressed store, hash-verified

43// Context holds shared dependencies for buildpack components
44// Used by containers, frameworks, and JREs to access buildpack infrastructure
45type Context struct {
46 Stager Stager
47 Manifest Manifest
48 Installer Installer
49 Log *libbuildpack.Logger
50 Command Command
51}
52
53// DetermineJavaVersion determines the major Java version from a Java installation
54// by reading the JAVA_VERSION field from the release file.

Calls

no outgoing calls

Tested by

no test coverage detected