config

package
v0.0.0-...-00487ec Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 Credential

type Credential struct {
	ProfileName string
}

type Filters

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

type InventoryConfig

type InventoryConfig struct {
	RootConfig       RootConfig
	ConfigByAccounts []AccountConfig
}

func GetConfig

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

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