image

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImageDataSource

func NewImageDataSource() datasource.DataSource

NewImageDataSource is a helper function to simplify the provider implementation.

func NewImageResource

func NewImageResource() resource.Resource

NewImageResource 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"`
	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 Model

type Model 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"`
	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"`
	LocalFilePath types.String `tfsdk:"local_file_path"`
}

Jump to

Keyboard shortcuts

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