Documentation ¶
Index ¶
- Constants
- func Resource() *schema.Resource
- func Sweep(r string) error
- type InvalidRDNSIDError
- type RData
- func NewRDataFloatingIP(t *testing.T, rName string, floatingIPID string, ipAddress string, ...) *RData
- func NewRDataLoadBalancer(t *testing.T, rName string, loadBalancer string, ipAddress string, ...) *RData
- func NewRDataPrimaryIP(t *testing.T, rName string, primaryIPID string, ipAddress string, ...) *RData
- func NewRDataServer(t *testing.T, rName string, serverID string, ipAddress string, dnsPTR string) *RData
Constants ¶
View Source
const ResourceType = "hcloud_rdns"
ResourceType is the type name of the Hetzner Cloud SSH Key resource.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InvalidRDNSIDError ¶ added in v1.30.0
type InvalidRDNSIDError struct {
ID string
}
func (InvalidRDNSIDError) Error ¶ added in v1.30.0
func (e InvalidRDNSIDError) Error() string
type RData ¶
type RData struct { testtemplate.DataCommon ServerID string PrimaryIPID string FloatingIPID string LoadBalancerID string IPAddress string DNSPTR string }
RData defines the fields for the "testdata/r/hcloud_rdns" template.
func NewRDataFloatingIP ¶ added in v1.30.0
func NewRDataFloatingIP(t *testing.T, rName string, floatingIPID string, ipAddress string, dnsPTR string) *RData
NewRDataFloatingIP creates data for a new rdns resource with floating_ip_id.
func NewRDataLoadBalancer ¶ added in v1.30.0
func NewRDataLoadBalancer(t *testing.T, rName string, loadBalancer string, ipAddress string, dnsPTR string) *RData
NewRDataLoadBalancer creates data for a new rdns resource with load_balancer_id.
func NewRDataPrimaryIP ¶ added in v1.39.0
func NewRDataPrimaryIP(t *testing.T, rName string, primaryIPID string, ipAddress string, dnsPTR string) *RData
NewRDataPrimaryIP creates data for a new rdns resource with primary_ip_id.
Click to show internal directories.
Click to hide internal directories.