config

package
v0.0.0-...-8af0d3c Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRED_TYPE_CLI          = "CLI"
	CRED_TYPE_SERVICE_ROLE = "ServiceRole"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountConfig

type AccountConfig struct {
	Name       string
	Id         string
	Credential Credential
	Filters    Filters
}

type CfnGlobalViewsConfig

type CfnGlobalViewsConfig struct {
	RootConfig     RootConfig
	AccountConfigs []AccountConfig
}

func GetConfig

func GetConfig(filePath string) (*CfnGlobalViewsConfig, error)

type Credential

type Credential struct {
	Type        string
	ProfileName string
}

type Filters

type Filters struct {
	Regions        []string
	StackTags      []Tag
	StackNameRegex string
}

type RootConfig

type RootConfig struct {
	Credential Credential
	Filters    Filters
}

type Tag

type Tag struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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