@daocloud-proto/kpanda 0.9.5-10 → 0.9.5-18

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.
@@ -22,6 +22,8 @@ export enum PodStatusOwnedByKind {
22
22
  STATEFULSET = "STATEFULSET",
23
23
  DAEMONSET = "DAEMONSET",
24
24
  REPLICASET = "REPLICASET",
25
+ JOB = "JOB",
26
+ CRONJOB = "CRONJOB",
25
27
  }
26
28
 
27
29
  export enum ContainerStatusPhase {
@@ -66,4 +66,13 @@ export type ListGroupsResponse = {
66
66
  export type Group = {
67
67
  id?: string
68
68
  name?: string
69
+ }
70
+
71
+ export type ListAdminClusterSummaryRequest = {
72
+ user?: string
73
+ userGroup?: string[]
74
+ }
75
+
76
+ export type ListAdminClusterSummaryResponse = {
77
+ clusters?: string[]
69
78
  }
@@ -554,6 +554,9 @@ export class RBAC {
554
554
  static ListAllUserRoleSummary(req: KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryResponse> {
555
555
  return fm.fetchReq<KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryRequest, KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryResponse>(`/apis/kpanda.io/v1alpha1/rolesummary?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
556
556
  }
557
+ static ListAdminClusterSummary(req: KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryResponse> {
558
+ return fm.fetchReq<KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryRequest, KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryResponse>(`/apis/kpanda.io/v1alpha1/admincluster?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
559
+ }
557
560
  }
558
561
  export class Autoscaling {
559
562
  static ListHorizontalPodAutoscalers(req: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.ListHorizontalPodAutoscalersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.ListHorizontalPodAutoscalersResponse> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.9.5-10",
3
+ "version":"0.9.5-18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {