cert-manager: github.com/jetstack/cert-manager/pkg/util/cmd Index | Files

package cmd

import "github.com/jetstack/cert-manager/pkg/util/cmd"


Package Files

signal.go signal_posix.go

func SetupSignalHandler Uses

func SetupSignalHandler() <-chan struct{}

SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned which is closed on one of these signals. If a second signal is caught, the program is terminated with exit code 1.

Package cmd imports 3 packages (graph) and is imported by 3 packages. Updated 2020-06-04. Refresh now. Tools for package owners.