change dashboardParameters signature after code review

Signed-off-by: Morgan Martinet <morgan.martinet@montreal.ca>
This commit is contained in:
Morgan Martinet
2021-12-27 22:40:46 -05:00
parent 4908fcf177
commit 669e73b87b
13 changed files with 139 additions and 18 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
```ts
import { Entity } from '@backstage/catalog-model';
import type { JsonObject } from '@backstage/types';
import { V1ConfigMap } from '@kubernetes/client-node';
import { V1CronJob } from '@kubernetes/client-node';
import { V1Deployment } from '@kubernetes/client-node';
@@ -62,7 +63,7 @@ export interface ClientPodStatus {
// @public (undocumented)
export interface ClusterAttributes {
dashboardApp?: string;
dashboardParameters?: any;
dashboardParameters?: JsonObject;
dashboardUrl?: string;
name: string;
}
+2 -1
View File
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import type { JsonObject } from '@backstage/types';
import {
V1ConfigMap,
V1CronJob,
@@ -69,7 +70,7 @@ export interface ClusterAttributes {
* Specifies specific parameters used by some dashboard URL formatters.
* This is used by the GKE formatter which requires the project, region and cluster name.
*/
dashboardParameters?: any;
dashboardParameters?: JsonObject;
}
export interface ClusterObjects {