lease

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

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 NewClockSyncController added in v0.13.0

func NewClockSyncController(
	clusterClient clientset.Interface,
	clusterInformer clusterv1informer.ManagedClusterInformer,
	leaseInformer coordinformers.LeaseInformer,
	recorder events.Recorder,
) factory.Controller

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL