standalone

package
v0.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 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"`
	DaprPort int    `csv:"DAPR 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
	MaxConcurrency  int
}

type RunOutput

type RunOutput struct {
	DaprCMD  *exec.Cmd
	DaprPort 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