/
vshmidt
/
minio
Обзор
Документация
Войти
/
vshmidt
/
minio
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
cmd/authtype_string.go
34 строки
1 KB
Klaus Post
Signed trailers for signature v4 (#16484)
06 май 2023, 05:53
Не верифицирован
06 май 2023, 05:53
76913a9
Код
Авторство
О чём код?
// Code generated by "stringer -type=authType -trimprefix=authType auth-handler.go"; DO NOT EDIT. package cmd 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[authTypeUnknown-0] _ = x[authTypeAnonymous-1] _ = x[authTypePresigned-2] _ = x[authTypePresignedV2-3] _ = x[authTypePostPolicy-4] _ = x[authTypeStreamingSigned-5] _ = x[authTypeSigned-6] _ = x[authTypeSignedV2-7] _ = x[authTypeJWT-8] _ = x[authTypeSTS-9] _ = x[authTypeStreamingSignedTrailer-10] _ = x[authTypeStreamingUnsignedTrailer-11] } const _authType_name = "UnknownAnonymousPresignedPresignedV2PostPolicyStreamingSignedSignedSignedV2JWTSTSStreamingSignedTrailerStreamingUnsignedTrailer" var _authType_index = [...]uint8{0, 7, 16, 25, 36, 46, 61, 67, 75, 78, 81, 103, 127} func (i authType) String() string { if i < 0 || i >= authType(len(_authType_index)-1) { return "authType(" + strconv.FormatInt(int64(i), 10) + ")" } return _authType_name[_authType_index[i]:_authType_index[i+1]] }