scopeids

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MPL-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

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