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

Function fakeServiceAccessResult

command/v7/service_access_command_test.go:193–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191})
192
193func fakeServiceAccessResult() []v7action.ServicePlanAccess {
194 return []v7action.ServicePlanAccess{
195 {
196 BrokerName: "broker-one",
197 ServiceOfferingName: "service-one",
198 ServicePlanName: "plan-one",
199 VisibilityType: "public",
200 },
201 {
202 BrokerName: "broker-one",
203 ServiceOfferingName: "service-two",
204 ServicePlanName: "plan-two",
205 VisibilityType: "admin",
206 },
207 {
208 BrokerName: "broker-two",
209 ServiceOfferingName: "service-three",
210 ServicePlanName: "plan-three",
211 VisibilityType: "organization",
212 VisibilityDetails: []string{"org-1", "org-2"},
213 },
214 {
215 BrokerName: "broker-two",
216 ServiceOfferingName: "service-four",
217 ServicePlanName: "plan-four",
218 VisibilityType: "organization",
219 VisibilityDetails: []string{"org-1", "org-3"},
220 },
221 {
222 BrokerName: "broker-three",
223 ServiceOfferingName: "service-five",
224 ServicePlanName: "plan-five",
225 VisibilityType: "space",
226 VisibilityDetails: []string{"space-1 in org org-1"},
227 },
228 }
229}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected