@daocloud-proto/kpanda 0.11.3-31 → 0.11.3-310

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.
Files changed (35) hide show
  1. package/kpanda.io/api/addon/v1alpha1/helmchart.pb.ts +13 -0
  2. package/kpanda.io/api/addon/v1alpha1/helmoperation.pb.ts +2 -0
  3. package/kpanda.io/api/addon/v1alpha1/helmrelease.pb.ts +3 -0
  4. package/kpanda.io/api/addon/v1alpha1/helmrepo.pb.ts +2 -0
  5. package/kpanda.io/api/apiextensions/v1alpha1/custom_resource_definition.pb.ts +12 -0
  6. package/kpanda.io/api/apps/v1alpha1/daemonset.pb.ts +2 -0
  7. package/kpanda.io/api/apps/v1alpha1/deployment.pb.ts +2 -0
  8. package/kpanda.io/api/apps/v1alpha1/replicaset.pb.ts +51 -0
  9. package/kpanda.io/api/apps/v1alpha1/request.pb.ts +1 -0
  10. package/kpanda.io/api/apps/v1alpha1/statefulset.pb.ts +2 -0
  11. package/kpanda.io/api/autoscaling/v1alpha1/cronhorizontalpodautoscaler.pb.ts +111 -0
  12. package/kpanda.io/api/autoscaling/v1alpha1/horizontalpodautoscaler.pb.ts +109 -2
  13. package/kpanda.io/api/autoscaling/v1alpha1/verticalpodautoscaler.pb.ts +164 -0
  14. package/kpanda.io/api/batch/v1alpha1/cronjob.pb.ts +1 -0
  15. package/kpanda.io/api/batch/v1alpha1/job.pb.ts +1 -0
  16. package/kpanda.io/api/cloudshell/v1alpha1/cloudshell.pb.ts +1 -0
  17. package/kpanda.io/api/clusterlcm/v1alpha1/clusterlcm.pb.ts +27 -20
  18. package/kpanda.io/api/clusters/v1alpha1/cluster.pb.ts +3 -0
  19. package/kpanda.io/api/clustersetting/v1alpha1/clustersetting.pb.ts +4 -0
  20. package/kpanda.io/api/core/v1alpha1/configmap.pb.ts +2 -0
  21. package/kpanda.io/api/core/v1alpha1/event.pb.ts +2 -0
  22. package/kpanda.io/api/core/v1alpha1/limitrange.pb.ts +2 -0
  23. package/kpanda.io/api/core/v1alpha1/namespace.pb.ts +20 -2
  24. package/kpanda.io/api/core/v1alpha1/node.pb.ts +26 -0
  25. package/kpanda.io/api/core/v1alpha1/persistentvolumeclaim.pb.ts +2 -0
  26. package/kpanda.io/api/core/v1alpha1/pod.pb.ts +9 -0
  27. package/kpanda.io/api/core/v1alpha1/resourcequota.pb.ts +1 -0
  28. package/kpanda.io/api/core/v1alpha1/secret.pb.ts +2 -0
  29. package/kpanda.io/api/core/v1alpha1/service.pb.ts +2 -0
  30. package/kpanda.io/api/kangaroo/v1alpha1/image.pb.ts +97 -0
  31. package/kpanda.io/api/networking/v1alpha1/ingress.pb.ts +15 -0
  32. package/kpanda.io/api/networking/v1alpha1/metallb.pb.ts +0 -1
  33. package/kpanda.io/api/storage/v1alpha1/storageclass.pb.ts +1 -0
  34. package/kpanda.io/api/v1alpha1/kpanda.pb.ts +87 -1
  35. package/package.json +1 -1
@@ -17,8 +17,10 @@ import * as KpandaIoApiAppsV1alpha1Deployment from "../apps/v1alpha1/deployment.
17
17
  import * as KpandaIoApiAppsV1alpha1Replicaset from "../apps/v1alpha1/replicaset.pb"
18
18
  import * as KpandaIoApiAppsV1alpha1Request from "../apps/v1alpha1/request.pb"
19
19
  import * as KpandaIoApiAppsV1alpha1Statefulset from "../apps/v1alpha1/statefulset.pb"
20
+ import * as KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler from "../autoscaling/v1alpha1/cronhorizontalpodautoscaler.pb"
20
21
  import * as KpandaIoApiAutoscalingV1alpha1Custommetric from "../autoscaling/v1alpha1/custommetric.pb"
