jliblxc


License

License

MIT
Categories

Categories

Net
GroupId

GroupId

net.magik6k
ArtifactId

ArtifactId

jliblxc
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

jliblxc
jliblxc
Project URL

Project URL

https://github.com/magik6k/jLibLXC/
Project Organization

Project Organization

net.magik6k
Source Code Management

Source Code Management

https://github.com/magik6k/jLibLXC.git

Download jliblxc

How to add to project

<!-- https://jarcasting.com/artifacts/net.magik6k/jliblxc/ -->
<dependency>
    <groupId>net.magik6k</groupId>
    <artifactId>jliblxc</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.magik6k/jliblxc/
implementation 'net.magik6k:jliblxc:0.1.0'
// https://jarcasting.com/artifacts/net.magik6k/jliblxc/
implementation ("net.magik6k:jliblxc:0.1.0")
'net.magik6k:jliblxc:jar:0.1.0'
<dependency org="net.magik6k" name="jliblxc" rev="0.1.0">
  <artifact name="jliblxc" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.magik6k', module='jliblxc', version='0.1.0')
)
libraryDependencies += "net.magik6k" % "jliblxc" % "0.1.0"
[net.magik6k/jliblxc "0.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.5

Project Modules

There are no modules declared in this project.

jLibLXC

Scala/Java bindings for liblxc

About

This project aims to deliver good, documented bindings and documentation for liblxc.

Usage

//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 repository

After malual compilation the library is at target/scala-2.10/jliblxc*.jar

Versions

Version
0.1.0