Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Failover ¶
type Failover struct {
// contains filtered or unexported fields
}
Failover is a scheduling strategy that handles clusters known to be in a faulty state. It holds a list of mapping from a broken cluster to an healthy one. This strategy get the cluster from a ProwJob and replaces it with another one if it was found on the mapping list.
func NewFailover ¶
func NewFailover(cfg config.FailoverScheduling) *Failover
type Passthrough ¶
type Passthrough struct { }
Passthrough is the backward compatible, transparent scheduling strategy, and in fact it pretends a scheduler didn't exist at all. This strategy assumes a cluster has been assigned to a ProwJob at the time it was defined.
Click to show internal directories.
Click to hide internal directories.