command
module
Version:
v0.2.9
Opens a new window with list of versions in this module.
Published: Feb 16, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-runner
A naive imitation of app-runner for Go app (example).
apis
-
GET /api/health
return health of go-runner
-
POST /api/apps
register and deploy a go-app
gitUrl
- git url to the app being deployed
app
- app name
-
PUT /api/:app
operate a go-app
action
- deploy
or restart
-
GET /api/:app/stdout
stream app stdout
-
GET /api/:app/stderr
stream app stderr
-
ANY /:app/*
access go-apps
TODO
- basic app CRUD
- unixsocket support in the back
- endpoint for streaming stdout/stderr of an app
- a cli client gorun
- init
- register
- push
- delete
- status
- curl
- https support in front
- tcp socket support in the back
- try using Namespace to isolate apps (ref: Linux Namespace)
- try using cgroup to manage apps resources (ref: cgroup)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
cmd
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.