internal/

directory
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 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.
Package iso_volume implements the data.hyperv_iso_volume data source.
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.
Package vm_state implements the hyperv_vm_state data source -- read-only power-state plus IP-address lookup for an existing VM by name.
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.
Package iso synthesizes deterministic ISO9660 volumes on the runner for the data.hyperv_iso_volume data source.
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 (M4 minimal first slice).
Package vm implements the hyperv_vm resource (M4 minimal first slice).
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.
Package scripts embeds the PowerShell scripts the provider runs against the host.
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 the typed hyperv-client DTO shape into terraform-plugin-framework types.List / types.Object values.
Package typeflatten holds small helpers that translate the typed hyperv-client DTO shape into terraform-plugin-framework types.List / types.Object values.
types
mac
Package mac provides a custom Terraform attribute type for MAC addresses used by the Hyper-V provider.
Package mac provides a custom Terraform attribute type for MAC addresses used by the Hyper-V provider.
path
Package path provides a custom Terraform attribute type for Windows file paths used by the Hyper-V provider.
Package path provides a custom Terraform attribute type for Windows file paths used by the Hyper-V provider.

Jump to

Keyboard shortcuts

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