Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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")
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, users and service users
- validates the loaded data for correct syntax
- returns the data in the in-memory account.Resources representation
func LoadResources ¶
func LoadResources(fs afero.Fs, workingDir string, projects manifest.ProjectDefinitionByProjectID) (*account.Resources, error)
LoadResources loads and merges resources from the specified projects assumed to be located within the specified working directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.