github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/internal/bucket/lifecycle/action_string.go (about) 1 // Code generated by "stringer -type Action lifecycle.go"; DO NOT EDIT. 2 3 package lifecycle 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[NoneAction-0] 12 _ = x[DeleteAction-1] 13 _ = x[DeleteVersionAction-2] 14 _ = x[TransitionAction-3] 15 _ = x[TransitionVersionAction-4] 16 _ = x[DeleteRestoredAction-5] 17 _ = x[DeleteRestoredVersionAction-6] 18 _ = x[DeleteAllVersionsAction-7] 19 _ = x[ActionCount-8] 20 } 21 22 const _Action_name = "NoneActionDeleteActionDeleteVersionActionTransitionActionTransitionVersionActionDeleteRestoredActionDeleteRestoredVersionActionDeleteAllVersionsActionActionCount" 23 24 var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 161} 25 26 func (i Action) String() string { 27 if i < 0 || i >= Action(len(_Action_index)-1) { 28 return "Action(" + strconv.FormatInt(int64(i), 10) + ")" 29 } 30 return _Action_name[_Action_index[i]:_Action_index[i+1]] 31 }