# Functions
CreateOrUpdateClusterRole creates a cluster role in the target cluster for argocd.
CreateOrUpdateClusterRoleBinding creates a cluster role binding in the target cluster for argocd.
CreateServiceAccount creates a service account for argocd role in target cluster we are not currently trying to update this service account if it exists because name and namespace are immutable and we aren't setting any other properties.
No description provided by the author
GetMgmtClusterConfig returns a kubernetes client config for the management cluster.
GetServiceAccountBearerToken returns a bearer token for the service account this token is used to authenticate with the target cluster along with the CA.
GetTargetClusterConfig returns a kubernetes client config for the target cluster.
# Structs
In true go fashion, I spent most of my time trying to resolve go mod issues so that I could import this one thing, I am now including it here directly for the time being.
ClusterReconciler reconciles a Cluster object.
TLSClientConfig contains settings to enable transport layer security.