mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
5a26d1ce12
The github.com/rgbkrk/libvirt-go bindings were the most complete bindings historically, but their API coverage stops at 1.2.4, with exception of a couple of newer APIs. The new bindings at http://libvirt.org/git/?p=libvirt-go.git;a=log how have (almost[1]) 100% API coverage all the way to 2.5.0. They also expose the APIs in a way that allows for much stronger go type checking by the compiler, and expose typed parameters as explicit structs. Finally the bindings are able to conditionally compile against any libvirt version 1.2.0 -> 2.5.0 without use of go build tags. Change the docs to point to these new bindings, since they'll be a better bet for users long term. [1] virEvent & virStream callbacks are still TODO to be fixed real soon. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
91 lines
3.2 KiB
XML
91 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<body>
|
|
<h1 >Bindings for other languages</h1>
|
|
|
|
<p>
|
|
Libvirt supports C and C++ directly, and has bindings available
|
|
for other languages:
|
|
</p>
|
|
|
|
<ul>
|
|
<li>
|
|
<strong>C#</strong>: Arnaud Champion develops
|
|
<a href="csharp.html">C# bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>Go</strong>: Daniel Berrange develops
|
|
<a href="https://godoc.org/github.com/libvirt/libvirt-go">Go bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>Java</strong>: Daniel Veillard develops
|
|
<a href="java.html">Java bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>OCaml</strong>: Richard Jones develops
|
|
<a href="http://libvirt.org/ocaml/">OCaml bindings</a>.
|
|
</li>
|
|
<li>
|
|
<strong>Perl</strong>: Daniel Berrange develops
|
|
<a href="http://search.cpan.org/dist/Sys-Virt/">Perl bindings</a>.
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<strong>PHP</strong>: Radek Hladik started developing
|
|
<a href="http://libvirt.org/php">PHP bindings</a> in 2010.
|
|
</p>
|
|
<p>
|
|
In February 2011 the binding development has been moved to the libvirt.org website as
|
|
libvirt-php project.
|
|
</p>
|
|
<p>
|
|
The project is now maintained by Michal Novotny and it's heavily based
|
|
on Radek's version. For more information, including
|
|
information on posting patches to libvirt-php, please refer
|
|
to the <a href="http://libvirt.org/php">PHP bindings</a> site.
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
<strong>Python</strong>: Libvirt's python bindings are split to a
|
|
separate <a href="http://libvirt.org/git/?p=libvirt-python.git">package</a>
|
|
since version 1.2.0, older versions came with direct support for the
|
|
Python language.
|
|
</p>
|
|
<p>
|
|
If your libvirt is installed as packages, rather than compiled
|
|
by you from source code, ensure you have the appropriate
|
|
package installed.
|
|
</p>
|
|
<p>
|
|
This is named <b>libvirt-python</b> on RHEL/Fedora,
|
|
<a href="http://packages.ubuntu.com/search?keywords=python-libvirt"><b>python-libvirt</b></a>
|
|
on Ubuntu, and may be named differently on others.
|
|
</p>
|
|
<p>
|
|
For usage information, see the
|
|
<a href="python.html">Python API bindings</a> page.
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<strong>Ruby</strong>: Chris Lalancette develops
|
|
<a href="http://libvirt.org/ruby/">Ruby bindings</a>.
|
|
</li>
|
|
</ul>
|
|
|
|
<p>
|
|
For information on using libvirt on <strong>Windows</strong>
|
|
<a href="windows.html">please see the Windows support page</a>.
|
|
</p>
|
|
|
|
<p>
|
|
Support, requests or help for libvirt bindings are welcome on the
|
|
<a href="https://www.redhat.com/mailman/listinfo/libvir-list/">mailing list</a>,
|
|
as usual try to provide enough background information and make sure
|
|
you use recent version, see the <a href="bugs.html">help page</a>.
|
|
</p>
|
|
|
|
</body>
|
|
</html>
|