Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
HealthChecker is an interface for checking healthy stats of server
func NewFakeChecker ¶
func NewFakeChecker(healthy bool, settings map[string]int) HealthChecker
NewFakeChecker creates a fake checker
func NewHealthChecker ¶
func NewHealthChecker(cfg *config.YurtHubConfiguration, tp transport.Interface, stopCh <-chan struct{}) (HealthChecker, error)
NewHealthChecker create an HealthChecker for servers
type NodeLease ¶
type NodeLease interface {
Update(base *coordinationv1.Lease) (*coordinationv1.Lease, error)
}
Click to show internal directories.
Click to hide internal directories.