21
22
  import * as KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler from "../autoscaling/v1alpha1/horizontalpodautoscaler.pb"
23
+ import * as KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler from "../autoscaling/v1alpha1/verticalpodautoscaler.pb"
22
24
  import * as KpandaIoApiBatchV1alpha1Cronjob from "../batch/v1alpha1/cronjob.pb"
23
25
  import * as KpandaIoApiBatchV1alpha1Job from "../batch/v1alpha1/job.pb"
24
26
  import * as KpandaIoApiCloudshellV1alpha1Cloudshell from "../cloudshell/v1alpha1/cloudshell.pb"
@@ -38,6 +40,7 @@ import * as KpandaIoApiCoreV1alpha1Secret from "../core/v1alpha1/secret.pb"
38
40
  import * as KpandaIoApiCoreV1alpha1Service from "../core/v1alpha1/service.pb"
39
41
  import * as KpandaIoApiGhippoV1alpha1Workspace from "../ghippo/v1alpha1/workspace.pb"
40
42
  import * as KpandaIoApiInsightV1alpha1Insight from "../insight/v1alpha1/insight.pb"
43
+ import * as KpandaIoApiKangarooV1alpha1Image from "../kangaroo/v1alpha1/image.pb"
41
44
  import * as KpandaIoApiNetworkingV1alpha1Ingress from "../networking/v1alpha1/ingress.pb"
42
45
  import * as KpandaIoApiNetworkingV1alpha1Metallb from "../networking/v1alpha1/metallb.pb"
43
46
  import * as KpandaIoApiNetworkingV1alpha1Networkpolicy from "../networking/v1alpha1/networkpolicy.pb"
@@ -109,6 +112,9 @@ export class Apiextensions {
109
112
  static DeleteCustomResource(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.DeleteCustomResourceRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
110
113
  return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.DeleteCustomResourceRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/gvr/${req["group"]}/${req["version"]}/namespaces/${req["namespace"]}/${req["resource"]}/${req["name"]}`, {...initReq, method: "DELETE"})
111
114
  }
115
+ static CreateResource(req: KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceResponse> {
116
+ return fm.fetchReq<KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceRequest, KpandaIoApiApiextensionsV1alpha1Custom_resource_definition.CreateResourceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/resources`, {...initReq, method: "POST", body: JSON.stringify(req)})
117
+ }
112
118
  }
