che-server/agents/go-agents
Roman Iuvshyn 63b389c2fe
RELEASE: Set next development version (#11434)
* RELEASE: Set next development version
2018-10-04 18:25:39 +03:00
..
Godeps Add dgrijalva go lib for parsing jwt tokens 2018-04-11 10:30:32 +03:00
bootstrapper Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
core Add 500 error to the rest framework for go agents 2018-08-16 11:11:26 +03:00
docs fixed typos 2017-10-20 16:23:05 +02:00
exec-agent Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
terminal-agent Fix license header text (#10629) 2018-08-02 11:18:04 +03:00
vendor/github.com Add dgrijalva go lib for parsing jwt tokens 2018-04-11 10:30:32 +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 RELEASE: Set next development version (#11434) 2018-10-04 18:25:39 +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 ./...