Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KubernetesClients ¶
type KubernetesClients struct { TempManagementCluster *k8sclient.ClusterAuthInfo // Temporary management cluster (kind) PermManagementCluster *k8sclient.ClusterAuthInfo // Permanent management cluster WorkloadClusters map[string]*k8sclient.ClusterAuthInfo // Map of workload clusters }
KubernetesClients represents a collection of Kubernetes clients for different clusters. ClusterAuthInfo contains REST Config and clientset. Clientset can't be easily used with custom resources and clients used by Cluster API and FluxCD TODO - review this sructure: maybe using only REST Config and building clientset dynamically when needed.
Click to show internal directories.
Click to hide internal directories.