Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud image resource. DataSourceType = "hcloud_image" // DataSourceListType is the type name to receive a list of Hetzner Cloud image resources. DataSourceListType = "hcloud_images" )
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶ added in v1.24.1
DataSource creates a Terraform schema for the hcloud_image data source.
func DataSourceList ¶ added in v1.31.0
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon ImageID string ImageName string LabelSelector string }
DData defines the fields for the "testdata/d/hcloud_image" template.
type DDataList ¶ added in v1.31.0
type DDataList struct { testtemplate.DataCommon LabelSelector string }
DData defines the fields for the "testdata/d/hcloud_images" template.
Click to show internal directories.
Click to hide internal directories.