iammember

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package iammember provides primitives for IAM member identifiers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	ResolveIAMMembers(context.Context) (context.Context, []string, error)
}

Resolver resolves the IAM member identifiers for a caller context.

func ChainResolvers added in v0.8.0

func ChainResolvers(resolvers ...Resolver) Resolver

ChainResolvers creates a single resolver out of a chain of many resolvers.

The resulting resolved members will be the union of the members resolved by each resolver.

Execution is done in left-to-right order, including passing of context. For example ChainResolvers(one, two, three) will execute one before two before three, and three will see context changes of one and two.

If any resolver returns an error, that error is immediately returned and no further resolvers are called.

Directories

Path Synopsis
Package iamgooglemember provides primitives for resolving IAM members from Google ID tokens.
Package iamgooglemember provides primitives for resolving IAM members from Google ID tokens.

Jump to

Keyboard shortcuts

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