mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 23:42:12 +01:00
Pick up a fix for https://pkg.go.dev/vuln/GO-2025-4116 (even though we're not affected). Updates #cleanup Change-Id: I9f2571b17c1f14db58ece8a5a34785805217d9dd Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
37 lines
1.2 KiB
Go
37 lines
1.2 KiB
Go
// Code generated by "stringer -type Label -trimprefix Label"; DO NOT EDIT.
|
|
|
|
package sockstats
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[LabelControlClientAuto-0]
|
|
_ = x[LabelControlClientDialer-1]
|
|
_ = x[LabelDERPHTTPClient-2]
|
|
_ = x[LabelLogtailLogger-3]
|
|
_ = x[LabelDNSForwarderDoH-4]
|
|
_ = x[LabelDNSForwarderUDP-5]
|
|
_ = x[LabelNetcheckClient-6]
|
|
_ = x[LabelPortmapperClient-7]
|
|
_ = x[LabelMagicsockConnUDP4-8]
|
|
_ = x[LabelMagicsockConnUDP6-9]
|
|
_ = x[LabelNetlogLogger-10]
|
|
_ = x[LabelSockstatlogLogger-11]
|
|
_ = x[LabelDNSForwarderTCP-12]
|
|
}
|
|
|
|
const _Label_name = "ControlClientAutoControlClientDialerDERPHTTPClientLogtailLoggerDNSForwarderDoHDNSForwarderUDPNetcheckClientPortmapperClientMagicsockConnUDP4MagicsockConnUDP6NetlogLoggerSockstatlogLoggerDNSForwarderTCP"
|
|
|
|
var _Label_index = [...]uint8{0, 17, 36, 50, 63, 78, 93, 107, 123, 140, 157, 169, 186, 201}
|
|
|
|
func (i Label) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_Label_index)-1 {
|
|
return "Label(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Label_name[_Label_index[idx]:_Label_index[idx+1]]
|
|
}
|