sbi

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddService

func AddService(group *gin.RouterGroup, routes []Route)

Types

type Route

type Route struct {
	// Name is the name of this Route.
	Name string
	// Method is the string for the HTTP method. ex) GET, POST etc..
	Method string
	// Pattern is the pattern of the URI.
	Pattern string
	// HandlerFunc is the handler function of this route.
	HandlerFunc gin.HandlerFunc
}

Route is the information for every URI.

type RouteGroup

type RouteGroup interface {
	AddService(engine *gin.Engine) *gin.RouterGroup
}

type Server

type Server struct {
	ServerUdm
	// contains filtered or unexported fields
}

func NewServer

func NewServer(udm ServerUdm, tlsKeyLogPath string) (*Server, error)

func (*Server) GenAuthDataHandlerFunc

func (s *Server) GenAuthDataHandlerFunc(c *gin.Context)

func (*Server) HandleConfirmAuth

func (s *Server) HandleConfirmAuth(c *gin.Context)

ConfirmAuth - Create a new confirmation event

func (*Server) HandleCreateEeSubscription

func (s *Server) HandleCreateEeSubscription(c *gin.Context)

HTTPCreateEeSubscription - Subscribe

func (*Server) HandleDataChangeNotificationToNF

func (s *Server) HandleDataChangeNotificationToNF(c *gin.Context)

func (*Server) HandleDeleteEeSubscription

func (s *Server) HandleDeleteEeSubscription(c *gin.Context)

func (*Server) HandleDeregistrationSmfRegistrations

func (s *Server) HandleDeregistrationSmfRegistrations(c *gin.Context)

DeregistrationSmfRegistrations - delete an SMF registration

func (*Server) HandleDeregistrationSmsf3gppAccess

func (s *Server) HandleDeregistrationSmsf3gppAccess(c *gin.Context)

DeregistrationSmsf3gppAccess - delete the SMSF registration for 3GPP access

func (*Server) HandleDeregistrationSmsfNon3gppAccess

func (s *Server) HandleDeregistrationSmsfNon3gppAccess(c *gin.Context)

DeregistrationSmsfNon3gppAccess - delete SMSF registration for non 3GPP access

func (*Server) HandleGenerateAuthData

func (s *Server) HandleGenerateAuthData(c *gin.Context)

GenerateAuthData - Generate authentication data for the UE

func (*Server) HandleGetAmData

func (s *Server) HandleGetAmData(c *gin.Context)

GetAmData - retrieve a UE's Access and Mobility Subscription Data

func (*Server) HandleGetAmf3gppAccess

func (s *Server) HandleGetAmf3gppAccess(c *gin.Context)

GetAmf3gppAccess - retrieve the AMF registration for 3GPP access information

func (*Server) HandleGetAmfNon3gppAccess

func (s *Server) HandleGetAmfNon3gppAccess(c *gin.Context)

GetAmfNon3gppAccess - retrieve the AMF registration for non-3GPP access information

func (*Server) HandleGetIdTranslationResult

func (s *Server) HandleGetIdTranslationResult(c *gin.Context)

GetIdTranslationResult - retrieve a UE's SUPI

func (*Server) HandleGetNssai

func (s *Server) HandleGetNssai(c *gin.Context)

GetNssai - retrieve a UE's subscribed NSSAI

func (*Server) HandleGetSharedData

func (s *Server) HandleGetSharedData(c *gin.Context)

GetSharedData - retrieve shared data

func (*Server) HandleGetSmData

func (s *Server) HandleGetSmData(c *gin.Context)

GetSmData - retrieve a UE's Session Management Subscription Data

func (*Server) HandleGetSmfSelectData

func (s *Server) HandleGetSmfSelectData(c *gin.Context)

GetSmfSelectData - retrieve a UE's SMF Selection Subscription Data

func (*Server) HandleGetSmsData

func (s *Server) HandleGetSmsData(c *gin.Context)

GetSmsData - retrieve a UE's SMS Subscription Data

func (*Server) HandleGetSmsMngData

func (s *Server) HandleGetSmsMngData(c *gin.Context)

GetSmsMngData - retrieve a UE's SMS Management Subscription Data

func (*Server) HandleGetSmsf3gppAccess

func (s *Server) HandleGetSmsf3gppAccess(c *gin.Context)

GetSmsf3gppAccess - retrieve the SMSF registration for 3GPP access information

func (*Server) HandleGetSmsfNon3gppAccess

func (s *Server) HandleGetSmsfNon3gppAccess(c *gin.Context)

GetSmsfNon3gppAccess - retrieve the SMSF registration for non-3GPP access information

