Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud server type datasource. DataSourceType = "hcloud_server_type" // DataSourceListType is the type name of the Hetzner Cloud server type list datasource. DataSourceListType = "hcloud_server_types" )
Variables ¶
This section is empty.
Functions ¶
func NewDataSource ¶ added in v1.49.0
func NewDataSource() datasource.DataSource
func NewDataSourceList ¶ added in v1.49.0
func NewDataSourceList() datasource.DataSource
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon ServerTypeID string ServerTypeName string }
DData defines the fields for the "testdata/d/hcloud_server_type" template.
type DDataList ¶ added in v1.31.0
type DDataList struct {
testtemplate.DataCommon
}
ServerTypesDData defines the fields for the "testdata/d/hcloud_server_types" template.
Click to show internal directories.
Click to hide internal directories.