# Functions
GenerateKubeconfig creates a kubeconfig for a specified cluster and returns it as a string.
GetClusterID fetches the cluster ID for a given cluster name from Rancher.
GetConfig retrieves the Kubernetes configuration from Rancher.
GetWorkerNodes retrieves a list of node details for nodes based on the configured node selector.
IsNewNode checks if a node is considered "new" based on a configurable age threshold.
IsNodeReady checks if the node is in a ready state.
# Structs
NodeDetails holds the necessary details for backend nodes.