standalone

package
v0.2.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 26 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(runtimeVersion string) error

func Stop

func Stop(appID string) error

Types

type ListOutput

type ListOutput struct {
	AppID       string `csv:"APP ID"`
	ActionsPort int    `csv:"ACTIONS PORT"`
	AppPort     int    `csv:"APP PORT"`
	Command     string `csv:"COMMAND"`
	Age         string `csv:"AGE"`
	Created     string `csv:"CREATED"`
	PID         int
}

func List

func List() ([]ListOutput, error)

type RunConfig

type RunConfig struct {
	AppID           string
	AppPort         int
	Port            int
	ConfigFile      string
	Arguments       []string
	EnableProfiling bool
	ProfilePort     int
	LogLevel        string
}

type RunOutput

type RunOutput struct {
	ActionsCMD  *exec.Cmd
	ActionsPort int
	AppID       string
	AppCMD      *exec.Cmd
}

func Run

func Run(config *RunConfig) (*RunOutput, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL