Documentation ¶
Index ¶
- func ToAPIFamily(f *types.Family) (*models.BgpFamily, error)
- func ToAPIPath(p *types.Path) (*models.BgpPath, error)
- func ToAPIPaths(ps []*types.Path) ([]*models.BgpPath, error)
- func ToAPIRoute(r *types.Route, routerASN int64) (*models.BgpRoute, error)
- func ToAPIRoutes(rs []*types.Route, routerASN int64) ([]*models.BgpRoute, error)
- func ToAgentFamily(m *models.BgpFamily) (*types.Family, error)
- func ToAgentGetRoutesRequest(params restapi.GetBgpRoutesParams) (*types.GetRoutesRequest, error)
- func ToAgentPath(m *models.BgpPath) (*types.Path, error)
- func ToAgentPaths(ms []*models.BgpPath) ([]*types.Path, error)
- func ToAgentRoute(m *models.BgpRoute) (*types.Route, error)
- func ToAgentRoutes(ms []*models.BgpRoute) ([]*types.Route, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToAgentGetRoutesRequest ¶
func ToAgentGetRoutesRequest(params restapi.GetBgpRoutesParams) (*types.GetRoutesRequest, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.