factory

package
v0.0.0-...-cad1217 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfigFactory

func InitConfigFactory(f string)

TODO: Support configuration update from REST api

Types

type Config

type Config struct {
	Info *Info `yaml:"info"`

	Configuration *Configuration `yaml:"configuration"`
}
var AmfConfig Config

type Configuration

type Configuration struct {
	AmfName string `yaml:"amfName,omitempty"`

	NgapIpList []string `yaml:"ngapIpList,omitempty"`

	Sbi *Sbi `yaml:"sbi,omitempty"`

	ServiceNameList []string `yaml:"serviceNameList,omitempty"`

	ServedGumaiList []models.Guami `yaml:"servedGuamiList,omitempty"`

	SupportTAIList []models.Tai `yaml:"supportTaiList,omitempty"`

	PlmnSupportList []amf_context.PlmnSupportItem `yaml:"plmnSupportList,omitempty"`

	SupportDnnList []string `yaml:"supportDnnList,omitempty"`

	NrfUri string `yaml:"nrfUri,omitempty"`

	Security *Security `yaml:"security,omitempty"`

	NetworkName amf_context.NetworkName `yaml:"networkName,omitempty"`

	T3502 int `yaml:"t3502,omitempty"`

	T3512 int `yaml:"t3512,omitempty"`

	Non3gppDeregistrationTimer int `yaml:"mon3gppDeregistrationTimer,omitempty"`
}

type Info

type Info struct {
	Version string `yaml:"version,omitempty"`

	Description string `yaml:"description,omitempty"`
}

type Sbi

type Sbi struct {
	Scheme   string `yaml:"scheme"`
	IPv4Addr string `yaml:"ipv4Addr,omitempty"`
	// IPv6Addr string `yaml:"ipv6Addr,omitempty"`
	Port int `yaml:"port,omitempty"`
}

type Security

type Security struct {
	IntegrityOrder []string `yaml:"integrityOrder,omitempty"`
	CipheringOrder []string `yaml:"cipheringOrder,omitempty"`
}

Jump to

Keyboard shortcuts

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