[lxc-devel] [ANN] Go (golang) Bindings for LXC C API

S.Çağlar Onur caglar at 10ur.org
Fri Mar 29 15:29:18 UTC 2013


Hey Serge,

On Fri, Mar 29, 2013 at 8:27 AM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:

> Quoting S.Çağlar Onur (caglar at 10ur.org):
> > Hi,
> >
> > A couple of days ago I started to write the Go binding for LXC C API.
> IMHO
> > it reached to a point where I can announce it officially. So here it is;
> >
> > Go (golang) Bindings for LXC (Linux Containers) [1]
> >
> > You can install it via regular "go get" magic
> >
> > go get github.com/caglar10ur/lxc
>
> Awesome, thanks!
>
>
Thanks to you for providing an API to leverage.


>  > and checkout the documentation [1] and bunch of basic examples [2].
> >
> >
> > Please note that it's an early alpha, where the code hasn't been
> refactored
> > and not much tested in the wild.
> >
> > It's using new functionalities introduced by upcoming LXC 0.9 so it won't
> > work with older releases. It's been developed on Ubuntu 12.10 against LXC
> > staging tree [4].
> >
> > Currently it provides all the exported API but it doesn't have additional
> > features like Python LXC API (.network property, get_ips, clone, attach
> > functions etc.).
>
> That's ok, those things should go into the api itself :)  (and make it
> much more standard and unrestricted in the process)
>
> I'm going to put clone into the api in the next few days, and attach
> probably soon after.
>
> -serge
>

I'm planning to add a Network type to the binding to make it easy to work
with but I'm glad to hear that clone (and others) are coming. I'm also
hoping to contribute lxc itself once I become familiar with the internals
of the it as I started to look LXC codebase last monday :)

Cheers,
-- 
S.Çağlar Onur <caglar at 10ur.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130329/ae50c680/attachment.html>


More information about the lxc-devel mailing list