options

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	SideloadImage bool
	DinDNodeImage string
	ProxyAddr     string
	Version       string
	NumNodes      int
}

Options holds information typically set by flags.

func New

func New(set *flag.FlagSet, args []string) (*Options, error)

New takes a FlagSet, parses it, and creates an Options struct. This calls Parse, so add any external flags before creating an Options object.

Jump to

Keyboard shortcuts

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