Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CycleNodeStatusTransitioner ¶
type CycleNodeStatusTransitioner struct {
// contains filtered or unexported fields
}
CycleNodeStatusTransitioner takes a cycleNodeStatus and attempts to transition it to the next phase
func NewCycleNodeStatusTransitioner ¶
func NewCycleNodeStatusTransitioner( cycleNodeStatus *v1.CycleNodeStatus, rm *controller.ResourceManager, options Options, ) *CycleNodeStatusTransitioner
NewCycleNodeStatusTransitioner returns a new cycleNodeStatus transitioner
type Options ¶ added in v1.5.0
type Options struct { // DefaultCNScyclingExpiry controls how long until the CycleNodeStatus will timeout DefaultCNScyclingExpiry time.Duration // UnhealthyPodTerminationThreshold controls how long we tolerate a pod being unhealthy and holding up the // CycleNodeStatus before forcibly removing it UnhealthyPodTerminationThreshold time.Duration }
Options stores configurable options for the NewCycleNodeStatusTransitioner
Click to show internal directories.
Click to hide internal directories.