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

Method GetSpaceUsersByRoleType

actor/v7action/role.go:192–194  ·  view source on GitHub ↗
(spaceGuid string)

Source from the content-addressed store, hash-verified

190}
191
192func (actor Actor) GetSpaceUsersByRoleType(spaceGuid string) (map[constant.RoleType][]resources.User, Warnings, error) {
193 return actor.getUsersByRoleType(spaceGuid, ccv3.SpaceGUIDFilter)
194}
195
196func (actor Actor) getUsersByRoleType(guid string, filterKey ccv3.QueryKey) (map[constant.RoleType][]resources.User, Warnings, error) {
197 ccv3Roles, includes, ccWarnings, err := actor.CloudControllerClient.GetRoles(

Callers

nothing calls this directly

Implementers 1

FakeActorcommand/v7/v7fakes/fake_actor.go

Calls 1

getUsersByRoleTypeMethod · 0.95

Tested by

no test coverage detected