image

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MPL-2.0 Imports: 20 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