Documentation
¶
Index ¶
- Constants
- type GoApp
- func (a *GoApp) MarshalJSON() ([]byte, error)
- func (a *GoApp) Pull()
- func (a *GoApp) Purge() error
- func (a *GoApp) Reattach() error
- func (a *GoApp) Rebuild() error
- func (a *GoApp) ServeHTTP(rw http.ResponseWriter, req *http.Request)
- func (a *GoApp) Start() error
- func (a *GoApp) StderrTo(c chan<- string)
- func (a *GoApp) StdoutTo(c chan<- string)
- func (a *GoApp) Stop() (retErr error)
- func (a *GoApp) UnsubscribeStderr(c chan<- string)
- func (a *GoApp) UnsubscribeStdout(c chan<- string)
- type GoRunner
- func (r *GoRunner) DeleteApp(appName string)
- func (r *GoRunner) GetApp(appName string) (*GoApp, error)
- func (r *GoRunner) ListApps() []*GoApp
- func (r *GoRunner) NewApp(appName, gitUrl string) (*GoApp, error)
- func (r *GoRunner) Rehydrate() error
- func (r *GoRunner) StartApp(appName string) error
- func (r *GoRunner) Stop(c context.Context) error
- func (r *GoRunner) StopApp(appName string) error
Constants ¶
View Source
const APPS_DIRNAME = "goapps"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoApp ¶
type GoApp struct { sync.Mutex Name string GitURL string Status string AppDir string // contains filtered or unexported fields }
func (*GoApp) MarshalJSON ¶
func (*GoApp) UnsubscribeStderr ¶
func (*GoApp) UnsubscribeStdout ¶
Click to show internal directories.
Click to hide internal directories.