producer

package
v0.0.0-...-616d3ee Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmfStatusChangeNotifyProcedure

func AmfStatusChangeNotifyProcedure(notification models.AmfStatusChangeNotification)

TODO: handle AMF Status Change Notify

func DeleteAppSessionContextProcedure

func DeleteAppSessionContextProcedure(appSessID string,
	eventsSubscReqData *models.EventsSubscReqData) *models.ProblemDetails

func DeleteEventsSubscContextProcedure

func DeleteEventsSubscContextProcedure(appSessID string) *models.ProblemDetails

func DeletePoliciesPolAssoIdProcedure

func DeletePoliciesPolAssoIdProcedure(polAssoId string) *models.ProblemDetails

func GetAppSessionContextProcedure

func GetAppSessionContextProcedure(appSessID string) (*models.ProblemDetails, *models.AppSessionContext)

func GetPoliciesPolAssoIdProcedure

func GetPoliciesPolAssoIdProcedure(polAssoId string) (*models.PolicyAssociation, *models.ProblemDetails)

func HandleAmfStatusChangeNotify

func HandleAmfStatusChangeNotify(request *http_wrapper.Request) *http_wrapper.Response

func HandleCreateBDTPolicyContextRequest

func HandleCreateBDTPolicyContextRequest(request *http_wrapper.Request) *http_wrapper.Response

CreateBDTPolicy - Create a new Individual BDT policy

func HandleCreateSmPolicyRequest

func HandleCreateSmPolicyRequest(request *http_wrapper.Request) *http_wrapper.Response

SmPoliciesPost -

func HandleDeleteAppSessionContext

func HandleDeleteAppSessionContext(request *http_wrapper.Request) *http_wrapper.Response

HandleDeleteAppSession - Deletes an existing Individual Application Session Context

func HandleDeleteEventsSubscContext

func HandleDeleteEventsSubscContext(request *http_wrapper.Request) *http_wrapper.Response

HandleDeleteEventsSubsc - deletes the Events Subscription subresource

func HandleDeletePoliciesPolAssoId

func HandleDeletePoliciesPolAssoId(request *http_wrapper.Request) *http_wrapper.Response

func HandleDeleteSmPolicyContextRequest

func HandleDeleteSmPolicyContextRequest(request *http_wrapper.Request) *http_wrapper.Response

SmPoliciessmPolicyIDDeletePost -

func HandleGetAppSessionContext

func HandleGetAppSessionContext(request *http_wrapper.Request) *http_wrapper.Response

HandleGetAppSession - Reads an existing Individual Application Session Context

func HandleGetBDTPolicyContextRequest

func HandleGetBDTPolicyContextRequest(request *http_wrapper.Request) *http_wrapper.Response

func HandleGetPoliciesPolAssoId

func HandleGetPoliciesPolAssoId(request *http_wrapper.Request) *http_wrapper.Response

PoliciesPolAssoIdGet -

func HandleGetSmPolicyContextRequest

func HandleGetSmPolicyContextRequest(request *http_wrapper.Request) *http_wrapper.Response

SmPoliciessmPolicyIDGet -

func HandleModAppSessionContext

func HandleModAppSessionContext(request *http_wrapper.Request) *http_wrapper.Response

HandleModAppSession - Modifies an existing Individual Application Session Context

func HandleOAMGetAmPolicyRequest

func HandleOAMGetAmPolicyRequest(request *http_wrapper.Request) *http_wrapper.Response

func HandlePostAppSessionsContext

func HandlePostAppSessionsContext(request *http_wrapper.Request) *http_wrapper.Response

HandlePostAppSessionsContext - Creates a new Individual Application Session Context resource Initial provisioning of service information (DONE) Gate control (DONE) Initial provisioning of sponsored connectivity information (DONE) Subscriptions to Service Data Flow QoS notification control (DONE) Subscription to Service Data Flow Deactivation (DONE) Initial provisioning of traffic routing information (DONE) Subscription to resources allocation outcome (DONE) Invocation of Multimedia Priority Services (TODO) Support of content versioning (TODO)

func HandlePostPolicies

func HandlePostPolicies(request *http_wrapper.Request) *http_wrapper.Response

Create AM Policy

func HandleSmPolicyNotify

func HandleSmPolicyNotify(request *http_wrapper.Request) *http_wrapper.Response

func HandleUpdateBDTPolicyContextProcedure

func HandleUpdateBDTPolicyContextProcedure(request *http_wrapper.Request) *http_wrapper.Response

UpdateBDTPolicy - Update an Individual BDT policy (choose policy data)

func HandleUpdateEventsSubscContext

func HandleUpdateEventsSubscContext(request *http_wrapper.Request) *http_wrapper.Response

HandleUpdateEventsSubsc - creates or modifies an Events Subscription subresource

func HandleUpdatePostPoliciesPolAssoId

func HandleUpdatePostPoliciesPolAssoId(request *http_wrapper.Request) *http_wrapper.Response

func HandleUpdateSmPolicyContextRequest

func HandleUpdateSmPolicyContextRequest(request *http_wrapper.Request) *http_wrapper.Response

SmPoliciessmPolicyIDUpdatePost -

func ModAppSessionContextProcedure

func ModAppSessionContextProcedure(appSessID string,
	ascUpdateData models.AppSessionContextUpdateData) (*models.ProblemDetails, *models.AppSessionContext)

func PostPoliciesProcedure

func PostPoliciesProcedure(polAssoId string,
	policyAssociationRequest models.PolicyAssociationRequest) (*models.PolicyAssociation, string, *models.ProblemDetails)

func SendAMPolicyTerminationRequestNotification

func SendAMPolicyTerminationRequestNotification(ue *pcf_context.UeContext,
	PolId string, request models.TerminationNotification)

Send AM Policy Update to AMF if policy has been terminated

func SendAMPolicyUpdateNotification

func SendAMPolicyUpdateNotification(ue *pcf_context.UeContext, PolId string, request models.PolicyUpdate)

Send AM Policy Update to AMF if policy has changed

func SendAppSessionEventNotification

func SendAppSessionEventNotification(appSession *pcf_context.AppSessionData, request models.EventsNotification)

func SendAppSessionTermination

func SendAppSessionTermination(appSession *pcf_context.AppSessionData, request models.TerminationInfo)

func SmPolicyNotifyProcedure

func SmPolicyNotifyProcedure(supi string, notification models.PolicyDataChangeNotification)

TODO: handle SM Policy Notify

func UpdateEventsSubscContextProcedure

func UpdateEventsSubscContextProcedure(appSessID string, eventsSubscReqData models.EventsSubscReqData) (
	*models.UpdateEventsSubscResponse, string, int, *models.ProblemDetails)

func UpdatePostPoliciesPolAssoIdProcedure

func UpdatePostPoliciesPolAssoIdProcedure(polAssoId string,
	policyAssociationUpdateRequest models.PolicyAssociationUpdateRequest) (*models.PolicyUpdate, *models.ProblemDetails)

Types

type UEAmPolicy

type UEAmPolicy struct {
	PolicyAssociationID string
	AccessType          models.AccessType
	Rfsp                string
	Triggers            []models.RequestTrigger
	/*Service Area Restriction */
	RestrictionType models.RestrictionType
	Areas           []models.Area
	MaxNumOfTAs     int32
}

type UEAmPolicys

type UEAmPolicys []UEAmPolicy

func OAMGetAmPolicyProcedure

func OAMGetAmPolicyProcedure(supi string) (response *UEAmPolicys, problemDetails *models.ProblemDetails)

Jump to

Keyboard shortcuts

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