common

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 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 {
	Region                             string
	Akid                               string
	Secret                             string
	DefaultSubnetGroup                 string
	DefaultDBParameterGroupName        map[string]string
	DefaultDBClusterParameterGroupName map[string]string
}

Account is the configuration for an individual account

type Config

type Config struct {
	Accounts map[string]Account
	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