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

Method GetSSHEnabled

api/cloudcontroller/ccv3/application_feature.go:25–35  ·  view source on GitHub ↗
(appGUID string)

Source from the content-addressed store, hash-verified

23}
24
25func (client *Client) GetSSHEnabled(appGUID string) (SSHEnabled, Warnings, error) {
26 var responseBody SSHEnabled
27
28 _, warnings, err := client.MakeRequest(RequestParams{
29 RequestName: internal.GetSSHEnabled,
30 URIParams: internal.Params{"app_guid": appGUID},
31 ResponseBody: &responseBody,
32 })
33
34 return responseBody, warnings, err
35}
36
37// UpdateAppFeature enables/disables the ability to ssh for a given application.
38func (client *Client) UpdateAppFeature(appGUID string, enabled bool, featureName string) (Warnings, error) {

Callers

nothing calls this directly

Calls 1

MakeRequestMethod · 0.65

Tested by

no test coverage detected