datacenter

package
v1.46.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DataSourceType is the type name of the Hetzner Cloud Datacenter datasource.
	DataSourceType = "hcloud_datacenter"

	// DataSourceListType is the type name of the Hetzner Cloud Datacenters datasource.
	DataSourceListType = "hcloud_datacenters"
)

Variables

This section is empty.

Functions

func NewDataSource added in v1.45.0

func NewDataSource() datasource.DataSource

func NewDataSourceList added in v1.45.0

func NewDataSourceList() datasource.DataSource

Types

type DData

type DData struct {
	testtemplate.DataCommon

	DatacenterID   string
	DatacenterName string
}

DData defines the fields for the "testdata/d/hcloud_datacenter" template.

func (*DData) TFID

func (d *DData) TFID() string

TFID returns the data source identifier.

type DDataList added in v1.31.0

type DDataList struct {
	testtemplate.DataCommon
}

DDataList defines the fields for the "testdata/d/hcloud_datacenters" template.

func (*DDataList) TFID added in v1.31.0

func (d *DDataList) TFID() string

TFID returns the data source identifier.

Jump to

Keyboard shortcuts

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