config

package
Version: v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Instances []Instance `yaml:"instances"`
}

Config contains configuration file information.

func Load added in v0.5.0

func Load(filename string) (*Config, error)

Load loads configuration from file.

type Instance

type Instance struct {
	Region   string `yaml:"region"`
	Instance string `yaml:"instance"`
	// Type InstanceType `yaml:"type"` // may be empty for old pmm-managed
	AWSAccessKey string `yaml:"aws_access_key"` // may be empty
	AWSSecretKey string `yaml:"aws_secret_key"` // may be empty
}

Instance represents a single RDS information from configuration file.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL