maglev

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTableSize    uint64 = 16381
	DefaultHashSeed            = "JLfvgnHc2kaSUFaI"
	MaglevOuterMapName         = "km_maglev_outer"
	MaglevInnerMapName         = "inner_of_maglev"
	MaglevMapMaxEntries        = 65536
	ClusterNameMaxLen          = 192
)

Variables

This section is empty.

Functions

func CreateLB

func CreateLB(cluster *cluster_v2.Cluster) error

only trafficPolicy enable maglev in DestinationRule would create lb

func InitMaglevMap

func InitMaglevMap() error

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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