add title field to ClusterDetails

Signed-off-by: Jamie Klassen <jamie.klassen@broadcom.com>
This commit is contained in:
Jamie Klassen
2024-01-22 10:41:29 -05:00
parent 52941b2639
commit 043cf88a63
3 changed files with 12 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-kubernetes-node': patch
---
The `ClusterDetails` type now has a `title` field, which should be a
human-readable name.
+1
View File
@@ -51,6 +51,7 @@ export interface ClusterDetails {
skipMetricsLookup?: boolean;
// (undocumented)
skipTLSVerify?: boolean;
title?: string;
// (undocumented)
url: string;
}
+5 -1
View File
@@ -67,9 +67,13 @@ export type AuthMetadata = Record<string, string>;
*/
export interface ClusterDetails {
/**
* Specifies the name of the Kubernetes cluster.
* Name of the Kubernetes cluster; used as an internal identifier.
*/
name: string;
/**
* Human-readable name for the cluster, to be dispayed in UIs.
*/
title?: string;
url: string;
authMetadata: AuthMetadata;
skipTLSVerify?: boolean;