packet

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2018 License: MPL-2.0 Imports: 18 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

type ErrorResponse struct {
	StatusCode int
	Errors
}

type Errors

type Errors []string

func (Errors) Error

func (e Errors) Error() string

Jump to

Keyboard shortcuts

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