github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/cmd/lceventsrc_string.go (about) 1 // Code generated by "stringer -type lcEventSrc -trimprefix lcEventSrc_ bucket-lifecycle-audit.go"; DO NOT EDIT. 2 3 package cmd 4 5 import "strconv" 6 7 func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[lcEventSrc_None-0] 12 _ = x[lcEventSrc_Heal-1] 13 _ = x[lcEventSrc_Scanner-2] 14 _ = x[lcEventSrc_Decom-3] 15 _ = x[lcEventSrc_Rebal-4] 16 _ = x[lcEventSrc_s3HeadObject-5] 17 _ = x[lcEventSrc_s3GetObject-6] 18 _ = x[lcEventSrc_s3ListObjects-7] 19 _ = x[lcEventSrc_s3PutObject-8] 20 _ = x[lcEventSrc_s3CopyObject-9] 21 _ = x[lcEventSrc_s3CompleteMultipartUpload-10] 22 } 23 24 const _lcEventSrc_name = "NoneHealScannerDecomRebals3HeadObjects3GetObjects3ListObjectss3PutObjects3CopyObjects3CompleteMultipartUpload" 25 26 var _lcEventSrc_index = [...]uint8{0, 4, 8, 15, 20, 25, 37, 48, 61, 72, 84, 109} 27 28 func (i lcEventSrc) String() string { 29 if i >= lcEventSrc(len(_lcEventSrc_index)-1) { 30 return "lcEventSrc(" + strconv.FormatInt(int64(i), 10) + ")" 31 } 32 return _lcEventSrc_name[_lcEventSrc_index[i]:_lcEventSrc_index[i+1]] 33 }