hetzner

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a Hetzner provider

Types

type Config

type Config struct {
	Token      string
	ServerType string
	Datacenter string
	Location   string
	Networks   []string
	Labels     map[string]string
}

type RawConfig added in v0.2.0

type RawConfig struct {
	Token      providerconfig.ConfigVarString   `json:"token,omitempty"`
	ServerType providerconfig.ConfigVarString   `json:"serverType"`
	Datacenter providerconfig.ConfigVarString   `json:"datacenter"`
	Location   providerconfig.ConfigVarString   `json:"location"`
	Networks   []providerconfig.ConfigVarString `json:"networks"`
	Labels     map[string]string                `json:"labels,omitempty"`
}

Jump to

Keyboard shortcuts

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