linode

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(configVarResolver *providerconfig.ConfigVarResolver) cloud.Provider

New returns a linode provider

Types

type Config

type Config struct {
	Token             string
	Region            string
	Type              string
	Backups           bool
	PrivateNetworking bool
	Tags              []string
}

type RawConfig

type RawConfig struct {
	Token             providerconfig.ConfigVarString   `json:"token"`
	Region            providerconfig.ConfigVarString   `json:"region"`
	Type              providerconfig.ConfigVarString   `json:"type"`
	Backups           providerconfig.ConfigVarBool     `json:"backups"`
	PrivateNetworking providerconfig.ConfigVarBool     `json:"private_networking"`
	Tags              []providerconfig.ConfigVarString `json:"tags"`
}

type TokenSource

type TokenSource struct {
	AccessToken string
}

func (*TokenSource) Token

func (t *TokenSource) Token() (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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