go get -u "github.com/codegangsta/cli"
go get -u "github.com/gin-gonic/gin"
go get -u "github.com/robfig/cron"
go get -u "github.com/samalba/dockerclient"
go get -u "gopkg.in/redis.v3"
go get -u github.com/gorilla/websocket
- Docker Host (version 1.5 min)
- Redis Host (version 2.8 min)
--host, -H Docker host [$DOCKER_HOST]
--cert, -C Docker cert path [$DOCKER_CERT_PATH]
--redis "localhost:6379" Redis Host [$REDIS_HOST]
--redis-password Redis Password [$REDIS_PWD]
--redis-db "0" Redis Database [$REDIS_DB]
--debug Debug mode [$INTOOLS_DEBUG]
- Run the server
./intools-engine daemin
- Run a connector (it will register a group, a connector, its configuration, and run it once)
- Argument to pass are : docker image name, timeout for container execution, and the container commandline
./intools-engine run <groupName> <connectorName> debian:jessie 5 echo '{"value":"test value"}'
- TODO
go get github.com/onsi/ginkgo/ginkgo
go get github.com/onsi/gomega
This fetches ginkgo and installs the ginkgo executable under $GOPATH/bin
– you’ll want that on your $PATH
.
ginkgo groups