Help us shape the future of Go! Take the 2026 Go Developer Survey

packet

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a Packet provider

Types

type Config

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

type RawConfig

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

Jump to

Keyboard shortcuts

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