linode

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activator

type Activator struct {
}

func (Activator) GenProvider

func (a Activator) GenProvider(verifiedToken string) ol.Provider

func (Activator) ListTokenName

func (a Activator) ListTokenName() []string

func (Activator) VerifyToken

func (a Activator) VerifyToken(token string) bool

type Provider

type Provider struct {
	API linodego.Client
	// contains filtered or unexported fields
}

func (Provider) CreateInstance

func (p Provider) CreateInstance(in ol.Instance) (ol.Instance, error)

func (Provider) DestroyInstance

func (p Provider) DestroyInstance(id string) error

func (Provider) GetToken

func (p Provider) GetToken() string

func (Provider) ListInstance

func (p Provider) ListInstance() ([]ol.Instance, error)

func (Provider) ListRegion

func (p Provider) ListRegion() ([]ol.Region, error)

func (Provider) ListSpec

func (p Provider) ListSpec() ([]ol.Spec, error)

func (Provider) Name

func (p Provider) Name() string

func (Provider) WaitInstance

func (p Provider) WaitInstance(in ol.Instance) error

Jump to

Keyboard shortcuts

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