configuration

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(configUrl string, cacheFilename string, checkInterval time.Duration,
	logger log.DebugLogger) (<-chan *Configuration, error)

Types

type AWSAccount

type AWSAccount struct {
	Name           string   `yaml:"name"`
	AccountID      string   `yaml:"account_id"`
	DisplayName    string   `yaml:"display_name"`
	GroupName      string   `yaml:"group_name"`
	ExtraUserRoles []string `yaml:"extra_user_roles"`
}

type AWSConfiguration

type AWSConfiguration struct {
	GroupPrefix string       `yaml:"group_prefix"`
	Account     []AWSAccount `yaml:"account"`
}

type Configuration

type Configuration struct {
	AWS AWSConfiguration `yaml:"aws"`
}

Jump to

Keyboard shortcuts

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