termination

package
v0.0.0-...-d6be293 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL