scopeids

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL