sigs.k8s.io/cluster-api@v1.7.1/internal/apis/core/exp/addons/v1alpha3/condition_consts.go (about)

     1  /*
     2  Copyright 2020 The Kubernetes 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 v1alpha3
    18  
    19  import clusterv1alpha3 "sigs.k8s.io/cluster-api/internal/apis/core/v1alpha3"
    20  
    21  // Conditions and condition Reasons for the ClusterResourceSet object.
    22  
    23  const (
    24  	// ResourcesAppliedCondition documents that all resources in the ClusterResourceSet object are applied to
    25  	// all matching clusters. This indicates all resources exist, and no errors during applying them to all clusters.
    26  	ResourcesAppliedCondition clusterv1alpha3.ConditionType = "ResourcesApplied"
    27  
    28  	// RemoteClusterClientFailedReason (Severity=Error) documents failure during getting the remote cluster client.
    29  	RemoteClusterClientFailedReason = "RemoteClusterClientFailed"
    30  
    31  	// ClusterMatchFailedReason (Severity=Warning) documents failure getting clusters that match the clusterSelector.
    32  	ClusterMatchFailedReason = "ClusterMatchFailed"
    33  
    34  	// ApplyFailedReason (Severity=Warning) documents applying at least one of the resources to one of the matching clusters is failed.
    35  	ApplyFailedReason = "ApplyFailed"
    36  
    37  	// RetrievingResourceFailedReason (Severity=Warning) documents at least one of the resources are not successfully retrieved.
    38  	RetrievingResourceFailedReason = "RetrievingResourceFailed"
    39  
    40  	// WrongSecretTypeReason (Severity=Warning) documents at least one of the Secret's type in the resource list is not supported.
    41  	WrongSecretTypeReason = "WrongSecretType"
    42  )