iam

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultGroupSeparator = "::"

DefaultGroupSeparator is the string that is used for distinguishing where one group name ends and where the next one starts when parsing the Kubernetes groups from the IAM tags.

Variables

This section is empty.

Functions

func Scan

func Scan(c *ScanConfig, awsAPIs *intaws.API) (ms *mapping.All, err error)

Types

type ScanConfig

type ScanConfig struct {
	ClusterName       string `yaml:"clusterName"`
	ClusterAccountID  string `yaml:"clusterAccountID"`
	PathPrefix        string `yaml:"pathPrefix"`
	GroupSeparatorStr string `yaml:"groupSeparator"`
	DisableUserScan   bool   `yaml:"disableUserScan"`
	DisableRoleScan   bool   `yaml:"disableRoleScan"`
}

func (*ScanConfig) GroupSeparator added in v0.0.6

func (c *ScanConfig) GroupSeparator() string

func (*ScanConfig) TagPrefix

func (c *ScanConfig) TagPrefix() string

func (*ScanConfig) Validate

func (c *ScanConfig) Validate() error

Jump to

Keyboard shortcuts

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