Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppDaprdWriter ¶ added in v1.12.0
func GetAppDaprdWriter(app runfileconfig.App, isAppCommandEmpty bool) io.Writer
GetAppDaprdWriter returns the writer for writing logs common to both daprd, app and stdout.
Types ¶
type CmdProcess ¶
type CmdProcess struct { Command *exec.Cmd CommandErr error OutputWriter io.Writer ErrorWriter io.Writer }
func GetAppCmdProcess ¶
func GetAppCmdProcess(config *standalone.RunConfig) (*CmdProcess, error)
func GetDaprCmdProcess ¶
func GetDaprCmdProcess(config *standalone.RunConfig) (*CmdProcess, error)
func (*CmdProcess) SetStderr ¶
func (c *CmdProcess) SetStderr() error
SetStdErr should be called after WithErrorWriter.
func (*CmdProcess) SetStdout ¶
func (c *CmdProcess) SetStdout() error
SetStdout should be called after WithOutputWriter.
func (*CmdProcess) WithErrorWriter ¶
func (c *CmdProcess) WithErrorWriter(w io.Writer)
func (*CmdProcess) WithOutputWriter ¶
func (c *CmdProcess) WithOutputWriter(w io.Writer)
type RunExec ¶
type RunExec struct { DaprCMD *CmdProcess AppCMD *CmdProcess AppID string DaprHTTPPort int DaprGRPCPort int DaprMetricPort int }
func New ¶
func New(config *standalone.RunConfig, daprCmdProcess *CmdProcess, appCmdProcess *CmdProcess) *RunExec
Click to show internal directories.
Click to hide internal directories.