@daocloud-proto/kpanda 0.9.5-4 → 0.9.5-40
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.
|
@@ -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> {
|