PULL REQUESTS ARE IGNORED. Read-only mirror of https://libvirt.org/git/?p=libvirt-go-xml.git
Go
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Add a test case that validates XML roundtrip Nov 30, 2017
.gitmodules Remove libvirt submodule Nov 30, 2017
.gitpublish git: add config file telling git-publish how to send patches Apr 24, 2018
.travis.yml Run xml roundtrip test in travis Nov 30, 2017
LICENSE Initial import of code Dec 16, 2016
README.md Fix formatting of git links in README.md Dec 16, 2016
capabilities.go Add new memory bandwidth / tuning structs Aug 15, 2018
doc.go Update docs to reflect marshal/unmarshal methods Jan 11, 2017
document.go Add ability to marshal/unmarshal individual devices Jun 5, 2017
domain.go Add latest hyperv feature flags Aug 17, 2018
domain_capabilities.go Add support for SEV in domain capabilities XML Jun 18, 2018
domain_snapshot.go Add missing pieces of domain snapshot schema support Dec 7, 2017
domain_snapshot_test.go Add missing pieces of domain snapshot schema support Dec 7, 2017
domain_test.go fix type tag for rdp and deskop graphics devices Mar 12, 2018
interface.go Add support for interface XML schema Dec 7, 2017
network.go Add support for interface XML schema Dec 7, 2017
network_test.go Support multiple DNS hosts Nov 30, 2017
node_device.go Fix typo in storage capability field name Jun 1, 2018
node_device_test.go Fully support PCI sub-capabilities in node devices Dec 4, 2017
nwfilter.go Add support for nwfilter xml schema Dec 6, 2017
secret.go Add helper methods for marshalling objects to/from XML Jan 11, 2017
secret_test.go Add helper methods for marshalling objects to/from XML Jan 11, 2017
storage_encryption.go Added Storage Pool and Storage Volume XML schemes. Jan 10, 2017
storage_pool.go Fix typo s/marshall/marshal/ Dec 6, 2017
storage_pool_test.go Convert storage pool PCI address struct to use ints instead of strings Dec 5, 2017
storage_vol.go Add helper methods for marshalling objects to/from XML Jan 11, 2017
storage_vol_test.go Add helper methods for marshalling objects to/from XML Jan 11, 2017
xml_test.go Add another whitelist for xml test cases Jul 24, 2018
xmlutil.go Include filename when printing XML comparison errors Nov 30, 2017

README.md

libvirt-go-xml Build Status GoDoc

Go API for manipulating libvirt XML documents

This package provides a Go API that defines a set of structs, annotated for use with "encoding/xml", that can represent libvirt XML documents. There is no dependancy on the libvirt library itself, so this can be used regardless of the way in which the application talks to libvirt.

Documentation

Contributing

The libvirt project aims to add support for new APIs to libvirt-go as soon as they are added to the main libvirt C library. If you are submitting changes to the libvirt C library API, please submit a libvirt-go change at the same time.

Bug fixes and other improvements to the libvirt-go library are welcome at any time. The preferred submission method is to use git send-email to submit patches to the libvir-list@redhat.com mailing list. eg. to send a single patch

  # git send-email --to libvir-list@redhat.com --subject-prefix "PATCH go-xml" \
       --smtp-server=$HOSTNAME -1

Or to send all patches on the current branch, against master

  $ git send-email --to libvir-list@redhat.com --subject-prefix "PATCH go-xml" \
       --smtp-server=$HOSTNAME --no-chain-reply-to --cover-letter --annotate \
       master..

Note the master GIT repository is at

   http://libvirt.org/git/?p=libvirt-go.git;a=summary

The following automatic read-only mirrors are available as a convenience to allow contributors to "fork" the repository:

  https://gitlab.com/libvirt/libvirt-go
  https://github.com/libvirt/libvirt-go

While you can send pull-requests to these mirrors, they will be re-submitted via emai to the mailing list for review before being merged, unless they are trivial/obvious bug fixes.