Documentation ¶ Index ¶ func DaemonContext(cctx *cli.Context) context.Context func ReqContext(cctx *cli.Context) context.Context Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DaemonContext ¶ func DaemonContext(cctx *cli.Context) context.Context func ReqContext ¶ func ReqContext(cctx *cli.Context) context.Context ReqContext returns context for cli execution. Calling it for the first time installs SIGTERM handler that will close returned context. Not safe for concurrent execution. Types ¶ This section is empty. Source Files ¶ View all Source files util.go Click to show internal directories. Click to hide internal directories.