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

internal/

directory
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

Directories

Path Synopsis
Package acctest provides acceptance-test scaffolding shared across resource packages.
Package acctest provides acceptance-test scaffolding shared across resource packages.
Package connection defines the transport abstraction the typed Hyper-V client (internal/hyperv) uses to ship PowerShell scripts to a Windows host and read their results back.
Package connection defines the transport abstraction the typed Hyper-V client (internal/hyperv) uses to ship PowerShell scripts to a Windows host and read their results back.
datasources
host
Package host implements the hyperv_host data source — read-only information about the Hyper-V host.
Package host implements the hyperv_host data source — read-only information about the Hyper-V host.
iso_volume
Package iso_volume implements the data.hyperv_iso_volume data source: pure runner-side synthesis of a deterministic ISO9660 volume from (volume_label, files) inputs, exposed as bytes (base64), sha256, and size.
Package iso_volume implements the data.hyperv_iso_volume data source: pure runner-side synthesis of a deterministic ISO9660 volume from (volume_label, files) inputs, exposed as bytes (base64), sha256, and size.
vm_state
Package vm_state implements the hyperv_vm_state data source: read-only power-state plus IP-address lookup for an existing VM by name, for HCL conditionals and downstream resources that gate on live VM state without managing the VM.
Package vm_state implements the hyperv_vm_state data source: read-only power-state plus IP-address lookup for an existing VM by name, for HCL conditionals and downstream resources that gate on live VM state without managing the VM.
vswitch
Package vswitch implements the hyperv_virtual_switch data source: read-only access to an existing switch by name.
Package vswitch implements the hyperv_virtual_switch data source: read-only access to an existing switch by name.
Package hyperv is the typed Go wrapper over the connection layer.
Package hyperv is the typed Go wrapper over the connection layer.
Package iso synthesizes deterministic ISO9660 volumes on the runner for the data.hyperv_iso_volume data source: same volume_label + files map always produces byte-identical output, so sha256 stays stable across applies and the runner-streamed transport-corruption check never false-positives.
Package iso synthesizes deterministic ISO9660 volumes on the runner for the data.hyperv_iso_volume data source: same volume_label + files map always produces byte-identical output, so sha256 stays stable across applies and the runner-streamed transport-corruption check never false-positives.
Package provider implements the Hyper-V Terraform provider.
Package provider implements the Hyper-V Terraform provider.
resources
image_file
Package image_file implements the hyperv_image_file resource.
Package image_file implements the hyperv_image_file resource.
nat_static_mapping
Package nat_static_mapping implements the hyperv_nat_static_mapping resource.
Package nat_static_mapping implements the hyperv_nat_static_mapping resource.
vhd
Package vhd implements the hyperv_vhd resource.
Package vhd implements the hyperv_vhd resource.
vm
Package vm implements the hyperv_vm resource, wrapping the vm/{get,new,set,remove}.ps1 contract via the typed hyperv.Client.
Package vm implements the hyperv_vm resource, wrapping the vm/{get,new,set,remove}.ps1 contract via the typed hyperv.Client.
vswitch
Package vswitch implements the hyperv_virtual_switch resource.
Package vswitch implements the hyperv_virtual_switch resource.
Package scripts embeds the PowerShell scripts the provider runs against the host, one subdirectory per resource family.
Package scripts embeds the PowerShell scripts the provider runs against the host, one subdirectory per resource family.
Package testutil provides shared test helpers — primarily a deterministic fake of connection.Runner that lets typed-client tests exercise the JSON contract without needing a real Hyper-V host or even a real pwsh binary.
Package testutil provides shared test helpers — primarily a deterministic fake of connection.Runner that lets typed-client tests exercise the JSON contract without needing a real Hyper-V host or even a real pwsh binary.
Package typeflatten holds small helpers that translate typed hyperv-client DTOs into terraform-plugin-framework types.List / types.Object values.
Package typeflatten holds small helpers that translate typed hyperv-client DTOs into terraform-plugin-framework types.List / types.Object values.
types
mac
Package mac provides a Terraform attribute type for MAC addresses that suppresses spurious plan-vs-apply diffs from cosmetic representation differences.
Package mac provides a Terraform attribute type for MAC addresses that suppresses spurious plan-vs-apply diffs from cosmetic representation differences.
path
Package path provides a Terraform attribute type for Windows file paths that suppresses spurious plan-vs-apply diffs from cosmetic representation differences.
Package path provides a Terraform attribute type for Windows file paths that suppresses spurious plan-vs-apply diffs from cosmetic representation differences.

Jump to

Keyboard shortcuts

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