standalone

package
v0.1.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: Apache-2.0 Imports: 21 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() 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"`
}

func List

func List() ([]ListOutput, error)

type RunConfig

type RunConfig struct {
	AppID     string
	AppPort   int
	Port      int
	Arguments []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