kubernetes/staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go

type lifecycleSignal

type lifecycleSignals

// ShuttingDown returns the lifecycle signal that is signaled when
// the server is not accepting any new requests.
// this is the lifecycle event that is exported to the request handler
// logic to indicate that the server is shutting down.
func (s lifecycleSignals) ShuttingDown() <-chan struct{}

// newLifecycleSignals returns an instance of lifecycleSignals interface to be used
// to coordinate lifecycle of the apiserver
func newLifecycleSignals() lifecycleSignals {}

func newNamedChannelWrapper(name string) lifecycleSignal {}

type namedChannelWrapper

func (e *namedChannelWrapper) Signal() {}

func (e *namedChannelWrapper) Signaled() <-chan struct{}

func (e *namedChannelWrapper) Name() string {}