Documentation ¶
Overview ¶
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// LeaseDurationSeconds is lease update time interval
LeaseDurationSeconds = 60
)
Functions ¶
func NewClusterLeaseController ¶
func NewClusterLeaseController( kubeClient kubernetes.Interface, clusterClient clientset.Interface, clusterInformer clusterv1informer.ManagedClusterInformer, leaseInformer coordinformers.LeaseInformer, recorder events.Recorder) factory.Controller
NewClusterLeaseController creates a cluster lease controller on hub cluster.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.