Kenmare is responsible for the lifecycle of an environment. From creation, to update, to termination, Kenmare takes care of it.
Kenmare relies on etcd as a datastore.
The kenmare server listens on port 3000 in development and can be started by running:
$ make
$ make test
Bowery's packages are formatted via gofmt and linted via golint.
You can install these tools by running
$ make deps
And you can format and lint by running
$ make format
Kenmare comes bundled with some useful client methods for interacting with Kenmare, which can be found in /kenmare
.
For example:
import (
"github.com/Bowery/kenmare/kenmare"
)
func main() {
container, err := kenmare.CreateContainer("some-image-id", "/Users/chiefkeef/dev/website")
if err != nil {
t.Fatal(err)
}
log.Println(container.ID)
}