common

package
v0.16.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Endpoint   string
	ExternalID string
	Akid       string
	Secret     string
	Region     string
	Role       string
}

Account is the configuration for an individual account

type CommonConfig added in v0.15.1

type CommonConfig struct {
	DefaultSubnetGroup                 string
	DefaultDBParameterGroupName        map[string]string
	DefaultDBClusterParameterGroupName map[string]string
}

type Config

type Config struct {
	Account       Account
	AccountsMap   map[string]string
	DefaultConfig CommonConfig
	Token         string
	Org           string
}

Config is representation of the configuration data

func LoadConfig

func LoadConfig(filename string) (Config, error)

LoadConfig loads the JSON configuration from the specified filename and returns a Config struct

Jump to

Keyboard shortcuts

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