bandwidth

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

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 GetBytesPerSec(bandwidth string) (uint64, error)

func InitBandwidthManager

func InitBandwidthManager()

func ProbeBandwidthManager

func ProbeBandwidthManager()

Types

This section is empty.

Jump to

Keyboard shortcuts

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