Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunInit ¶
func RunInit(logConfig *serverlessLog.Config) error
Run is the entrypoint of the init process. It will spawn the customer process
func RunSidecar ¶
func RunSidecar(_ *serverlessLog.Config) error
Run is the entrypoint of the init process. It will spawn the customer process
Types ¶
type Conf ¶
type Conf struct { LoggerName string Runner func(logConfig *serverlessLog.Config) error TagVersionMode string EnvDefaults map[string]string }
Conf contains the configuration for the mode in which the serverless-init agent should run
func DetectMode ¶
func DetectMode() Conf
DetectMode detects the mode in which the serverless agent should run
Click to show internal directories.
Click to hide internal directories.