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

package zebra

import "strconv"

const _PTM_STATUS_name = "PTM_STATUS_DOWNPTM_STATUS_UPPTM_STATUS_UNKNOWN"

var _PTM_STATUS_index = [...]uint8{0, 15, 28, 46}

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