summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/zebra/nexthop_flag_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/zebra/nexthop_flag_string.go')
-rw-r--r--internal/pkg/zebra/nexthop_flag_string.go41
1 files changed, 0 insertions, 41 deletions
diff --git a/internal/pkg/zebra/nexthop_flag_string.go b/internal/pkg/zebra/nexthop_flag_string.go
deleted file mode 100644
index 1ec9d6ac..00000000
--- a/internal/pkg/zebra/nexthop_flag_string.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Code generated by "stringer -type=NEXTHOP_FLAG"; DO NOT EDIT.
-
-package zebra
-
-import "strconv"
-
-const (
- _NEXTHOP_FLAG_name_0 = "NEXTHOP_FLAG_ACTIVENEXTHOP_FLAG_FIB"
- _NEXTHOP_FLAG_name_1 = "NEXTHOP_FLAG_RECURSIVE"
- _NEXTHOP_FLAG_name_2 = "NEXTHOP_FLAG_ONLINK"
- _NEXTHOP_FLAG_name_3 = "NEXTHOP_FLAG_MATCHED"
- _NEXTHOP_FLAG_name_4 = "NEXTHOP_FLAG_FILTERED"
- _NEXTHOP_FLAG_name_5 = "NEXTHOP_FLAG_DUPLICATE"
- _NEXTHOP_FLAG_name_6 = "NEXTHOP_FLAG_EVPN_RVTEP"
-)
-
-var (
- _NEXTHOP_FLAG_index_0 = [...]uint8{0, 19, 35}
-)
-
-func (i NEXTHOP_FLAG) String() string {
- switch {
- case 1 <= i && i <= 2:
- i -= 1
- return _NEXTHOP_FLAG_name_0[_NEXTHOP_FLAG_index_0[i]:_NEXTHOP_FLAG_index_0[i+1]]
- case i == 4:
- return _NEXTHOP_FLAG_name_1
- case i == 8:
- return _NEXTHOP_FLAG_name_2
- case i == 16:
- return _NEXTHOP_FLAG_name_3
- case i == 32:
- return _NEXTHOP_FLAG_name_4
- case i == 64:
- return _NEXTHOP_FLAG_name_5
- case i == 128:
- return _NEXTHOP_FLAG_name_6
- default:
- return "NEXTHOP_FLAG(" + strconv.FormatInt(int64(i), 10) + ")"
- }
-}