mirror of https://github.com/fluxcd/cli-utils.git
27 lines
792 B
Go
27 lines
792 B
Go
// Code generated by "stringer -type=PruneEventStatus -linecomment"; DO NOT EDIT.
|
|
|
|
package event
|
|
|
|
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[PrunePending-0]
|
|
_ = x[PruneSuccessful-1]
|
|
_ = x[PruneSkipped-2]
|
|
_ = x[PruneFailed-3]
|
|
}
|
|
|
|
const _PruneEventStatus_name = "PendingSuccessfulSkippedFailed"
|
|
|
|
var _PruneEventStatus_index = [...]uint8{0, 7, 17, 24, 30}
|
|
|
|
func (i PruneEventStatus) String() string {
|
|
if i < 0 || i >= PruneEventStatus(len(_PruneEventStatus_index)-1) {
|
|
return "PruneEventStatus(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _PruneEventStatus_name[_PruneEventStatus_index[i]:_PruneEventStatus_index[i+1]]
|
|
}
|