Documentation ¶
Index ¶
Constants ¶
View Source
const ( FromEnd = "end" FromStart = "start" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // CIDR of private network. // Default is 10.20.0.0/16 CIDR string // Enabled of not. // Default is false. Enabled bool // Network zone. // Default is eu-central. Zone string }
Config can be used to configure hetzner network with given CIDR and zone.
type Subnet ¶
type Subnet struct {
Resource *hcloud.NetworkSubnet
}
Click to show internal directories.
Click to hide internal directories.