|
|
||
|---|---|---|
| .. | ||
| Godeps | ||
| bootstrapper | ||
| core | ||
| docs | ||
| exec-agent | ||
| terminal-agent | ||
| vendor/github.com | ||
| .gitignore | ||
| README.md | ||
| pom.xml | ||
README.md
Summary
Golang based server for executing commands and streaming process output logs, also websocket-terminal.
Requirements
- golang 1.6+
Docs
- jsonrpc2.0 based Websocket API
- jsonrpc2.0 based Events
- REST API
Development
Link the sources to standard go workspace
export CHE_PATH=~/code/che
mkdir $GOPATH/src/github.com/eclipse/che/agents -p
ln -s $CHE_PATH/agents/go-agents $GOPATH/src/github.com/eclipse/che/agents/go-agents
That's it, $GOPATH/src/github.com/eclipse/che/agents/go-agents project is ready.
Building linked project
cd $GOPATH/src/github.com/eclipse/che/agents/go-agents && go build ./...
Building exec agent executable
cd $GOPATH/src/github.com/eclipse/che/agents/go-agents/exec-agent && go build
Building terminal agent executable
cd $GOPATH/src/github.com/eclipse/che/agents/go-agents/terminal-agent && go build
Running linked project tests
cd $GOPATH/src/github.com/eclipse/che/agents/go-agents && go test ./...
Formatting linked project sources
cd $GOPATH/src/github.com/eclipse/che/agents/go-agents && go fmt ./...