che-server/agents/go-agents
Mykhailo Kuznietsov 2c2bd6637c
Set new year in license headers (#8244)
2018-01-11 16:04:49 +02:00
..
Godeps CHE-4568: Move golang agents sources to satisfy best practices (#4588) 2017-03-28 15:50:19 +03:00
bootstrapper Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
core Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
docs fixed typos 2017-10-20 16:23:05 +02:00
exec-agent Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
terminal-agent Set new year in license headers (#8244) 2018-01-11 16:04:49 +02:00
vendor/github.com CHE-4568: Move golang agents sources to satisfy best practices (#4588) 2017-03-28 15:50:19 +03:00
.gitignore Implement bootstrapper spec(#4096) 2017-06-20 15:54:11 +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 Set new year in license headers (#8244) 2018-01-11 16:04:49 +02: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 ./...