Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + func ExtractPodBandwidthResources(podAnnotations map[string]string) (ingress, egress *resource.Quantity, err error) + type FakeShaper struct + CIDRs []string + ResetCIDRs []string + func (f *FakeShaper) GetCIDRs() ([]string, error) + func (f *FakeShaper) Limit(cidr string, egress, ingress *resource.Quantity) error + func (f *FakeShaper) ReconcileCIDR(cidr string, egress, ingress *resource.Quantity) error + func (f *FakeShaper) ReconcileInterface() error + func (f *FakeShaper) Reset(cidr string) error + type Shaper interface + GetCIDRs func() ([]string, error) + Limit func(cidr string, egress, ingress *resource.Quantity) error + ReconcileCIDR func(cidr string, egress, ingress *resource.Quantity) error + ReconcileInterface func() error + Reset func(cidr string) error + func NewTCShaper(iface string) Shaper