Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagedScheduler ¶
ManagedScheduler creates a CheckForUpgradesScheduler and adds it to m.
Types ¶
type CacheWithWait ¶
Creating an interface for cache with WaitForCacheSync to allow easier mocking
type CheckForUpgradesScheduler ¶
type CheckForUpgradesScheduler struct { Client crclient.Client Config *rest.Config OpenShift bool Refresh time.Duration URL, Version string }
func (*CheckForUpgradesScheduler) NeedLeaderElection ¶
func (s *CheckForUpgradesScheduler) NeedLeaderElection() bool
NeedLeaderElection returns true so that s runs only on the single manager.Manager that is elected leader in the Kubernetes cluster.
Click to show internal directories.
Click to hide internal directories.