Documentation
¶
Index ¶
Constants ¶
View Source
const UserAgent = "go-github-nextmn-srv6-ctrl"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandoverInfos ¶ added in v0.0.23
type HttpServerEntity ¶
type HttpServerEntity struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer(conf *config.CtrlConfig, srv6Srv *pfcp_networking.PFCPEntityUP) *HttpServerEntity
func NewHttpServerEntity ¶
func NewHttpServerEntity(httpAddr netip.AddrPort, pfcp *pfcp_networking.PFCPEntityUP) *HttpServerEntity
func (*HttpServerEntity) WaitShutdown ¶ added in v0.0.20
func (e *HttpServerEntity) WaitShutdown(ctx context.Context) error
type RouterRegistry ¶
func (*RouterRegistry) DeleteRouter ¶
func (r *RouterRegistry) DeleteRouter(c *gin.Context)
func (*RouterRegistry) GetRouter ¶
func (r *RouterRegistry) GetRouter(c *gin.Context)
get a router infos
func (*RouterRegistry) GetRouters ¶
func (r *RouterRegistry) GetRouters(c *gin.Context)
func (*RouterRegistry) PostRouter ¶
func (r *RouterRegistry) PostRouter(c *gin.Context)
post a router infos
func (*RouterRegistry) Status ¶
func (l *RouterRegistry) Status(c *gin.Context)
get status of the controller
type RuleAction ¶ added in v0.0.22
type RulesPusher ¶ added in v0.0.16
type RulesPusher struct {
// contains filtered or unexported fields
}
func NewRulesPusher ¶ added in v0.0.16
func NewRulesPusher(config *config.CtrlConfig) *RulesPusher
type Setup ¶
type Setup struct { HTTPServer *HttpServerEntity Upf *Upf RulesPusher *RulesPusher }
func NewSetup ¶
func NewSetup(conf *config.CtrlConfig) Setup
type Upf ¶ added in v0.0.20
type Upf struct {
// contains filtered or unexported fields
}
func NewUpf ¶ added in v0.0.20
func NewUpf(conf *config.CtrlConfig) *Upf
func (*Upf) PFCPServerAddHooks ¶ added in v0.0.20
func (upf *Upf) PFCPServerAddHooks(pusher *RulesPusher) error
Click to show internal directories.
Click to hide internal directories.