image

package
v0.65.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageV2DataSource

func NewImageV2DataSource() datasource.DataSource

NewImageV2DataSource is a helper function to simplify the provider implementation.

Types

type DataSourceModel

type DataSourceModel struct {
	Id            types.String `tfsdk:"id"` // needed by TF
	ProjectId     types.String `tfsdk:"project_id"`
	ImageId       types.String `tfsdk:"image_id"`
	Name          types.String `tfsdk:"name"`
	NameRegex     types.String `tfsdk:"name_regex"`
	SortAscending types.Bool   `tfsdk:"sort_ascending"`
	Filter        types.Object `tfsdk:"filter"`

	DiskFormat  types.String `tfsdk:"disk_format"`
	MinDiskSize types.Int64  `tfsdk:"min_disk_size"`
	MinRAM      types.Int64  `tfsdk:"min_ram"`
	Protected   types.Bool   `tfsdk:"protected"`
	Scope       types.String `tfsdk:"scope"`
	Config      types.Object `tfsdk:"config"`
	Checksum    types.Object `tfsdk:"checksum"`
	Labels      types.Map    `tfsdk:"labels"`
}

type Filter

type Filter struct {
	OS         types.String `tfsdk:"os"`
	Distro     types.String `tfsdk:"distro"`
	Version    types.String `tfsdk:"version"`
	UEFI       types.Bool   `tfsdk:"uefi"`
	SecureBoot types.Bool   `tfsdk:"secure_boot"`
}

Jump to

Keyboard shortcuts

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