Documentation ¶
Overview ¶
Package bandwidth provides efficient EDT-based rate-limiting.
Index ¶
Constants ¶
View Source
const ( // EgressBandwidth is the K8s Pod annotation. EgressBandwidth = "kubernetes.io/egress-bandwidth" // IngressBandwidth is the K8s Pod annotation. IngressBandwidth = "kubernetes.io/ingress-bandwidth" )
Variables ¶
This section is empty.
Functions ¶
func GetBytesPerSec ¶
func InitBandwidthManager ¶
func InitBandwidthManager()
func ProbeBandwidthManager ¶
func ProbeBandwidthManager()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.