flags

package
v0.0.0-...-9d0dce2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidOptionError = errgo.New("invalid option")
	ValidationError    = errgo.New("validation failed")
)

Functions

This section is empty.

Types

type Flags

type Flags struct {
	// Global flags
	Local                bool // Use local vagrant test cluster
	JobPath              string
	ClusterPath          string
	OrchestratorOverride string
	TunnelOverride       string
	Groups               []string
	ScalingGroup         uint
	DryRun               bool
	Force                bool
	AutoContinue         bool
	StopDelay            time.Duration
	DestroyDelay         time.Duration
	SliceDelay           time.Duration
	Options              Options

	vault.VaultConfig
	vault.GithubLoginData
}

type Options

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

func (*Options) Get

func (o *Options) Get(key string) (interface{}, bool)

func (*Options) Set

func (o *Options) Set(raw string) error

func (*Options) SetKeyValue

func (o *Options) SetKeyValue(key string, value interface{})

func (*Options) String

func (o *Options) String() string

func (*Options) Type

func (o *Options) Type() string

Jump to

Keyboard shortcuts

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