config

package
v0.0.0-...-e4d5ac6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DEFALULT_CONFIG = "/etc/rds-testrunner.conf"
View Source
const RTRRC = "rtrrc"

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() (config *hcl.Object, err error)

Types

type AWSCredential

type AWSCredential struct {
	Key    string
	Secret string
}

func GetAwsCredential

func GetAwsCredential() (auth AWSCredential, err error)

type NotifyConfig

type NotifyConfig struct {
	Type  string
	Token string
	Name  string
	Room  string
}

func GetNotifyConfig

func GetNotifyConfig() (notifyConfig NotifyConfig, err error)

Now, hipchat only. TODO: other platform notifier

type Resource

type Resource struct {
	InstanceIdentifier string
	InstanceRegion     string
	User               string
	Password           string
	Warmup             string
}

func GetResource

func GetResource(name string) (resourceData Resource, err error)

Jump to

Keyboard shortcuts

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