Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Configured bool
Functions ¶
func InitConfigFactory ¶
func InitConfigFactory(f string)
TODO: Support configuration update from REST api
Types ¶
type AmfConfig ¶
type AmfConfig struct { NfId string `yaml:"nfId"` SupportedNssaiAvailabilityData []SupportedNssaiAvailabilityData `yaml:"supportedNssaiAvailabilityData"` }
type AmfSetConfig ¶
type Config ¶
type Config struct { Info *Info `yaml:"info"` Configuration *Configuration `yaml:"configuration"` Subscriptions []Subscription `yaml:"subscriptions,omitempty"` }
var NssfConfig Config
type Configuration ¶
type Configuration struct { NssfName string `yaml:"nssfName,omitempty"` Sbi *Sbi `yaml:"sbi"` ServiceNameList []models.ServiceName `yaml:"serviceNameList"` NrfUri string `yaml:"nrfUri"` SupportedPlmnList []models.PlmnId `yaml:"supportedPlmnList,omitempty"` SupportedNssaiInPlmnList []SupportedNssaiInPlmn `yaml:"supportedNssaiInPlmnList"` NsiList []NsiConfig `yaml:"nsiList,omitempty"` AmfSetList []AmfSetConfig `yaml:"amfSetList"` AmfList []AmfConfig `yaml:"amfList"` TaList []TaConfig `yaml:"taList"` MappingListFromPlmn []MappingFromPlmnConfig `yaml:"mappingListFromPlmn"` }
type MappingFromPlmnConfig ¶
type MappingFromPlmnConfig struct { OperatorName string `yaml:"operatorName,omitempty"` HomePlmnId *PlmnId `yaml:"homePlmnId"` MappingOfSnssai []MappingOfSnssai `yaml:"mappingOfSnssai"` }
type NsiConfig ¶
type NsiConfig struct { Snssai *Snssai `yaml:"snssai"` NsiInformationList []NsiInformation `yaml:"nsiInformationList"` }
type Subscription ¶
type Subscription struct { SubscriptionId string `yaml:"subscriptionId"` SubscriptionData *NssfEventSubscriptionCreateData `yaml:"subscriptionData"` }
type SupportedNssaiInPlmn ¶
type SupportedNssaiInPlmn struct { PlmnId *PlmnId `yaml:"plmnId"` SupportedSnssaiList []Snssai `yaml:"supportedSnssaiList"` }
Click to show internal directories.
Click to hide internal directories.