Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetListingScopeIds ¶ added in v0.2.0
func GetListingScopeIds( ctx context.Context, repoFn common.IamRepoFactory, authResults auth.VerifyResults, rootScopeId string, typ resource.Type, recursive bool, directOnly bool) ([]string, map[string]*scopes.ScopeInfo, error)
GetListingScopeIds, 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.