1 /* 2 Copyright 2020 The Flux authors 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package v1beta1 18 19 const ( 20 // HealthyCondition is the condition type used 21 // to record the last health assessment result. 22 HealthyCondition string = "Healthy" 23 24 // PruneFailedReason represents the fact that the 25 // pruning of the Kustomization failed. 26 PruneFailedReason string = "PruneFailed" 27 28 // ArtifactFailedReason represents the fact that the 29 // artifact download of the kustomization failed. 30 ArtifactFailedReason string = "ArtifactFailed" 31 32 // BuildFailedReason represents the fact that the 33 // kustomize build of the Kustomization failed. 34 BuildFailedReason string = "BuildFailed" 35 36 // HealthCheckFailedReason represents the fact that 37 // one of the health checks of the Kustomization failed. 38 HealthCheckFailedReason string = "HealthCheckFailed" 39 40 // ValidationFailedReason represents the fact that the 41 // validation of the Kustomization manifests has failed. 42 ValidationFailedReason string = "ValidationFailed" 43 ) 44