Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dmacvicar/terraform-provider-libvirt
/ types & classes
Types & classes
76 in github.com/dmacvicar/terraform-provider-libvirt
⨍
Functions
453
◇
Types & classes
76
↓ 2 callers
TypeAlias
ProxyMode
ProxyMode defines the SSH proxy mode for connecting to libvirt. See https://libvirt.org/uri.html#proxy-parameter
internal/libvirt/dialers/sshcmd.go:28
Struct
AttributeFieldInfo
AttributeFieldInfo stores information about an attribute field to be flattened
internal/codegen/generator/ir.go:58
Struct
Batch
Batch represents a group of fields to document together
internal/codegen/docgen/batch.go:19
Struct
BooleanToPresencePattern
BooleanToPresencePattern indicates field is presence-only (empty struct).
internal/codegen/generator/ir.go:65
Struct
Client
Client wraps the libvirt connection and provides helper methods
internal/libvirt/client.go:17
Struct
CloudInitDiskResource
CloudInitDiskResource defines the resource implementation
internal/provider/cloudinit_disk_resource.go:25
Struct
CloudInitDiskResourceModel
CloudInitDiskResourceModel describes the resource data model
internal/provider/cloudinit_disk_resource.go:30
Struct
CombustionResource
CombustionResource defines the resource implementation
internal/provider/combustion_resource.go:23
Struct
CombustionResourceModel
CombustionResourceModel describes the resource data model
internal/provider/combustion_resource.go:28
Struct
ConvertGenerator
ConvertGenerator generates conversion code between XML and Terraform models.
internal/codegen/generator/convert.go:11
Interface
Dialer
Dialer is the interface for establishing connections to libvirt. This matches the interface used by go-libvirt dialers.
internal/libvirt/dialers/dialer.go:14
Struct
DomainCreateModel
DomainCreateModel describes domain start flags
internal/provider/domain_resource.go:65
Struct
DomainDestroyModel
DomainDestroyModel describes domain shutdown behavior
internal/provider/domain_resource.go:80
Struct
DomainInterfaceAddressesDataSource
internal/provider/data_source_domain_interface_addresses.go:22
Struct
DomainInterfaceAddressesDataSourceModel
internal/provider/data_source_domain_interface_addresses.go:26
Struct
DomainInterfaceWaitForIPModel
DomainInterfaceWaitForIPModel describes wait_for_ip overrides.
internal/provider/domain_resource.go:51
Struct
DomainResource
DomainResource defines the resource implementation
internal/provider/domain_resource.go:35
Struct
DomainResourceModel
DomainResourceModel embeds the generated domain model and adds provider-specific fields.
internal/provider/domain_resource.go:40
Struct
DomainShutdownModel
DomainShutdownModel describes optional shutdown wait behavior.
internal/provider/domain_resource.go:86
Struct
DomainUpdateModel
DomainUpdateModel describes domain update stop behavior.
internal/provider/domain_resource.go:75
Struct
Entry
Entry represents one documentation snippet tied to a Terraform path.
internal/codegen/docregistry/docregistry.go:17
Struct
FieldContext
FieldContext provides context for a field to be documented
internal/codegen/docgen/batch.go:24
Struct
FieldIR
FieldIR represents a single field in a struct.
internal/codegen/generator/ir.go:80
Struct
FileIndex
FileIndex contains all sections from a single HTML file
internal/codegen/docindex/index.go:13
Struct
IPAddressModel
internal/provider/data_source_domain_interface_addresses.go:39
Struct
IgnitionResource
IgnitionResource defines the resource implementation
internal/provider/ignition_resource.go:23
Struct
IgnitionResourceModel
IgnitionResourceModel describes the resource data model
internal/provider/ignition_resource.go:28
TypeAlias
Index
Index maps HTML filenames to their section data
internal/codegen/docindex/index.go:18
Struct
InterfaceAddressModel
internal/provider/data_source_domain_interface_addresses.go:33
Struct
LibvirtProvider
LibvirtProvider defines the provider implementation
internal/provider/provider.go:20
Struct
LibvirtProviderModel
LibvirtProviderModel describes the provider data model
internal/provider/provider.go:25
Struct
LibvirtXMLReflector
LibvirtXMLReflector analyzes libvirtxml structs using reflection.
internal/codegen/parser/libvirtxml.go:13
Struct
ModelGenerator
ModelGenerator generates Terraform model structs.
internal/codegen/generator/model.go:11
Struct
NetworkResource
NetworkResource uses 100% generated code
internal/provider/network_resource.go:27
Struct
NetworkResourceModel
NetworkResourceModel extends generated model with resource-specific fields
internal/provider/network_resource.go:32
Struct
NodeDeviceInfoDataSource
internal/provider/data_source_node_device_info.go:22
Struct
NodeDeviceInfoDataSourceModel
internal/provider/data_source_node_device_info.go:26
Struct
NodeDevicesDataSource
internal/provider/data_source_node_devices.go:22
Struct
NodeDevicesDataSourceModel
internal/provider/data_source_node_devices.go:26
Struct
NodeInfoDataSource
internal/provider/data_source_node_info.go:20
Struct
NodeInfoDataSourceModel
internal/provider/data_source_node_info.go:24
Struct
OpenAIClient
OpenAIClient wraps OpenAI API calls
internal/codegen/docgen/openai.go:16
Struct
PoolCreateModel
PoolCreateModel describes storage pool creation behavior overrides.
internal/provider/pool_resource.go:40
Struct
PoolDestroyModel
PoolDestroyModel describes storage pool destroy behavior overrides.
internal/provider/pool_resource.go:47
Struct
PoolResource
PoolResource defines the resource implementation
internal/provider/pool_resource.go:27
Struct
PoolResourceModel
PoolResourceModel extends generated model with resource-specific ID field
internal/provider/pool_resource.go:32
Struct
ReferenceHint
ReferenceHint carries a candidate libvirt documentation section.
internal/codegen/docgen/batch.go:42
Struct
Registry
Registry stores documentation entries keyed by libvirt/Terraform path.
internal/codegen/docregistry/docregistry.go:31
Struct
SSHCmd
SSHCmd implements the Dialer interface using the command-line ssh tool. This dialer automatically respects OpenSSH config settings in ~/.ssh/config.
internal/libvirt/dialers/sshcmd.go:41
Struct
SchemaGenerator
SchemaGenerator generates Terraform Plugin Framework schemas.
internal/codegen/generator/schema.go:11
Struct
Section
Section represents a documentation section from HTML
internal/codegen/docindex/index.go:4
Struct
State
State tracks progress through batch generation
internal/codegen/docgen/batch.go:49
Struct
StringToBoolPattern
StringToBoolPattern indicates string field should be boolean in TF.
internal/codegen/generator/ir.go:71
Struct
StructIR
IR (Intermediate Representation) holds the analyzed metadata for code generation. StructIR represents a libvirtxml struct to be generated.
internal/codegen/generator/ir.go:6
Struct
URLStream
URLStream represents a stream from a URL with its optional size.
internal/provider/volume_upload.go:15
Struct
ValueWithUnitPattern
ValueWithUnitPattern represents a struct with chardata value + attributes. Pattern: Value INSIDE element, ALL other fields are attributes → FLATTEN Ex
internal/codegen/generator/ir.go:43
Struct
VolumeCreateContentModel
VolumeCreateContentModel describes the content block for uploading from URL
internal/provider/volume_resource.go:47
Struct
VolumeCreateModel
VolumeCreateModel describes the create block for volume initialization
internal/provider/volume_resource.go:42
Struct
VolumeResource
VolumeResource defines the resource implementation
internal/provider/volume_resource.go:28
Struct
VolumeResourceModel
VolumeResourceModel extends generated model with resource-specific fields
internal/provider/volume_resource.go:33
Struct
domainPlanData
internal/provider/domain_resource.go:97
Struct
domainStopOptions
internal/provider/domain_resource.go:90
FuncType
fieldPolicy
func(*generator.FieldIR)
internal/codegen/policy/field_policy.go:5
Struct
fileEntries
fileEntries mirrors the YAML file format on disk.
internal/codegen/docregistry/docregistry.go:26
Struct
generatorFieldView
internal/codegen/parser/libvirtxml_test.go:74
Struct
interfaceWaitForIPConfig
internal/provider/domain_resource.go:56
Struct
machineTypePlanModifier
machineTypePlanModifier handles libvirt's machine type expansion For example, "q35" becomes "pc-q35-10.1"
internal/provider/machine_type_modifier.go:13
Struct
message
internal/codegen/docgen/openai.go:42
Struct
octalModePlanModifier
octalModePlanModifier handles libvirt's octal mode normalization (e.g., 770 -> 0770).
internal/provider/octal_mode_modifier.go:12
Struct
openAIRequest
internal/codegen/docgen/openai.go:37
Struct
openAIResponse
internal/codegen/docgen/openai.go:47
Struct
poolCreateOptions
internal/provider/pool_resource.go:51
Struct
poolDestroyOptions
internal/provider/pool_resource.go:59
Struct
resourceIR
internal/codegen/main.go:49
Struct
sshCmdConn
sshCmdConn implements net.Conn to communicate with the ssh process.
internal/libvirt/dialers/sshcmd.go:351
Struct
trailingSlashPlanModifier
trailingSlashPlanModifier handles libvirt trimming trailing slashes from paths.
internal/provider/trailing_slash_modifier.go:15