Documentation ¶
Index ¶
Constants ¶
View Source
const NodeConditionTerminating = "Terminating"
NodeConditionTerminating is the node condition type used by the termination handler MHC
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker interface { Start(context.Context) error UpdateStatus() error NeedDisableNHC() bool NeedIgnoreNode(*v1.Node) bool }
Checker provides functions for checking for conflicts with MachineHealthCheck
type DummyChecker ¶
type DummyChecker struct{}
DummyChecker can be used in non Openshift clusters or in tests Using NewMHCChecker is recommended though
func (DummyChecker) NeedDisableNHC ¶
func (d DummyChecker) NeedDisableNHC() bool
NeedDisableNHC always return false on non openshift clusters
func (DummyChecker) NeedIgnoreNode ¶
func (d DummyChecker) NeedIgnoreNode(node *v1.Node) bool
NeedIgnoreNode always return false on non openshift clusters
func (DummyChecker) Start ¶ added in v0.3.0
func (d DummyChecker) Start(ctx context.Context) error
Start will start the component, no op on non openshift clusters
func (DummyChecker) UpdateStatus ¶ added in v0.3.0
func (d DummyChecker) UpdateStatus() error
UpdateStatus always return no error on non openshift clusters
Click to show internal directories.
Click to hide internal directories.