113
119
  export class Apps {
114
120
  static ListClusterDeployments(req: KpandaIoApiAppsV1alpha1Deployment.ListClusterDeploymentsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.ListDeploymentsResponse> {
@@ -135,9 +141,24 @@ export class Apps {
135
141
  static RollbackDeployment(req: KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentResponse> {
136
142
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentRequest, KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments/${req["name"]}:rollback`, {...initReq, method: "POST", body: JSON.stringify(req)})
137
143
  }
144
+ static ListClusterReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse> {
145
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/replicasets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
146
+ }
138
147
  static ListReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsResponse> {
139
148
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsRequest, KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
140
149
  }
150
+ static GetReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ReplicaSet> {
151
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetRequest, KpandaIoApiAppsV1alpha1Replicaset.ReplicaSet>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
152
+ }
153
+ static GetReplicaSetJSON(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONResponse> {
154
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONRequest, KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
155
+ }
156
+ static UpdateReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetResponse> {
157
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetRequest, KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
158
+ }
159
+ static DeleteReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
160
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}`, {...initReq, method: "DELETE"})
161
+ }
141
162
  static ListClusterStatefulSets(req: KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse> {
142
163
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/statefulsets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
143
164
  }
@@ -335,6 +356,12 @@ export class Core {
335
356
  static UnCordonNode(req: KpandaIoApiCoreV1alpha1Node.CordonNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.Node> {
336
357
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.CordonNodeRequest, KpandaIoApiCoreV1alpha1Node.Node>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes/${req["node"]}/uncordon`, {...initReq, method: "POST"})
337
358
  }
359
+ static BatchBindNodeToNamespace(req: KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceResponse> {
360
+ return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceRequest, KpandaIoApiCoreV1alpha1Node.BatchBindNodeToNamespaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes:batchBindNamespace`, {...initReq, method: "POST", body: JSON.stringify(req)})
361
+ }
362
+ static UnbindNodeToNamespace(req: KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceResponse> {
363
+ return fm.fetchReq<KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceRequest, KpandaIoApiCoreV1alpha1Node.UnbindNodeToNamespaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/nodes/${req["name"]}:unbindNamespace`, {...initReq, method: "POST", body: JSON.stringify(req)})
364
+ }
338
365
  static ListAllPods(req: KpandaIoApiCoreV1alpha1Pod.ListAllPodsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Pod.ListPodsResponse> {
339
366
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Pod.ListAllPodsRequest, KpandaIoApiCoreV1alpha1Pod.ListPodsResponse>(`/apis/kpanda.io/v1alpha1/asl/pods?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
340
367
  }
@@ -368,6 +395,9 @@ export class Core {
368
395
  static GetNamespaceJSON(req: KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONResponse> {
369
396
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONRequest, KpandaIoApiCoreV1alpha1Namespace.GetNamespaceJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
370
397
  }
398
+ static GetNamespace(req: KpandaIoApiCoreV1alpha1Namespace.GetNamespaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Namespace.Namespace> {
399
+ return fm.fetchReq<KpandaIoApiCoreV1alpha1Namespace.GetNamespaceRequest, KpandaIoApiCoreV1alpha1Namespace.Namespace>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
400
+ }
371
401
  static DeleteNamespace(req: KpandaIoApiCoreV1alpha1Namespace.DeleteNamespaceRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
372
402
  return fm.fetchReq<KpandaIoApiCoreV1alpha1Namespace.DeleteNamespaceRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}`, {...initReq, method: "DELETE"})
373
403
  }
@@ -554,7 +584,7 @@ export class Networking {
554
584
  return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Ingress.DeleteIngressRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/ingresses/${req["name"]}`, {...initReq, method: "DELETE"})
555
585
  }
556
586
  static ListMetallbIPAddressPools(req: KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse> {
557
- return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/metallb/ippools?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
587
+ return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/metallb/ippools?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
558
588
  }
559
589
  static ListClusterNetworkPolicies(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesResponse> {
560
590
  return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesRequest, KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/networkpolicies?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
@@ -577,6 +607,9 @@ export class Networking {
577
607
  static DeleteNetworkPolicy(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
578
608
  return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/networkpolicies/${req["name"]}`, {...initReq, method: "DELETE"})
579
609
  }
610
+ static ListIngressClassSummary(req: KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse> {
611
+ return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/ingressclasssummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
612
+ }
580
613
  }
581
614
  export class RBAC {
582
615
  static ListUsers(req: KpandaIoApiRbacV1alpha1Common.ListUsersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListUsersResponse> {
@@ -626,6 +659,36 @@ export class Autoscaling {
626
659
  static UpdateHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerResponse> {
627
660
  return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.UpdateHorizontalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/horizontalpodautoscalers/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
628
661
  }
662
+ static ListCronHorizontalPodAutoscalers(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersResponse> {
663
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.ListCronHorizontalPodAutoscalersResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
664
+ }
665
+ static GetCronHorizontalPodAutoscalerJSON(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONResponse> {
666
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.GetCronHorizontalPodAutoscalerJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
667
+ }
668
+ static DeleteCronHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.DeleteCronHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
669
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.DeleteCronHorizontalPodAutoscalerRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers/${req["name"]}`, {...initReq, method: "DELETE"})
670
+ }
671
+ static CreateCronHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerResponse> {
672
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.CreateCronHorizontalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers`, {...initReq, method: "POST", body: JSON.stringify(req)})
673
+ }
674
+ static UpdateCronHorizontalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerResponse> {
675
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Cronhorizontalpodautoscaler.UpdateCronHorizontalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/cronhorizontalpodautoscalers/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
676
+ }
677
+ static ListVerticalPodAutoscalers(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersResponse> {
678
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.ListVerticalPodAutoscalersResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"})
679
+ }
680
+ static GetVerticalPodAutoscalerJSON(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONResponse> {
681
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.GetVerticalPodAutoscalerJSONResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers/${req["name"]}/json?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
682
+ }
683
+ static CreateVerticalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerResponse> {
684
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.CreateVerticalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers`, {...initReq, method: "POST", body: JSON.stringify(req)})
685
+ }
686
+ static UpdateVerticalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerResponse> {
687
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerRequest, KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.UpdateVerticalPodAutoscalerResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
688
+ }
689
+ static DeleteVerticalPodAutoscaler(req: KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.DeleteVerticalPodAutoscalerRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
690
+ return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Verticalpodautoscaler.DeleteVerticalPodAutoscalerRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/verticalpodautoscalers/${req["name"]}`, {...initReq, method: "DELETE"})
691
+ }
629
692
  static ListCustomMetricSummary(req: KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryResponse> {
630
693
  return fm.fetchReq<KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryRequest, KpandaIoApiAutoscalingV1alpha1Custommetric.ListCustomMetricSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/custommetricsummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
631
694
  }
@@ -682,6 +745,23 @@ export class Registry {
682
745
  return fm.fetchReq<KpandaIoApiRegistryV1alpha1Registry.ListImageTagsRequest, KpandaIoApiRegistryV1alpha1Registry.ListImageTagsResponse>(`/apis/kpanda.io/v1alpha1/registry/tags?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
683
746
  }
684
747
  }
748
+ export class Image {
749
+ static DetectKangaroo(req: KpandaIoApiKangarooV1alpha1Image.DetectKangarooRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.DetectKangarooResponse> {
750
+ return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.DetectKangarooRequest, KpandaIoApiKangarooV1alpha1Image.DetectKangarooResponse>(`/apis/kpanda.io/v1alpha1/registries/kangaroo?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
751
+ }
752
+ static ListRegistries(req: KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse> {
753
+ return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRegistriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRegistriesResponse>(`/apis/kpanda.io/v1alpha1/registries?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
754
+ }
755
+ static ListProjects(req: KpandaIoApiKangarooV1alpha1Image.ListProjectsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListProjectsResponse> {
756
+ return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListProjectsRequest, KpandaIoApiKangarooV1alpha1Image.ListProjectsResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/projects?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
757
+ }
758
+ static ListRepositories(req: KpandaIoApiKangarooV1alpha1Image.ListRepositoriesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListRepositoriesResponse> {
759
+ return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListRepositoriesRequest, KpandaIoApiKangarooV1alpha1Image.ListRepositoriesResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/repositories?${fm.renderURLSearchParams(req, ["registry"])}`, {...initReq, method: "GET"})
760
+ }
761
+ static ListArtifacts(req: KpandaIoApiKangarooV1alpha1Image.ListArtifactsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiKangarooV1alpha1Image.ListArtifactsResponse> {
762
+ return fm.fetchReq<KpandaIoApiKangarooV1alpha1Image.ListArtifactsRequest, KpandaIoApiKangarooV1alpha1Image.ListArtifactsResponse>(`/apis/kpanda.io/v1alpha1/registries/${req["registry"]}/repositories/${req["repository"]}/artifacts?${fm.renderURLSearchParams(req, ["registry", "repository"])}`, {...initReq, method: "GET"})
763
+ }
764
+ }
685
765
  export class Workspace {
686
766
  static ListWorkspaces(req: KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesResponse> {
687
767
  return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesRequest, KpandaIoApiGhippoV1alpha1Workspace.ListWorkspacesResponse>(`/apis/kpanda.io/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
@@ -734,12 +814,18 @@ export class Clusterlcm {
734
814
  static ResetCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ResetClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
735
815
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ResetClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:reset`, {...initReq, method: "POST", body: JSON.stringify(req)})
736
816
  }
817
+ static CheckCluster(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterResponse> {
818
+ return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckClusterResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["name"]}:check`, {...initReq, method: "POST", body: JSON.stringify(req)})
819
+ }
737
820
  static RemoveNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.RemoveNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
738
821
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.RemoveNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes/${req["name"]}`, {...initReq, method: "DELETE"})
739
822
  }
740
823
  static BatchAddNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.BatchAddNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
741
824
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.BatchAddNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes`, {...initReq, method: "POST", body: JSON.stringify(req)})
742
825
  }
826
+ static CheckNode(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckNodeRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse> {
827
+ return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.CheckNodeRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ClusterlcmResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/nodes:check`, {...initReq, method: "POST", body: JSON.stringify(req)})
828
+ }
743
829
  static ListClusterlcmOps(req: KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsResponse> {
744
830
  return fm.fetchReq<KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsRequest, KpandaIoApiClusterlcmV1alpha1Clusterlcm.ListClusterlcmOpsResponse>(`/apis/kpanda.io/v1alpha1/cluster-lcm/${req["cluster"]}/ops?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
745
831
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.11.3-31",
3
+ "version":"0.11.3-310",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {