lease

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 18 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 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