You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
But there is no type field in libvirtGoXML.DomainInterface struct, and when I'm trying to validate domain with interface without type validation fails:
The 'type' attributes in libvirt XML schemas are almost always used as a discriminator to select between different schemas for the element contents. In C code this would be considered a 'union' but Golang doesn't support unions, so we use a set of optional struct fields only one of which should be set.
In the case of the <interface> XML this is selected via the DomainInterfaceSource struct.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I need following configuration for domain interface:
But there is no type field in libvirtGoXML.DomainInterface struct, and when I'm trying to validate domain with interface without type validation fails:
The text was updated successfully, but these errors were encountered: