Documentation
¶
Overview ¶
Package cmdsetup implements a real env in which to run tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShutdownSupervisor ¶ added in v0.11.0
func ShutdownSupervisor()
ShutdownSupervisor drains and unregisters the process-wide artifact sink.
func SupervisorContext ¶ added in v0.11.0
SupervisorContext returns the process-wide supervising context. It is canceled when any panicdiag-protected goroutine recovers a panic, allowing long-running work elsewhere in the process to wind down gracefully. The context is initialized by NewRoot's PersistentPreRunE; callers that fetch it before initialization receive a never-canceled context.Background.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.