# Constants
CAPINotEnabled signals that CAPI component is not installed.
ClusterConnectionFailedReason signals cluster connection failed.
ClusterConnectionSucceededReason signals if the cluster can be connected.
ClusterConnectivity indicates if the cluster has connectivity.
ClusterProvisionedCondition is a condition when CAPI clusters are provisioned.
ClusterProvisionedReason is the reason for the provisioned state being set.
ControlPlaneReadyStatusReason signals that a cluster is found and it has a ControlPlaneReady=true condition.
GitOpsClusterNoSecretFinalizerAnnotation if applied to a GitOpsCluster indicates that we should not wait for the secret to be removed before allowing the cluster to be removed.
SecretFoundReason signals that a given secret has been found.
WaitingForCAPIClusterDeletionReason signals that this cluster has been deleted, but the referenced CAPI Cluster still exists.
WaitingForCAPIClusterReason signals that a given CAPI cluster has not been found.
WaitingForControlPlaneReadyStatusReason signals that a given CAPI cluster has been found but its ControlPlaneReady status is false.
WaitingForSecretDeletionReason signals that this cluster has been deleted, but the referenced secret still exists.
WaitingForSecretReason signals that a given secret has not been found.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
GitOpsCluster is the Schema for the gitopsclusters API +kubebuilder:validation:XValidation:rule="has(self.spec)",message="must confgure spec".
GitOpsClusterList contains a list of GitOpsCluster.
GitOpsClusterSpec defines the desired state of GitOpsCluster +kubebuilder:validation:XValidation:rule="(has(self.secretRef) || has(self.capiClusterRef))",message="must provide a secretRef or capiClusterRef" +kubebuilder:validation:XValidation:rule="!(has(self.secretRef) && has(self.capiClusterRef))",message="cannot provide both capiClusterRef and secretRef".
GitOpsClusterStatus defines the observed state of GitOpsCluster.