standalone

package
v0.4.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 28 Imported by: 7

Documentation

Index

Constants

View Source
const DaprPlacementContainerName = "dapr_placement"

Variables

This section is empty.

Functions

func Init

func Init(runtimeVersion string) error

func Stop

func Stop(appID string) error

func Uninstall

func Uninstall() error

Types

type ListOutput

type ListOutput struct {
	AppID    string `csv:"APP ID"`
	HTTPPort int    `csv:"HTTP PORT"`
	GRPCPort int    `csv:"GRPC 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
	HTTPPort        int
	GRPCPort        int
	ConfigFile      string
	Protocol        string
	Arguments       []string
	EnableProfiling bool
	ProfilePort     int
	LogLevel        string
	MaxConcurrency  int
}

type RunOutput

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