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

Method GetAppFeature

api/cloudcontroller/ccv3/application_feature.go:13–23  ·  view source on GitHub ↗
(appGUID string, featureName string)

Source from the content-addressed store, hash-verified

11}
12
13func (client *Client) GetAppFeature(appGUID string, featureName string) (resources.ApplicationFeature, Warnings, error) {
14 var responseBody resources.ApplicationFeature
15
16 _, warnings, err := client.MakeRequest(RequestParams{
17 RequestName: internal.GetApplicationFeaturesRequest,
18 URIParams: internal.Params{"app_guid": appGUID, "name": featureName},
19 ResponseBody: &responseBody,
20 })
21
22 return responseBody, warnings, err
23}
24
25func (client *Client) GetSSHEnabled(appGUID string) (SSHEnabled, Warnings, error) {
26 var responseBody SSHEnabled

Callers

nothing calls this directly

Calls 1

MakeRequestMethod · 0.65

Tested by

no test coverage detected