linode

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryInterval = 30 * time.Second
	RetryTimeout  = 3 * time.Minute
)

Variables

View Source
var DefaultOptions = NewOptions()

Functions

func NewClient

func NewClient() *linodego.Client

Types

type Options

type Options struct {
	Token         string
	Region        string
	MachineType   string
	Image         string
	StackScriptID int
	RootPassword  string
	GitHubToken   string
}

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (opts *Options) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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