packet

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a schema.Provider for managing Packet infrastructure.

Types

type Config

type Config struct {
	AuthToken string
}

func (*Config) Client

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

Client() returns a new client for accessing Packet's API.

type ErrorResponse added in v0.6.10

type ErrorResponse struct {
	StatusCode int
	Errors
}

type Errors added in v0.6.10

type Errors []string

func (Errors) Error added in v0.6.10

func (e Errors) Error() string

Jump to

Keyboard shortcuts

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