True and false are mysterious.

This commit is contained in:
jregan
2019-05-20 20:21:00 -07:00
committed by Jeffrey Regan
parent 72f565d55d
commit a352ff3923
6 changed files with 43 additions and 42 deletions

View File

@@ -142,6 +142,14 @@ type Kustomization struct {
Inventory *Inventory `json:"inventory,omitempty" yaml:"inventory:omitempty"`
}
type GarbagePolicy int
const (
GarbageUnknown GarbagePolicy = iota
GarbageIgnore
GarbageCollect
)
// FixKustomizationPostUnmarshalling fixes things
// like empty fields that should not be empty, or
// moving content of deprecated fields to newer