packet

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 15 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 Packet provider

Types

type Config

type Config struct {
	APIKey       string
	ProjectID    string
	BillingCycle string
	InstanceType string
	Facilities   []string
	OS           string
	Tags         []string
}

type RawConfig

type RawConfig struct {
	APIKey       providerconfig.ConfigVarString   `json:"apiKey"`
	ProjectID    providerconfig.ConfigVarString   `json:"projectID"`
	BillingCycle providerconfig.ConfigVarString   `json:"billingCycle"`
	InstanceType providerconfig.ConfigVarString   `json:"instanceType"`
	Facilities   []providerconfig.ConfigVarString `json:"facilities"`
	OS           providerconfig.ConfigVarString   `json:"os"`
	Tags         []providerconfig.ConfigVarString `json:"tags"`
}

Jump to

Keyboard shortcuts

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