storageboxtype

package
v1.66.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DataSourceListType = "hcloud_storage_box_types"

DataSourceListType is the type name of the Hetzner Storage Box Types data source.

View Source
const DataSourceType = "hcloud_storage_box_type"

DataSourceType is the type name of the Hetzner Storage Box Type data source.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

func NewDataSourceList

func NewDataSourceList() datasource.DataSource

Types

type DData

type DData struct {
	testtemplate.DataCommon

	ID   string
	Name string
}

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

func (*DData) TFID

func (d *DData) TFID() string

TFID returns the data source identifier.

type DDataList

type DDataList struct {
	testtemplate.DataCommon
}

DDataList defines the fields for the "testdata/d/hcloud_storage_box_type" 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.

Jump to

Keyboard shortcuts

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