Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProjectDatabaseName defines database name for project metrics
ProjectDatabaseName = "projects"
)
Variables ¶
View Source
var ClusterNameToClient sync.Map
ClusterNameToClient mapping cluster to kubernetes client clusterName => kubernetes.Interface
View Source
var ClusterNameToMonitor sync.Map
ClusterNameToMonitor mapping cluster to monitoring client clusterName => monitoringclient.Clientset
Functions ¶
func FilterMeshManager ¶
func FilterMeshManager(ctx context.Context, meshmanager *mesh.MeshManager) error
FilterMeshManager is used to filter channels that do not belong to the tenant.
func GetClusterClient ¶
func GetClusterClient(ctx context.Context, clusterName string, platformClient platformversionedclient.PlatformV1Interface) (kubernetes.Interface, error)
GetClusterClient get kubernetes client via cluster name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.