func (*Server) HandleGetSupi

func (s *Server) HandleGetSupi(c *gin.Context)

GetSupi - retrieve multiple data sets

func (*Server) HandleGetTraceData

func (s *Server) HandleGetTraceData(c *gin.Context)

GetTraceData - retrieve a UE's Trace Configuration Data

func (*Server) HandleGetUeContextInSmfData

func (s *Server) HandleGetUeContextInSmfData(c *gin.Context)

GetUeContextInSmfData - retrieve a UE's UE Context In SMF Data

func (*Server) HandleGetUeContextInSmsfData

func (s *Server) HandleGetUeContextInSmsfData(c *gin.Context)

GetUeContextInSmsfData - retrieve a UE's UE Context In SMSF Data

func (*Server) HandleIndex

func (s *Server) HandleIndex(c *gin.Context)

func (*Server) HandleInfo

func (s *Server) HandleInfo(c *gin.Context)

Info - Nudm_Sdm Info service operation

func (*Server) HandleModify

func (s *Server) HandleModify(c *gin.Context)

Modify - modify the subscription

func (*Server) HandleModifyForSharedData

func (s *Server) HandleModifyForSharedData(c *gin.Context)

ModifyForSharedData - modify the subscription

func (*Server) HandlePutUpuAck

func (s *Server) HandlePutUpuAck(c *gin.Context)

PutUpuAck - Nudm_Sdm Info for UPU service operation

func (*Server) HandleRegistrationAmf3gppAccess

func (s *Server) HandleRegistrationAmf3gppAccess(c *gin.Context)

RegistrationAmf3gppAccess - register as AMF for 3GPP access

func (*Server) HandleRegistrationAmfNon3gppAccess

func (s *Server) HandleRegistrationAmfNon3gppAccess(c *gin.Context)

Register - register as AMF for non-3GPP access

func (*Server) HandleRegistrationSmfRegistrations

func (s *Server) HandleRegistrationSmfRegistrations(c *gin.Context)

RegistrationSmfRegistrations - register as SMF

func (*Server) HandleRegistrationSmsfNon3gppAccess

func (s *Server) HandleRegistrationSmsfNon3gppAccess(c *gin.Context)

RegistrationSmsfNon3gppAccess - register as SMSF for non-3GPP access

func (*Server) HandleSubscribe

func (s *Server) HandleSubscribe(c *gin.Context)

Subscribe - subscribe to notifications

func (*Server) HandleSubscribeToSharedData

func (s *Server) HandleSubscribeToSharedData(c *gin.Context)

SubscribeToSharedData - subscribe to notifications for shared data

func (*Server) HandleUnsubscribe

func (s *Server) HandleUnsubscribe(c *gin.Context)

Unsubscribe - unsubscribe from notifications

func (*Server) HandleUnsubscribeForSharedData

func (s *Server) HandleUnsubscribeForSharedData(c *gin.Context)

UnsubscribeForSharedData - unsubscribe from notifications for shared data

func (*Server) HandleUpdate

func (s *Server) HandleUpdate(c *gin.Context)

func (*Server) HandleUpdateAmf3gppAccess

func (s *Server) HandleUpdateAmf3gppAccess(c *gin.Context)

UpdateAmf3gppAccess - Update a parameter in the AMF registration for 3GPP access

func (*Server) HandleUpdateAmfNon3gppAccess

func (s *Server) HandleUpdateAmfNon3gppAccess(c *gin.Context)

UpdateAmfNon3gppAccess - update a parameter in the AMF registration for non-3GPP access

func (*Server) HandleUpdateEeSubscription

func (s *Server) HandleUpdateEeSubscription(c *gin.Context)

func (*Server) HandleUpdateSMSFReg3GPP

func (s *Server) HandleUpdateSMSFReg3GPP(c *gin.Context)

UpdateSMSFReg3GPP - register as SMSF for 3GPP access

func (*Server) OneLayerPathHandlerFunc

func (s *Server) OneLayerPathHandlerFunc(c *gin.Context)

func (*Server) Run

func (s *Server) Run(traceCtx context.Context, wg *sync.WaitGroup) error

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) Stop

func (s *Server) Stop()

func (*Server) ThreeLayerPathHandlerFunc

func (s *Server) ThreeLayerPathHandlerFunc(c *gin.Context)

func (*Server) TwoLayerPathHandlerFunc

func (s *Server) TwoLayerPathHandlerFunc(c *gin.Context)

type ServerUdm

type ServerUdm interface {
	app.App

	Consumer() *consumer.Consumer
	Processor() *processor.Processor
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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