Help us shape the future of Go! Take the 2026 Go Developer Survey

image

package
v1.70.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const DataSourceListType = "hcloud_images"

DataSourceListType is the type name of the Hetzner Cloud Images datasource.

View Source
const DataSourceType = "hcloud_image"

Variables

This section is empty.

Functions

func NewDataSource added in v1.66.0

func NewDataSource() datasource.DataSource

func NewDataSourceList added in v1.66.0

func NewDataSourceList() datasource.DataSource

Types

type DData

type DData struct {
	testtemplate.DataCommon

	ID                string
	Name              string
	WithSelector      string
	WithArchitecture  hcloud.Architecture
	IncludeDeprecated bool
	MostRecent        *bool

	Raw string
}

DData defines the fields for the "testdata/d/hcloud_image" 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

	WithSelector      string
	WithArchitecture  hcloud.Architecture
	WithStatus        hcloud.ImageStatus
	IncludeDeprecated bool

	Raw string
}

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

func (*DDataList) TFID added in v1.31.0

func (d *DDataList) TFID() string

TFID returns the data source identifier.

type DataSource added in v1.24.1

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

func (*DataSource) ConfigValidators added in v1.66.0

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

func (*DataSource) Configure added in v1.66.0

func (*DataSource) Metadata added in v1.66.0

func (*DataSource) Read added in v1.66.0

func (*DataSource) Schema added in v1.66.0

type DataSourceList added in v1.31.0

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

func (*DataSourceList) Configure added in v1.66.0

func (*DataSourceList) Metadata added in v1.66.0

func (*DataSourceList) Read added in v1.66.0

func (*DataSourceList) Schema added in v1.66.0

Jump to

Keyboard shortcuts

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