Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backoff ¶
type Backoff interface { // Backoff execution for the given node group. Returns time till execution is backed off. Backoff(nodeGroup cloudprovider.NodeGroup, nodeInfo *framework.NodeInfo, errorInfo cloudprovider.InstanceErrorInfo, currentTime time.Time) time.Time // BackoffStatus returns whether the execution is backed off for the given node group and error info when the node group is backed off. BackoffStatus(nodeGroup cloudprovider.NodeGroup, nodeInfo *framework.NodeInfo, currentTime time.Time) Status // RemoveBackoff removes backoff data for the given node group. RemoveBackoff(nodeGroup cloudprovider.NodeGroup, nodeInfo *framework.NodeInfo) // RemoveStaleBackoffData removes stale backoff data. RemoveStaleBackoffData(currentTime time.Time) }
Backoff allows time-based backing off of node groups considered in scale up algorithm
type Status ¶
type Status struct { IsBackedOff bool ErrorInfo cloudprovider.InstanceErrorInfo }
Status contains information about back off status.
Click to show internal directories.
Click to hide internal directories.