config

package
v5.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 17, 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(iaas, command string) bool

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, logger logger) 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