file

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileMapper

type FileMapper struct {
	// contains filtered or unexported fields
}

func NewFileMapper

func NewFileMapper(cfg config.Config) (*FileMapper, error)

func NewFileMapperWithMaps

func NewFileMapperWithMaps(
	lowercaseRoleMap map[string]config.RoleMapping,
	lowercaseUserMap map[string]config.UserMapping,
	accountMap map[string]bool) *FileMapper

func (*FileMapper) IsAccountAllowed

func (m *FileMapper) IsAccountAllowed(accountID string) bool

func (*FileMapper) Map

func (m *FileMapper) Map(canonicalARN string) (*config.IdentityMapping, error)

func (*FileMapper) Name

func (m *FileMapper) Name() string

func (*FileMapper) Start

func (m *FileMapper) Start(_ <-chan struct{}) error

Jump to

Keyboard shortcuts

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