Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magik6k/jliblxc
Java/JVM bindings for liblxc
https://github.com/magik6k/jliblxc
Last synced: 3 days ago
JSON representation
Java/JVM bindings for liblxc
- Host: GitHub
- URL: https://github.com/magik6k/jliblxc
- Owner: magik6k
- License: mit
- Created: 2015-10-22T14:17:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-02T13:36:06.000Z (about 9 years ago)
- Last Synced: 2024-12-05T16:29:02.929Z (20 days ago)
- Language: C
- Size: 199 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jLibLXC
Scala/Java bindings for liblxcAbout
----
This project aims to deliver good, documented bindings and documentation for liblxc.Usage
-----
```scala
//Start all containers
Lxc.getContainers.map(container => new LxcContainer(container)).foreach()//Start a container
val container = new LxcContainer("MyContainer")
container.start()
```Note that some parts of the API may change in future.
Things that don't work / aren't tested properly / implemented
-----* container.getKeys (Needs testing)
* container.console (Needs proper testing)
* container.attach (Not implemented)Building
-----
Compile using SBT with `sbt compile package`.To test using Scala REPL as root user, in the main directory execute `sbt package` and then just execute
`sudo scala -classpath target/scala-2.10/jliblxc_2.10-0.1.jar`
Distribution
----
`net.magik6k:jliblxc:0.1.0` at the maven central repositoryAfter malual compilation the library is at `target/scala-2.10/jliblxc*.jar`