Documentation ¶
Index ¶
Constants ¶
View Source
const DataSourceType = "hcloud_network"
DataSourceType is the type name of the Hetzner Cloud Network resource.
View Source
const ResourceType = "hcloud_network"
ResourceType is the type name of the Hetzner Cloud Network resource.
View Source
const RouteResourceType = "hcloud_network_route"
RouteResourceType is the type name of the Hetzner Cloud Network Route resource.
View Source
const SubnetResourceType = "hcloud_network_subnet"
SubnetResourceType is the type name of the Hetzner Cloud Network Subnet resource.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon NetworkID string NetworkName string LabelSelector string }
DData defines the fields for the "testdata/d/hcloud_network" template.
type RData ¶
type RData struct { testtemplate.DataCommon Name string IPRange string Labels map[string]string }
RData defines the fields for the "testdata/r/hcloud_network" template.
type RDataRoute ¶
type RDataRoute struct { testtemplate.DataCommon NetworkID string Destination string Gateway string }
RDataRoute defines the fields for the "testdata/r/hcloud_network_route" template.
type RDataSubnet ¶
type RDataSubnet struct { testtemplate.DataCommon Type string NetworkID string NetworkZone string IPRange string }
RDataSubnet defines the fields for the "testdata/r/hcloud_network_subnet" template.
func (*RDataSubnet) TFID ¶
func (d *RDataSubnet) TFID() string
TFID returns the resource identifier.
Click to show internal directories.
Click to hide internal directories.