Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud SSH Key data source. DataSourceType = "hcloud_ssh_key" // SSHKeysDataSourceType is the type name of the Hetzner Cloud SSH Keys data source. SSHKeysDataSourceType = "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 Resource ¶ added in v1.24.1
Resource creates a Terraform schema for the hcloud_ssh_key resource.
func SSHKeysDataSource ¶ added in v1.24.1
SSHKeysDataSource 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 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.
type SSHKeysDData ¶
type SSHKeysDData struct { testtemplate.DataCommon LabelSelector string }
SSHKeysDData defines the fields for the "testdata/d/hcloud_ssh_keys" template.
func (*SSHKeysDData) TFID ¶
func (d *SSHKeysDData) TFID() string
TFID returns the data source identifier.
Click to show internal directories.
Click to hide internal directories.