context

package
v0.0.0-...-73af4a3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EeSubscriptionCollection

type EeSubscriptionCollection struct {
	EeSubscriptions      *models.EeSubscription
	AmfSubscriptionInfos []models.AmfSubscriptionInfo
}

type UDRContext

type UDRContext struct {
	Name                                    string
	UriScheme                               models.UriScheme
	BindingIPv4                             string
	SBIPort                                 int
	RegisterIPv4                            string // IP register to NRF
	HttpIPv6Address                         string
	NfId                                    string
	NrfUri                                  string
	EeSubscriptionIDGenerator               int
	SdmSubscriptionIDGenerator              int
	PolicyDataSubscriptionIDGenerator       int
	UESubsCollection                        sync.Map // map[ueId]*UESubsData
	UEGroupCollection                       sync.Map // map[ueGroupId]*UEGroupSubsData
	SubscriptionDataSubscriptionIDGenerator int
	SubscriptionDataSubscriptions           map[subsId]*models.SubscriptionDataSubscriptions
	PolicyDataSubscriptions                 map[subsId]*models.PolicyDataSubscription
	// contains filtered or unexported fields
}

func UDR_Self

func UDR_Self() *UDRContext

Create new UDR context

func (*UDRContext) GetIPv4GroupUri

func (context *UDRContext) GetIPv4GroupUri(udrServiceType UDRServiceType) string

func (*UDRContext) GetIPv4Uri

func (context *UDRContext) GetIPv4Uri() string

func (*UDRContext) NewAppDataInfluDataSubscriptionID

func (context *UDRContext) NewAppDataInfluDataSubscriptionID() uint64

func (*UDRContext) Reset

func (context *UDRContext) Reset()

Reset UDR Context

type UDRServiceType

type UDRServiceType int
const (
	NUDR_DR UDRServiceType = iota
)

type UEGroupSubsData

type UEGroupSubsData struct {
	EeSubscriptions map[subsId]*models.EeSubscription
}

type UESubsData

type UESubsData struct {
	EeSubscriptionCollection map[subsId]*EeSubscriptionCollection
	SdmSubscriptions         map[subsId]*models.SdmSubscription
}

Jump to

Keyboard shortcuts

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