Add network routers store implementation

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
bcmmbaga
2024-12-10 15:00:23 +01:00
parent 21586acc16
commit 6dd6992415
5 changed files with 195 additions and 13 deletions

View File

@@ -159,3 +159,8 @@ func NewNameServerGroupNotFoundError(nsGroupID string) error {
func NewNetworkNotFoundError(networkID string) error {
return Errorf(NotFound, "network: %s not found", networkID)
}
// NewNetworkRouterNotFoundError creates a new Error with NotFound type for a missing network router.
func NewNetworkRouterNotFoundError(routerID string) error {
return Errorf(NotFound, "network router: %s not found", routerID)
}