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

Method GetSpaceIsolationSegment

api/cloudcontroller/ccv3/relationship.go:35–45  ·  view source on GitHub ↗

GetSpaceIsolationSegment returns the relationship between a space and it's isolation segment.

(spaceGUID string)

Source from the content-addressed store, hash-verified

33// GetSpaceIsolationSegment returns the relationship between a space and it's
34// isolation segment.
35func (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.
48func (client *Client) SetApplicationDroplet(appGUID string, dropletGUID string) (resources.Relationship, Warnings, error) {

Callers

nothing calls this directly

Calls 1

MakeRequestMethod · 0.65

Tested by

no test coverage detected