open-nomad/vendor/gopkg.in/lxc/go-lxc.v2
Mahmood Ali 3f1887db8c Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
..
AUTHORS Implemented an LXC Driver 2016-10-12 17:18:58 -07:00
LICENSE Implemented an LXC Driver 2016-10-12 17:18:58 -07:00
Makefile Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
README.md Implemented an LXC Driver 2016-10-12 17:18:58 -07:00
container.go Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
doc.go Implemented an LXC Driver 2016-10-12 17:18:58 -07:00
error.go Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
lxc-binding.c Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
lxc-binding.go Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
lxc-binding.h Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
options.go Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
type.go Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00
util.go Update go-lxc library to handle LXC 3.0 2018-11-27 21:40:43 -05:00

README.md

Go Bindings for LXC (Linux Containers)

This package implements Go bindings for the LXC C API (liblxc).

Requirements

This package requires LXC 1.x and its development package to be installed. Works with Go 1.x. Following command should install required dependencies on Ubuntu:

apt-get install -y pkg-config lxc-dev

Installing

To install it, run:

go get gopkg.in/lxc/go-lxc.v2

Documentation

Documentation can be found at GoDoc.

Stability

The package API will remain stable as described in gopkg.in.

Examples

See the examples directory for some.

Contributing

We'd love to see go-lxc improve. To contribute to go-lxc;

  • Fork the repository
  • Modify your fork
  • Ensure your fork passes all tests
  • Send a pull request
    • Bonus points if the pull request includes what you changed, why you changed it, and tests attached.
    • For the love of all that is holy, please use go fmt before you send the pull request.

We'll review it and merge it in if it's appropriate.