config

package
v0.0.0-...-208b0ff Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT 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 {
	AutoScalingGroupName string                   `json:"auto_scaling_group_name,omitempty"`
	TerminationMax       uint64                   `json:"termination_max,omitempty"`
	Region               string                   `json:"region,omitempty"`
	CloudProvider        providers.CloudProvider  `json:"cloud_provider,omitempty"`
	ComputeService       providers.ComputeService `json:"compute_service,omitempty"`
	DryRun               bool                     `json:"dry_run,omitempty"`
}

Config encapsulates CLI configuration.

func New

func New(ctx *cli.Context) *Config

New initializes a new instance of Config. TODO: Parameters need to be generalized across providers and compute services.

Jump to

Keyboard shortcuts

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