netop

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendConnectionContext

func SendConnectionContext(ctx context.Context, serverAddr string, gw *kubeslicev1beta1.SliceGateway, sliceGwNodePort int32) error

SendConnectionContext sends sonnectioncontext to netop sidecar

func SendSliceLifeCycleEventToNetOp

func SendSliceLifeCycleEventToNetOp(ctx context.Context, addr string, sliceName string, eventType EventType) error

func UpdateSliceQosProfile

func UpdateSliceQosProfile(ctx context.Context, addr string, slice *kubeslicev1beta1.Slice) error

Types

type EventType

type EventType int32

Generic event types enum

const (
	EventType_EV_CREATE EventType = 0
	EventType_EV_UPDATE EventType = 1
	EventType_EV_DELETE EventType = 2
)

Jump to

Keyboard shortcuts

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