Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UpfConfig ¶
type UpfConfig struct {
InterfaceName []string `mapstructure:"interface_name" json:"interface_name"`
XDPAttachMode string `mapstructure:"xdp_attach_mode" validate:"oneof=generic native offload" json:"xdp_attach_mode"`
ApiAddress string `mapstructure:"api_address" validate:"hostname_port" json:"api_address"`
PfcpAddress string `mapstructure:"pfcp_address" validate:"hostname_port" json:"pfcp_address"`
PfcpNodeId string `mapstructure:"pfcp_node_id" validate:"hostname|ip" json:"pfcp_node_id"`
MetricsAddress string `mapstructure:"metrics_address" validate:"hostname_port" json:"metrics_address"`
N3Address string `mapstructure:"n3_address" validate:"ipv4" json:"n3_address"`
QerMapSize uint32 `mapstructure:"qer_map_size" validate:"min=1" json:"qer_map_size"`
FarMapSize uint32 `mapstructure:"far_map_size" validate:"min=1" json:"far_map_size"`
PdrMapSize uint32 `mapstructure:"pdr_map_size" validate:"min=1" json:"pdr_map_size"`
EbpfMapResize bool `mapstructure:"resize_ebpf_maps" json:"resize_ebpf_maps"`
HeartbeatRetries uint32 `mapstructure:"heartbeat_retries" json:"heartbeat_retries"`
HeartbeatInterval uint32 `mapstructure:"heartbeat_interval" json:"heartbeat_interval"`
HeartbeatTimeout uint32 `mapstructure:"heartbeat_timeout" json:"heartbeat_timeout"`
LoggingLevel string `mapstructure:"logging_level" validate:"required" json:"logging_level"`
}
var Conf UpfConfig
Click to show internal directories.
Click to hide internal directories.