zonerrset

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const DataSourceListType = "hcloud_zone_rrsets"

DataSourceListType is the type name of the Hetzner Cloud Zones data source.

View Source
const DataSourceType = "hcloud_zone_rrset"

DataSourceType is the type name of the Hetzner Cloud Zone data source.

View Source
const ResourceType = "hcloud_zone_rrset"

ResourceType is the type name of the Hetzner Cloud Zone Resource Record Set resource.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

func NewDataSourceList

func NewDataSourceList() datasource.DataSource

func NewResource

func NewResource() resource.Resource

func NewTXTRecordFunction added in v1.55.0

func NewTXTRecordFunction() function.Function

func OverrideRecordsSOASerial added in v1.55.0

func OverrideRecordsSOASerial(hc *hcloud.ZoneRRSet)

OverrideRecordsSOASerial set the serial value to 0 in a SOA Resource Record Set.

Types

type DData

type DData struct {
	testtemplate.DataCommon

	Zone          string
	ID            string
	Name          string
	Type          string
	LabelSelector string
}

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

func (*DData) TFID

func (d *DData) TFID() string

TFID returns the data source identifier.

type DDataList

type DDataList struct {
	testtemplate.DataCommon

	Zone          string
	LabelSelector string
}

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

func (*DDataList) TFID

func (d *DDataList) TFID() string

TFID returns the data source identifier.

type DataSource

type DataSource struct {
	// contains filtered or unexported fields
}

func (*DataSource) ConfigValidators

func (d *DataSource) ConfigValidators(_ context.Context) []datasource.ConfigValidator

ConfigValidators returns a list of ConfigValidators. Each ConfigValidator's Validate method will be called when validating the data source.

func (*DataSource) Configure

Configure enables provider-level data or clients to be set in the provider-defined DataSource type. It is separately executed for each ReadDataSource RPC.

func (*DataSource) Metadata

Metadata should return the full name of the data source.

func (*DataSource) Read

Read is called when the provider must read data source values in order to update state. Config values should be read from the ReadRequest and new state values set on the ReadResponse.

func (*DataSource) Schema

Schema should return the schema for this data source.

type DataSourceList

type DataSourceList struct {
	// contains filtered or unexported fields
}

func (*DataSourceList) Configure

Configure enables provider-level data or clients to be set in the provider-defined DataSource type. It is separately executed for each ReadDataSource RPC.

func (*DataSourceList) Metadata

Metadata should return the full name of the data source.

func (*DataSourceList) Read

Read is called when the provider must read data source values in order to update state. Config values should be read from the ReadRequest and new state values set on the ReadResponse.

func (*DataSourceList) Schema

Schema should return the schema for this data source.

type RData

type RData struct {
	testtemplate.DataCommon
	Raw string

	Zone string
	schema.ZoneRRSet
}

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

func (*RData) TFID

func (d *RData) TFID() string

TFID returns the resource identifier.

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func (*Resource) Configure

Configure enables provider-level data or clients to be set in the provider-defined DataSource type. It is separately executed for each ReadDataSource RPC.

func (*Resource) Create

func (*Resource) Delete

func (*Resource) ImportState

func (*Resource) Metadata

Metadata should return the full name of the data source.

func (*Resource) Read

func (*Resource) Schema

func (*Resource) Update

type TXTRecordFunction added in v1.55.0

type TXTRecordFunction struct{}

func (*TXTRecordFunction) Definition added in v1.55.0

func (*TXTRecordFunction) Metadata added in v1.55.0

func (*TXTRecordFunction) Run added in v1.55.0

Jump to

Keyboard shortcuts

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