MCPcopy Index your code
hub / github.com/cloudfoundry/cli / GetApplicationEnvironment

Method GetApplicationEnvironment

api/cloudcontroller/ccv3/environment.go:29–39  ·  view source on GitHub ↗

GetApplicationEnvironment fetches all the environment variables on an application by groups.

(appGUID string)

Source from the content-addressed store, hash-verified

27// GetApplicationEnvironment fetches all the environment variables on
28// an application by groups.
29func (client *Client) GetApplicationEnvironment(appGUID string) (Environment, Warnings, error) {
30 var responseBody Environment
31
32 _, warnings, err := client.MakeRequest(RequestParams{
33 RequestName: internal.GetApplicationEnvRequest,
34 URIParams: internal.Params{"app_guid": appGUID},
35 ResponseBody: &responseBody,
36 })
37
38 return responseBody, warnings, err
39}

Callers

nothing calls this directly

Calls 1

MakeRequestMethod · 0.65

Tested by

no test coverage detected