mirror of
https://github.com/minio/minio
synced 2024-09-06 16:54:25 +00:00
27 lines
703 B
Go
27 lines
703 B
Go
// Code generated by "stringer -type=TargetType -trimprefix=Target types.go"; DO NOT EDIT.
|
|
|
|
package types
|
|
|
|
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[TargetConsole-1]
|
|
_ = x[TargetHTTP-2]
|
|
_ = x[TargetKafka-3]
|
|
}
|
|
|
|
const _TargetType_name = "ConsoleHTTPKafka"
|
|
|
|
var _TargetType_index = [...]uint8{0, 7, 11, 16}
|
|
|
|
func (i TargetType) String() string {
|
|
i -= 1
|
|
if i >= TargetType(len(_TargetType_index)-1) {
|
|
return "TargetType(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
|
}
|
|
return _TargetType_name[_TargetType_index[i]:_TargetType_index[i+1]]
|
|
}
|