MCPcopy Create free account
hub / github.com/cloudfoundry/java-buildpack / Detect

Method Detect

src/java/jres/zing.go:38–40  ·  view source on GitHub ↗

Detect returns true if Zing JRE should be used Zing JRE requires explicit configuration via JBP_CONFIG_ZING_JRE environment variable

()

Source from the content-addressed store, hash-verified

36// Detect returns true if Zing JRE should be used
37// Zing JRE requires explicit configuration via JBP_CONFIG_ZING_JRE environment variable
38func (z *ZingJRE) Detect() (bool, error) {
39 return DetectJREByEnv("zing"), nil
40}
41
42// Supply installs the Zing JRE
43// Note: Zing JRE does NOT install jvmkill or memory calculator components

Callers

nothing calls this directly

Calls 1

DetectJREByEnvFunction · 0.85

Tested by

no test coverage detected