github.com/cilium/cilium@v1.16.2/pkg/datapath/fake/types/bandwidth.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package types
     5  
     6  import "github.com/cilium/cilium/pkg/datapath/types"
     7  
     8  var _ types.BandwidthManager = (*BandwidthManager)(nil)
     9  
    10  type BandwidthManager struct{}
    11  
    12  func (fbm *BandwidthManager) DeleteBandwidthLimit(endpointID uint16) {
    13  }
    14  
    15  func (fbm *BandwidthManager) UpdateBandwidthLimit(endpointID uint16, bytesPerSecond uint64) {
    16  }
    17  
    18  func (fbm *BandwidthManager) BBREnabled() bool {
    19  	return false
    20  }
    21  func (fbm *BandwidthManager) DeleteEndpointBandwidthLimit(epID uint16) error {
    22  	return nil
    23  }
    24  func (fbm *BandwidthManager) Enabled() bool {
    25  	return false
    26  }
    27  func (fbm *BandwidthManager) ResetQueues() bool {
    28  	return false
    29  }