Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud location datasource. DataSourceType = "hcloud_location" // DataSourceListType is the type name of the Hetzner Cloud location datasource. DataSourceListType = "hcloud_locations" )
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶ added in v1.24.1
DataSource creates a new Terraform schema for the hcloud_location datasource.
func DataSourceList ¶ added in v1.31.0
DataSourceList creates a new Terraform schema for the hcloud_locations datasource.
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon LocationID string LocationName string }
DData defines the fields for the "testdata/d/hcloud_location" template.
type DDataList ¶ added in v1.31.0
type DDataList struct {
testtemplate.DataCommon
}
LocationsDData defines the fields for the "testdata/d/hcloud_locations" template.
Click to show internal directories.
Click to hide internal directories.