Documentation ¶ Index ¶ func DetectSignal(f func(sig os.Signal), sig ...os.Signal) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DetectSignal ¶ func DetectSignal(f func(sig os.Signal), sig ...os.Signal) DetectSignal detects signals and sets func to process for a specific signal. syscall.SIGTERM or syscall.SIGKILL or os.Interrupt to describe what to do when the target container or OS stops. Types ¶ This section is empty. Source Files ¶ View all Source files signal.go Click to show internal directories. Click to hide internal directories.