1 // Copyright 2022 The Kubernetes Authors. 2 // SPDX-License-Identifier: Apache-2.0 3 4 package validation 5 6 //go:generate stringer -type=Policy 7 type Policy int 8 9 const ( 10 // ExitEarly policy errors and exits if any objects are invalid, before 11 // apply/delete of any objects. 12 ExitEarly Policy = iota 13 14 // SkipInvalid policy skips the apply/delete of invalid objects. 15 SkipInvalid 16 ) 17