images

package
v0.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

NewDataSource initialises an images datasource

Types

type DataSource

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

func (*DataSource) Configure

Configure adds the provider configured client to the data source.

func (*DataSource) Metadata

func (*DataSource) Read

func (*DataSource) Schema

type DataSourceModel

type DataSourceModel struct {
	ID        types.String           `tfsdk:"id"`
	ProjectID types.String           `tfsdk:"project_id"`
	Timeouts  timeouts.Value         `tfsdk:"timeouts"`
	Images    []ImageDataSourceModel `tfsdk:"images"`
}

type DigestDataSourceModel

type DigestDataSourceModel struct {
	Type  types.String `tfsdk:"type"`
	Value types.String `tfsdk:"value"`
}

type ImageDataSourceModel

type ImageDataSourceModel struct {
	BlockSize    types.Int64           `tfsdk:"block_size"`
	Description  types.String          `tfsdk:"description"`
	Digest       DigestDataSourceModel `tfsdk:"digest"`
	ID           types.String          `tfsdk:"id"`
	Name         types.String          `tfsdk:"name"`
	OS           types.String          `tfsdk:"os"`
	Size         types.Int64           `tfsdk:"size"`
	TimeCreated  types.String          `tfsdk:"time_created"`
	TimeModified types.String          `tfsdk:"time_modified"`
	Version      types.String          `tfsdk:"version"`
}

Jump to

Keyboard shortcuts

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