cli

package
v0.0.0-...-0d52f1b Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(a []string, x string) bool

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GenerateBootstrapScript

func GenerateBootstrapScript(label string, login string, authorizedKey []string) (string, error)

func GeneratePassword

func GeneratePassword() (string, error)

func GetIPAddresses

func GetIPAddresses() map[int][]linodego.InstanceIP

func PrintInstances

func PrintInstances(instances []linodego.Instance, ips map[int][]linodego.InstanceIP, options *PrintInstancesOptions)

Types

type PrintInstancesOptions

type PrintInstancesOptions struct {
	Type    string
	Options map[string]*string
}

Jump to

Keyboard shortcuts

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