Documentation ¶
Index ¶
- Constants
- Variables
- func EncodeGroupId(groupId string) string
- func GetNfInstanceURI(nfInstID string) string
- func GetNofificationUri(nfProfile models.NfProfile) []string
- func InitNFService(srvNameList []string, version string) []models.NfService
- func InitNrfContext()
- func Ipv4IntToIpv4String(ip int64) string
- func Ipv4ToInt(ipv4 string) int64
- func Ipv6IntToIpv6String(ip *big.Int) string
- func Ipv6ToInt(ipv6 string) *big.Int
- func NnrfNFManagementDataModel(nf *models.NfProfile, nfprofile models.NfProfile) error
- func NnrfUriListLimit(originalUL *UriList, limit int)
- func SetLocationHeader(nfprofile models.NfProfile) string
- func SetsubscriptionId() string
- type Item
- type Links
- type SearchNFInstances
- type UriList
Constants ¶
View Source
const NRF_NFINST_RES_URI_PREFIX = factory.NRF_NFM_RES_URI_PREFIX + "/nf-instances/"
Variables ¶
View Source
var ( NrfNfProfile models.NfProfile Nrf_NfInstanceID string )
Functions ¶
func EncodeGroupId ¶
EncodeGroupId - Encode GroupId to number string(output pattern: [10][3][3][25])
func GetNfInstanceURI ¶
func GetNofificationUri ¶
func InitNrfContext ¶
func InitNrfContext()
func Ipv4IntToIpv4String ¶
Ipv4IntToIpv4String - Convert Ipv4 int64 to string
func Ipv6IntToIpv6String ¶
Ipv6IntToIpv6String - Convert Ipv6 *big.Int to string
func NnrfUriListLimit ¶
func SetLocationHeader ¶
func SetsubscriptionId ¶
func SetsubscriptionId() string
Types ¶
type SearchNFInstances ¶
type SearchNFInstances struct { TargetNFType models.NfType `form:"target-nf-type" binding:"required"` RequesterNFType models.NfType `form:"requester-nf-type" binding:"required"` ServiceNames []models.ServiceName `form:"service-names" ` RequesterNfInstanceFqdn string `form:"requester-nf-instance-fqdn" ` TargetPlmnList []models.PlmnId `form:"target-plmn-list" ` RequesterPlmnList []models.PlmnId `form:"requester-plmn-list" ` TargetNfInstanceID string `form:"target-nf-instance-id" ` TargetNfFqdn string `form:"target-nf-type" ` HnrfURI models.UriScheme `form:"hnrf-uri" ` Snssais []models.Snssai `form:"snssais" ` PlmnSpecificSnssaiList []models.PlmnSnssai `form:"plmn-specific-snssai-list"` Dnn string `form:"dnn" ` NsiList []string `form:"nsi-list" ` SmfServingArea string `form:"smf-serving-area" ` Tai models.Tai `form:"tai" ` AmfRegionID string `form:"amf-region-id" ` AmfSetID string `form:"amf-set-id" ` Guami models.Guami `form:"guami" ` Supi string `form:"supi" ` UeIpv4Address string `form:"ue-ipv4-address" ` IPDomain string `form:"ip-domain" ` UeIpv6Prefix string `form:"ue-ipv6-prefix" ` PgwInd bool `form:"pgw-ind" ` Pgw string `form:"pgw" ` Gpsi string `form:"gpsi" ` ExternalGroupIdentity string `form:"external-group-identity" ` DataSet models.DataSetId `form:"data-set" ` RoutingIndicator string `form:"routing-indicator" ` GroupIDList []string `form:"group-id-list" ` DnaiList []string `form:"dnai-list" ` SupportedFeatures []string `form:"supported-features" ` UpfIwkEpsInd bool `form:"upf-iwk-eps-ind" ` ChfSupportedPlmn models.PlmnId `form:"chf-supported-plmn" ` PreferredLocality string `form:"preferred-locality" ` AccessType models.AccessType `form:"access-type" ` }
Click to show internal directories.
Click to hide internal directories.