config

package
v0.0.0-...-b9d6626 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSProfileRegion

type AWSProfileRegion struct {
	Profile  string `yaml:"profile"`
	Region   string `yaml:"region"`
	AliasVal string `yaml:"alias,omitempty"`
}

AWSProfileRegion is a profile and region pair

func (*AWSProfileRegion) Alias

func (pr *AWSProfileRegion) Alias() string

Alias for profile/region pair

type Config

type Config struct {
	ProfileRegions []AWSProfileRegion `yaml:"search"`
}

Config struct for yadig

func LoadConfig

func LoadConfig(awsConfigPath string) *Config

LoadConfig loads a configuration file

Jump to

Keyboard shortcuts

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