Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud location datasource. DataSourceType = "hcloud_location" // LocationsDataSourceType is the type name of the Hetzner Cloud location datasource. LocationsDataSourceType = "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 LocationsDataSource ¶ added in v1.24.1
LocationsDataSource 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 LocationsDData ¶
type LocationsDData struct {
testtemplate.DataCommon
}
LocationsDData defines the fields for the "testdata/d/hcloud_locations" template.
func (*LocationsDData) TFID ¶
func (d *LocationsDData) TFID() string
TFID returns the data source identifier.
Click to show internal directories.
Click to hide internal directories.