Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetScopeIds ¶
func GetScopeIds( ctx context.Context, repoFn common.IamRepoFactory, authResults auth.VerifyResults, rootScopeId string, recursive bool) ([]string, map[string]*scopes.ScopeInfo, error)
GetScopeIds, given common parameters for List calls, returns the set of scope IDs in which to search for resources. It also returns a memoized map of the scopes to their info for populating returned values.
Note: This was originally pulled out 1:1 from the role service. It and other tests in the other service handlers test this function extensively as it forms the basis for all recursive listing tests; see those tests for list functionality in the various service handlers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.