che-server/agents/go-agents
Roman Iuvshyn 185273f8b9 RELEASE: Set next development version (#5734)
* RELEASE: Set next development version
2017-07-19 12:45:32 +03:00
..
Godeps CHE-4568: Move golang agents sources to satisfy best practices (#4588) 2017-03-28 15:50:19 +03:00
core Improve core/rpc lib. Add ability to connect to websocket endpoint 2017-06-12 13:53:04 +03:00
docs Improve core/rpc lib. Add ability to connect to websocket endpoint 2017-06-12 13:53:04 +03:00
exec-agent Improve core/rpc lib. Add ability to connect to websocket endpoint 2017-06-12 13:53:04 +03:00
terminal-agent Move exec-agent/process -> core/process (#5184) 2017-05-24 11:50:17 +03:00
vendor/github.com CHE-4568: Move golang agents sources to satisfy best practices (#4588) 2017-03-28 15:50:19 +03:00
.gitignore CHE-4568: Move golang agents sources to satisfy best practices (#4588) 2017-03-28 15:50:19 +03:00
README.md CHE-4568: Move golang agents sources to satisfy best practices (#4588) 2017-03-28 15:50:19 +03:00
pom.xml RELEASE: Set next development version (#5734) 2017-07-19 12:45:32 +03:00

README.md

Summary

Golang based server for executing commands and streaming process output logs, also websocket-terminal.

Requirements

  • golang 1.6+

Docs

Development

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 ./...