image

package
v1.49.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DataSourceType is the type name of the Hetzner Cloud image resource.
	DataSourceType = "hcloud_image"

	// DataSourceListType is the type name to receive a list of Hetzner Cloud image resources.
	DataSourceListType = "hcloud_images"
)

Variables

This section is empty.

Functions

func DataSource added in v1.24.1

func DataSource() *schema.Resource

DataSource creates a Terraform schema for the hcloud_image data source.

func DataSourceList added in v1.31.0

func DataSourceList() *schema.Resource

Types

type DData

type DData struct {
	testtemplate.DataCommon

	ImageID           string
	ImageName         string
	LabelSelector     string
	Architecture      hcloud.Architecture
	IncludeDeprecated bool
}

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

	LabelSelector     string
	Architecture      hcloud.Architecture
	IncludeDeprecated bool
}

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.

Jump to

Keyboard shortcuts

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