(appGUID string)
| 23 | } |
| 24 | |
| 25 | func (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. |
| 38 | func (client *Client) UpdateAppFeature(appGUID string, enabled bool, featureName string) (Warnings, error) { |
nothing calls this directly
no test coverage detected