tfvarser

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrObjNotSupported this object is not supported
	ErrObjNotSupported = errors.New("Object in this provider is not supported")

	// ErrProviderNotSupported this provider is not supported
	ErrProviderNotSupported = errors.New("Provider is not supported")
)

Functions

func Run

func Run(appFlags *Flags, cfg Config) (int, error)

Run is the entrypoint for main autoscaleapp process

Types

type Config

type Config struct {
	AlicloudAccessKey string `envconfig:"ALICLOUD_ACCESS_KEY" required:"true"`
	AlicloudSecretKey string `envconfig:"ALICLOUD_SECRET_KEY" required:"true"`
	AlicloudRegionID  string `default:"ap-southeast-1"`
}

Config contains tfvars config

type Flags

type Flags struct {
	Provider    string
	ProviderObj string
	LimitNames  string
	LimitIDs    string
	TemplateDir string
}

Flags contains run-time flags

Jump to

Keyboard shortcuts

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