Documentation
¶
Overview ¶
Copyright 2023 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright 2024 Louis Royer and the NextMN-SRv6 contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Index ¶
- type ControllerRegistry
- type RulesRegistry
- func (rr *RulesRegistry) ByUUID(uuid uuid.UUID) (jsonapi.Action, error)
- func (rr *RulesRegistry) DeleteRule(c *gin.Context)
- func (rr *RulesRegistry) DisableRule(c *gin.Context)
- func (rr *RulesRegistry) DownlinkAction(UEIp netip.Addr) (uuid.UUID, jsonapi.Action, error)
- func (rr *RulesRegistry) EnableRule(c *gin.Context)
- func (rr *RulesRegistry) GetRule(c *gin.Context)
- func (rr *RulesRegistry) GetRules(c *gin.Context)
- func (rr *RulesRegistry) PostRule(c *gin.Context)
- func (rr *RulesRegistry) UplinkAction(UEIp netip.Addr, GnbIp netip.Addr) (uuid.UUID, jsonapi.Action, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerRegistry ¶
type RulesRegistry ¶
A RulesRegistry contains rules for an headend
func NewRulesRegistry ¶
func NewRulesRegistry(db *database.Database) *RulesRegistry
func (*RulesRegistry) DeleteRule ¶
func (rr *RulesRegistry) DeleteRule(c *gin.Context)
func (*RulesRegistry) DisableRule ¶
func (rr *RulesRegistry) DisableRule(c *gin.Context)
func (*RulesRegistry) DownlinkAction ¶
func (*RulesRegistry) EnableRule ¶
func (rr *RulesRegistry) EnableRule(c *gin.Context)
func (*RulesRegistry) GetRule ¶
func (rr *RulesRegistry) GetRule(c *gin.Context)
func (*RulesRegistry) GetRules ¶
func (rr *RulesRegistry) GetRules(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.