GetSpaceIsolationSegment returns the relationship between a space and it's isolation segment.
(spaceGUID string)
| 33 | // GetSpaceIsolationSegment returns the relationship between a space and it's |
| 34 | // isolation segment. |
| 35 | func (client *Client) GetSpaceIsolationSegment(spaceGUID string) (resources.Relationship, Warnings, error) { |
| 36 | var responseBody resources.Relationship |
| 37 | |
| 38 | _, warnings, err := client.MakeRequest(RequestParams{ |
| 39 | RequestName: internal.GetSpaceRelationshipIsolationSegmentRequest, |
| 40 | URIParams: internal.Params{"space_guid": spaceGUID}, |
| 41 | ResponseBody: &responseBody, |
| 42 | }) |
| 43 | |
| 44 | return responseBody, warnings, err |
| 45 | } |
| 46 | |
| 47 | // SetApplicationDroplet sets the specified droplet on the given application. |
| 48 | func (client *Client) SetApplicationDroplet(appGUID string, dropletGUID string) (resources.Relationship, Warnings, error) { |
nothing calls this directly
no test coverage detected