# Functions

ConnectCluster connects a cluster to a spoke cluster given its name and context Given ClusterOptions, a Service account, Cluster Role, Cluster Role binding and secret are created in the remote cluster and token is used to access.
DisconnectCluster disconnects a cluster from a spoke cluster given its name and context The Service account, Cluster Role binding and secret are deleted in the remote cluster and secret containing token in hub cluster is deleted.
ReconcileServiceAccount accepts a client and the name for a service account.

# Structs

ClusterConnectionOptions holds the options to create the resources with such as the target names and namespace.