config

package
v6.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 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, fs fs) 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