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

Method getAppDetails

src/java/jres/jvmkill.go:230–238  ·  view source on GitHub ↗

getAppDetails extracts application details from environment

()

Source from the content-addressed store, hash-verified

228
229// getAppDetails extracts application details from environment
230func (j *JVMKillAgent) getAppDetails() appDetails {
231 // These are set by Cloud Foundry
232 return appDetails{
233 appName: os.Getenv("VCAP_APPLICATION_NAME"),
234 appID: os.Getenv("VCAP_APPLICATION_ID"),
235 spaceName: os.Getenv("VCAP_APPLICATION_SPACE_NAME"),
236 spaceID: os.Getenv("VCAP_APPLICATION_SPACE_ID"),
237 }
238}

Callers 1

getHeapDumpPathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected