Skip to content

Bowery/kenmare

Repository files navigation

kenmare

Kenmare is responsible for the lifecycle of an environment. From creation, to update, to termination, Kenmare takes care of it.

Prerequisites

Kenmare relies on etcd as a datastore.

Development

The kenmare server listens on port 3000 in development and can be started by running:

$ make

Tests

$ make test

Formatting

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

Integration

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)
}

About

Environment Management for Bowery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •