Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceName = "cluster name" FinalizerName = "argo.nautes.nautes.resource.nautes.io/finalizers" )
View Source
const ( RegularUpdate = "RegularUpdate" ClusterConditionType = "ClusterSyncToArgocd" DefaultNamespace = "nautes" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Argocd *argocd.ArgocdClient Secret secret.SecretOperator GlobalConfigNamespace string GlobalConfigName string }
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) ConvertKubeconfig ¶
func (r *ClusterReconciler) ConvertKubeconfig(data []byte) (*kubeconfig.KubectlConfig, error)
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SecretContent ¶
type SecretContent struct { ID string Kubeconfig *kubeconfig.KubectlConfig PrivateKey string }
Click to show internal directories.
Click to hide internal directories.