Help us shape the future of Go! Take the 2026 Go Developer Survey

host

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package host implements the hyperv_host data source — read-only information about the Hyper-V host.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() datasource.DataSource

New is the framework factory.

Types

type DataSource

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

DataSource implements data.hyperv_host.

func (*DataSource) Configure

func (*DataSource) Metadata

func (*DataSource) Read

func (*DataSource) Schema

type Model

type Model struct {
	ComputerName          types.String `tfsdk:"computer_name"`
	LogicalProcessorCount types.Int64  `tfsdk:"logical_processor_count"`
	MemoryCapacityBytes   types.Int64  `tfsdk:"memory_capacity_bytes"`
	VirtualMachinePath    types.String `tfsdk:"virtual_machine_path"`
	VirtualHardDiskPath   types.String `tfsdk:"virtual_hard_disk_path"`
}

Model is the tfsdk-bound state struct.

Jump to

Keyboard shortcuts

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