Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud SSH Key data source. DataSourceType = "hcloud_ssh_key" // DataSourceListType is the type name of the Hetzner Cloud SSH Keys data source. DataSourceListType = "hcloud_ssh_keys" )
View Source
const ResourceType = "hcloud_ssh_key"
ResourceType is the type name of the Hetzner Cloud SSH Key resource.
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶ added in v1.24.1
DataSource creates a new Terraform schema for the hcloud_ssh_key data source.
func DataSourceList ¶ added in v1.31.0
DataSourceList creates a new Terraform schema for the hcloud_ssh_keys data source.
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon SSHKeyID string SSHKeyName string LabelSelector string }
DData defines the fields for the "testdata/d/hcloud_ssh_key" template.
type DDataList ¶ added in v1.31.0
type DDataList struct { testtemplate.DataCommon LabelSelector string }
DDataList defines the fields for the "testdata/d/hcloud_ssh_keys" template.
type RData ¶
type RData struct { testtemplate.DataCommon Name string PublicKey string Labels map[string]string }
RData defines the fields for the "testdata/r/hcloud_ssh_key" template.
Click to show internal directories.
Click to hide internal directories.