qos

package
v0.0.0-...-ec72bf4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotaionPodEgressPriority = "cce.baidubce.com/egress-priority"
)

Variables

This section is empty.

Functions

func GetEgressPriorityFromPod

func GetEgressPriorityFromPod(podAnnotation map[string]string) *ccev2.EgressPriorityOpt

func InitEgressPriorityManager

func InitEgressPriorityManager()

Types

type EgressPriorityManager

type EgressPriorityManager struct {
	// contains filtered or unexported fields
}
var (
	GlobalManager *EgressPriorityManager
)

func (*EgressPriorityManager) AcceptType

AcceptType implements event.EndpointProbeEventHandler.

func (*EgressPriorityManager) ENIUpdateEventHandler

func (manager *EgressPriorityManager) ENIUpdateEventHandler(eni *ccev2.ENI)

func (*EgressPriorityManager) Handle

Handle implements event.EndpointProbeEventHandler.

func (*EgressPriorityManager) Start

func (manager *EgressPriorityManager) Start(cceEndpointClient *watchers.CCEEndpointClient)

Jump to

Keyboard shortcuts

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