rdns

package
v1.25.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

func Resource added in v1.24.1

func Resource() *schema.Resource

Resource creates a Terraform schema for the hcloud_rdns resource.

func Sweep

func Sweep(r string) error

Sweep removes all sshkeys from the Hetzner Cloud backend.

Types

type RData

type RData struct {
	testtemplate.DataCommon

	ServerID     string
	FloatingIPID string
	IPAddress    string
	DNSPTR       string
}

RData defines the fields for the "testdata/r/hcloud_rdns" template.

func NewRData

func NewRData(t *testing.T, rName string, serverID string, floatingIPID string, ipAddress string, dnsPTR string) *RData

NewRData creates data for a new rdns resource.

func (*RData) TFID

func (d *RData) TFID() string

TFID returns the resource identifier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL