...

Source file src/github.com/fluxcd/helm-controller/api/v2beta2/condition_types.go

Documentation: github.com/fluxcd/helm-controller/api/v2beta2

     1  /*
     2  Copyright 2022 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 v2beta2
    18  
    19  const (
    20  	// ReleasedCondition represents the status of the last release attempt
    21  	// (install/upgrade/test) against the latest desired state.
    22  	ReleasedCondition string = "Released"
    23  
    24  	// TestSuccessCondition represents the status of the last test attempt against
    25  	// the latest desired state.
    26  	TestSuccessCondition string = "TestSuccess"
    27  
    28  	// RemediatedCondition represents the status of the last remediation attempt
    29  	// (uninstall/rollback) due to a failure of the last release attempt against the
    30  	// latest desired state.
    31  	RemediatedCondition string = "Remediated"
    32  )
    33  
    34  const (
    35  	// InstallSucceededReason represents the fact that the Helm install for the
    36  	// HelmRelease succeeded.
    37  	InstallSucceededReason string = "InstallSucceeded"
    38  
    39  	// InstallFailedReason represents the fact that the Helm install for the
    40  	// HelmRelease failed.
    41  	InstallFailedReason string = "InstallFailed"
    42  
    43  	// UpgradeSucceededReason represents the fact that the Helm upgrade for the
    44  	// HelmRelease succeeded.
    45  	UpgradeSucceededReason string = "UpgradeSucceeded"
    46  
    47  	// UpgradeFailedReason represents the fact that the Helm upgrade for the
    48  	// HelmRelease failed.
    49  	UpgradeFailedReason string = "UpgradeFailed"
    50  
    51  	// TestSucceededReason represents the fact that the Helm tests for the
    52  	// HelmRelease succeeded.
    53  	TestSucceededReason string = "TestSucceeded"
    54  
    55  	// TestFailedReason represents the fact that the Helm tests for the HelmRelease
    56  	// failed.
    57  	TestFailedReason string = "TestFailed"
    58  
    59  	// RollbackSucceededReason represents the fact that the Helm rollback for the
    60  	// HelmRelease succeeded.
    61  	RollbackSucceededReason string = "RollbackSucceeded"
    62  
    63  	// RollbackFailedReason represents the fact that the Helm test for the
    64  	// HelmRelease failed.
    65  	RollbackFailedReason string = "RollbackFailed"
    66  
    67  	// UninstallSucceededReason represents the fact that the Helm uninstall for the
    68  	// HelmRelease succeeded.
    69  	UninstallSucceededReason string = "UninstallSucceeded"
    70  
    71  	// UninstallFailedReason represents the fact that the Helm uninstall for the
    72  	// HelmRelease failed.
    73  	UninstallFailedReason string = "UninstallFailed"
    74  
    75  	// ArtifactFailedReason represents the fact that the artifact download for the
    76  	// HelmRelease failed.
    77  	ArtifactFailedReason string = "ArtifactFailed"
    78  
    79  	// InitFailedReason represents the fact that the initialization of the Helm
    80  	// configuration failed.
    81  	InitFailedReason string = "InitFailed"
    82  
    83  	// GetLastReleaseFailedReason represents the fact that observing the last
    84  	// release failed.
    85  	GetLastReleaseFailedReason string = "GetLastReleaseFailed"
    86  
    87  	// DependencyNotReadyReason represents the fact that
    88  	// one of the dependencies is not ready.
    89  	DependencyNotReadyReason string = "DependencyNotReady"
    90  
    91  	// ReconciliationSucceededReason represents the fact that
    92  	// the reconciliation succeeded.
    93  	ReconciliationSucceededReason string = "ReconciliationSucceeded"
    94  
    95  	// ReconciliationFailedReason represents the fact that
    96  	// the reconciliation failed.
    97  	ReconciliationFailedReason string = "ReconciliationFailed"
    98  )
    99  

View as plain text