Documentation ¶
Index ¶
Constants ¶
View Source
const DataSourceType = "hcloud_ssh_key"
DataSourceType is the type name of the Hetzner Cloud SSH Key resource.
View Source
const ResourceType = "hcloud_ssh_key"
ResourceType is the type name of the Hetzner Cloud SSH Key resource.
View Source
const SSHKeysDataSourceType = "hcloud_ssh_keys"
SSHKeyDataSourceType is the type name of the Hetzner Cloud SSH Key resource.
Variables ¶
This section is empty.
Functions ¶
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.