che-server/agents/go-agents
Vitalii Parfonov 64129a8d44
RELEASE: Set next development version (#13460)
2019-06-03 16:28:42 +03:00
..
bootstrapper Add an ability to configure CA certificate for Bootstrapper 2018-12-11 15:42:43 +02:00
core Rework dependency management in go agents (#11038) 2018-10-24 13:39:33 +03:00
docs fixed typos 2017-10-20 16:23:05 +02:00
exec-agent Rework dependency management in go agents (#11038) 2018-10-24 13:39:33 +03:00
terminal-agent Rework dependency management in go agents (#11038) 2018-10-24 13:39:33 +03:00
vendor/github.com Update che-go-jsonrpc to 0.2.0 version 2018-12-11 15:42:43 +02:00
.gitignore Implement bootstrapper spec(#4096) 2017-06-20 15:54:11 +03:00
Gopkg.lock Update che-go-jsonrpc to 0.2.0 version 2018-12-11 15:42:43 +02:00
Gopkg.toml Update che-go-jsonrpc to 0.2.0 version 2018-12-11 15:42:43 +02: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 (#13460) 2019-06-03 16:28:42 +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 ./...