summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/zebra/ptm_enable_string.go
blob: e9d829fae7e5d9be150f3af54d5e024168401204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by "stringer -type=PTM_ENABLE"; DO NOT EDIT.

package zebra

import "strconv"

const _PTM_ENABLE_name = "PTM_ENABLE_OFFPTM_ENABLE_ONPTM_ENABLE_UNSPEC"

var _PTM_ENABLE_index = [...]uint8{0, 14, 27, 44}

func (i PTM_ENABLE) String() string {
	if i >= PTM_ENABLE(len(_PTM_ENABLE_index)-1) {
		return "PTM_ENABLE(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _PTM_ENABLE_name[_PTM_ENABLE_index[i]:_PTM_ENABLE_index[i+1]]
}