mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-25 16:18:37 +00:00
26 lines
704 B
Go
26 lines
704 B
Go
// Code generated by "stringer -type=GarbagePolicy"; DO NOT EDIT.
|
|
|
|
package types
|
|
|
|
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[GarbageIgnore-1]
|
|
_ = x[GarbageCollect-2]
|
|
}
|
|
|
|
const _GarbagePolicy_name = "GarbageIgnoreGarbageCollect"
|
|
|
|
var _GarbagePolicy_index = [...]uint8{0, 13, 27}
|
|
|
|
func (i GarbagePolicy) String() string {
|
|
i -= 1
|
|
if i < 0 || i >= GarbagePolicy(len(_GarbagePolicy_index)-1) {
|
|
return "GarbagePolicy(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
|
}
|
|
return _GarbagePolicy_name[_GarbagePolicy_index[i]:_GarbagePolicy_index[i+1]]
|
|
}
|