Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIdFieldMissing = errors.New("no ref id field found")
View Source
var ErrMixingConfigs = errors.New("mixing both configurations and account resources is not allowed")
View Source
var ErrMixingDelete = errors.New("mixing account resources with a delete file definition is not allowed")
View Source
var ErrRefMissing = errors.New("no referenced target found")
Functions ¶
func HasAnyAccountKeyDefined ¶
HasAnyAccountKeyDefined checks whether the map has any AM key defined. The current keys are `users`, `groups`, and `policies`.
func Load ¶
Load loads account management resources from YAML configuration files located within the specified root directory path. It:
- parses YAML files found under rootPath, extracts policies, groups, and users data
- validates the loaded data for correct syntax
- returns the data in the in-memory account.Resources representation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.