@ricsam/r5d-api 0.0.50 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -218,7 +218,8 @@ class R5dctlClient {
218
218
  path: "/api/user/managed-vcluster/resource-history",
219
219
  query: {
220
220
  workloadUid: input.workloadUid,
221
- containerName: input.containerName
221
+ containerName: input.containerName,
222
+ window: input.window
222
223
  }
223
224
  })
224
225
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-api",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "type": "commonjs"
5
5
  }
@@ -194,7 +194,8 @@ class R5dctlClient {
194
194
  path: "/api/user/managed-vcluster/resource-history",
195
195
  query: {
196
196
  workloadUid: input.workloadUid,
197
- containerName: input.containerName
197
+ containerName: input.containerName,
198
+ window: input.window
198
199
  }
199
200
  })
200
201
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-api",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "type": "module"
5
5
  }
@@ -291,6 +291,7 @@ export type R5dctlK8sContainer = {
291
291
  pods: Array<R5dctlK8sUsage & {
292
292
  podUid: string;
293
293
  podName: string;
294
+ phase: string | null;
294
295
  }>;
295
296
  };
296
297
  export type R5dctlK8sWorkload = {
@@ -298,6 +299,8 @@ export type R5dctlK8sWorkload = {
298
299
  kind: "Deployment" | "StatefulSet" | "DaemonSet" | "CronJob" | "ReplicaSet" | "Job" | "Pod";
299
300
  namespace: string;
300
301
  name: string;
302
+ replicas: number;
303
+ readyReplicas: number;
301
304
  containers: R5dctlK8sContainer[];
302
305
  };
303
306
  export type R5dctlK8sResources = {
@@ -414,6 +417,7 @@ export declare class R5dctlClient {
414
417
  resourceHistory: (input: {
415
418
  workloadUid: string;
416
419
  containerName: string;
420
+ window?: "24h" | "7d";
417
421
  }) => Promise<R5dctlK8sResourceHistory>;
418
422
  };
419
423
  readonly projects: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-api",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/index.cjs",
6
6
  "module": "./dist/mjs/index.mjs",