Documentation ¶ Index ¶ type Handler func NewHandler(logger logr.Logger, cfg *rest.Config, pollInterval time.Duration, ...) (Handler, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler interface { Run(stop <-chan struct{}) error } Handler represents a handler that will run to check the termination notice endpoint and mark node for deletion if the instance termination notice is fulfilled. func NewHandler ¶ func NewHandler(logger logr.Logger, cfg *rest.Config, pollInterval time.Duration, namespace, nodeName string) (Handler, error) NewHandler constructs a new Handler Source Files ¶ View all Source files termination.go Click to show internal directories. Click to hide internal directories.