linode

package
v1.12.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: MPL-2.0 Imports: 24 Imported by: 3

Documentation

Index

Constants

View Source
const (
	LinodeInstanceCreateTimeout = 10 * time.Minute
	LinodeInstanceUpdateTimeout = 20 * time.Minute
	LinodeInstanceDeleteTimeout = 10 * time.Minute
)
View Source
const (
	LinodeVolumeCreateTimeout = 10 * time.Minute
	LinodeVolumeUpdateTimeout = 20 * time.Minute
	LinodeVolumeDeleteTimeout = 10 * time.Minute
)
View Source
const DefaultLinodeURL = "https://api.linode.com/v4"

DefaultLinodeURL is the Linode APIv4 URL to use

View Source
const (
	LinodeImageCreateTimeout = 20 * time.Minute
)

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider creates and manages the resources in a Linode configuration.

Types

type Config added in v1.9.3

type Config struct {
	AccessToken string
	APIURL      string
	APIVersion  string
	UAPrefix    string
	// contains filtered or unexported fields
}

Config represents the Linode provider configuration

func (*Config) Client added in v1.9.3

func (c *Config) Client() linodego.Client

Client returns a fully initialized Linode client

Jump to

Keyboard shortcuts

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