mirror of https://github.com/minio/minio.git
33 lines
1.1 KiB
Go
33 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_Scanner-1]
|
||
|
_ = x[lcEventSrc_Decom-2]
|
||
|
_ = x[lcEventSrc_Rebal-3]
|
||
|
_ = x[lcEventSrc_s3HeadObject-4]
|
||
|
_ = x[lcEventSrc_s3GetObject-5]
|
||
|
_ = x[lcEventSrc_s3ListObjects-6]
|
||
|
_ = x[lcEventSrc_s3PutObject-7]
|
||
|
_ = x[lcEventSrc_s3CopyObject-8]
|
||
|
_ = x[lcEventSrc_s3CompleteMultipartUpload-9]
|
||
|
}
|
||
|
|
||
|
const _lcEventSrc_name = "NoneScannerDecomRebals3HeadObjects3GetObjects3ListObjectss3PutObjects3CopyObjects3CompleteMultipartUpload"
|
||
|
|
||
|
var _lcEventSrc_index = [...]uint8{0, 4, 11, 16, 21, 33, 44, 57, 68, 80, 105}
|
||
|
|
||
|
func (i lcEventSrc) String() string {
|
||
|
if i >= lcEventSrc(len(_lcEventSrc_index)-1) {
|
||
|
return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")"
|
||
|
}
|
||
|
return _lcEventSrc_name[_lcEventSrc_index[i]:_lcEventSrc_index[i+1]]
|
||
|
}
|