linode

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 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

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,omitempty"`
	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,omitempty"`
}

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