mirror of
https://github.com/pgsty/minio.git
synced 2026-09-15 15:04:04 +03:00
9b76a21675
Reverse the first-parent diff of a3df317ae0,
including the feature branch compatibility and mover follow-up fixes.
Retain the independent multi-pool correctness fixes from #178 and migrate
their shared test fixture away from access-tier code.
Tolerate retired ILM keys and XML, read old v9 statistics while writing v8,
and document migration without moving objects or rewriting their metadata.
Include regression coverage using a historical scanner/writer v9 fixture.
Signed-off-by: Feng Ruohang <rh@vonng.com>
35 lines
1.1 KiB
Go
35 lines
1.1 KiB
Go
// Code generated by "stringer -type lcEventSrc -trimprefix lcEventSrc_ bucket-lifecycle-audit.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[lcEventSrc_None-0]
|
|
_ = x[lcEventSrc_Heal-1]
|
|
_ = x[lcEventSrc_Scanner-2]
|
|
_ = x[lcEventSrc_Decom-3]
|
|
_ = x[lcEventSrc_Rebal-4]
|
|
_ = x[lcEventSrc_s3HeadObject-5]
|
|
_ = x[lcEventSrc_s3GetObject-6]
|
|
_ = x[lcEventSrc_s3ListObjects-7]
|
|
_ = x[lcEventSrc_s3PutObject-8]
|
|
_ = x[lcEventSrc_s3CopyObject-9]
|
|
_ = x[lcEventSrc_s3CompleteMultipartUpload-10]
|
|
}
|
|
|
|
const _lcEventSrc_name = "NoneHealScannerDecomRebals3HeadObjects3GetObjects3ListObjectss3PutObjects3CopyObjects3CompleteMultipartUpload"
|
|
|
|
var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109}
|
|
|
|
func (i lcEventSrc) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_lcEventSrc_index)-1 {
|
|
return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _lcEventSrc_name[_lcEventSrc_index[idx]:_lcEventSrc_index[idx+1]]
|
|
}
|