An open API service indexing awesome lists of open source software.

https://github.com/mrtc0/lxdexec

LXD exec API
https://github.com/mrtc0/lxdexec

go golang lxd

Last synced: 16 days ago
JSON representation

LXD exec API

Awesome Lists containing this project

README

        

# lxdexec

LXD Exec API wrapper

# Example

```
_, uuid := lxdexec.ContainerExec('container1', ["echo", "hello"])
lxdexec.Wait(uuid)
_, stdout, stderr := lxdexec.COntainerGetStd('container1', uuid)
fmt.Println(stdout) // => hello
```