Checking in vendor folder for ease of using go get.
This commit is contained in:
parent
7a1251853b
commit
cdb4b5a1d0
3554 changed files with 1270116 additions and 0 deletions
49
vendor/github.com/paypal/gorealis/docs/using-the-sample-client.md
generated
vendored
Normal file
49
vendor/github.com/paypal/gorealis/docs/using-the-sample-client.md
generated
vendored
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Using the Sample client
|
||||
|
||||
## Usage:
|
||||
```
|
||||
Usage of ./client:
|
||||
-cluster string
|
||||
Name of cluster to run job on (default "devcluster")
|
||||
-clusters string
|
||||
Location of the clusters.json file used by aurora.
|
||||
-cmd string
|
||||
Job request type to send to Aurora Scheduler
|
||||
-executor string
|
||||
Executor to use (default "thermos")
|
||||
-password string
|
||||
Password to use for authorization (default "secret")
|
||||
-updateId string
|
||||
Update ID to operate on
|
||||
-url string
|
||||
URL at which the Aurora Scheduler exists as [url]:[port]
|
||||
-username string
|
||||
Username to use for authorization (default "aurora")
|
||||
```
|
||||
|
||||
## Sample commands:
|
||||
These commands are set to run on a vagrant box. To be able to run the docker compose
|
||||
executor examples, the vagrant box must be configured properly to use the docker compose executor.
|
||||
|
||||
### Thermos
|
||||
|
||||
#### Creating a Thermos job
|
||||
```
|
||||
$ cd $GOPATH/src/github.com/paypal/gorealis/examples
|
||||
$ go run client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=create
|
||||
```
|
||||
#### Kill a Thermos job
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=thermos -url=http://192.168.33.7:8081 -cmd=kill
|
||||
```
|
||||
|
||||
### Docker Compose executor (custom executor)
|
||||
|
||||
#### Creating Docker Compose executor job
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=create
|
||||
```
|
||||
#### Kill a Docker Compose executor job
|
||||
```
|
||||
$ go run $GOPATH/src/github.com/paypal/gorealis/examples/client.go -executor=compose -url=http://192.168.33.7:8081 -cmd=kill
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue