config

package
v5.11.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NeedsIAASCreds

func NeedsIAASCreds(command string) bool

func ParseArgs

func ParseArgs(args []string) (globalFlags, []string, error)

func ValidateIAAS

func ValidateIAAS(state storage.State) error

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(bootstrap StateBootstrap, migrator migrator, logger logger, fileIO fileio.FileIO) Config

func (Config) Bootstrap

func (c Config) Bootstrap(args []string) (application.Configuration, error)

type GCPZonerHack

type GCPZonerHack struct {
	// contains filtered or unexported fields
}

func NewGCPZonerHack

func NewGCPZonerHack(gcpAvailabilityZoneRetriever gcpAvailabilityZoneRetriever) GCPZonerHack

func (GCPZonerHack) SetZones

func (g GCPZonerHack) SetZones(state storage.State) (storage.State, error)

type StateBootstrap

type StateBootstrap interface {
	GetState(string) (storage.State, error)
}

Jump to

Keyboard shortcuts

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