@daocloud-proto/kpanda 0.11.3-7 → 0.11.3-73

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.
@@ -97,6 +97,7 @@ export type ListDaemonSetsRequest = {
97
97
  sortDir?: KpandaIoApiTypesPage.SortDir
98
98
  labelSelector?: string
99
99
  fieldSelector?: string
100
+ fuzzyName?: string
100
101
  }
101
102
 
102
103
  export type ListClusterDaemonSetsRequest = {
@@ -109,6 +110,7 @@ export type ListClusterDaemonSetsRequest = {
109
110
  sortDir?: KpandaIoApiTypesPage.SortDir
110
111
  labelSelector?: string
111
112
  fieldSelector?: string
113
+ fuzzyName?: string
112
114
  }
113
115
 
114
116
  export type PatchDaemonSetRequest = {
@@ -105,6 +105,7 @@ export type ListDeploymentsRequest = {
105
105
  sortDir?: KpandaIoApiTypesPage.SortDir
106
106
  labelSelector?: string
107
107
  fieldSelector?: string
108
+ fuzzyName?: string
108
109
  }
109
110
 
110
111
  export type ListClusterDeploymentsRequest = {
@@ -117,6 +118,7 @@ export type ListClusterDeploymentsRequest = {
117
118
  sortDir?: KpandaIoApiTypesPage.SortDir
118
119
  labelSelector?: string
119
120
  fieldSelector?: string
121
+ fuzzyName?: string
120
122
  }
121
123
 
122
124
  export type PatchDeploymentRequest = {
@@ -43,6 +43,23 @@ export type ReplicaSetCondition = {
43
43
  message?: string
44
44
  }
45
45
 
46
+ export type ListClusterReplicaSetsRequest = {
47
+ cluster?: string
48
+ page?: number
49
+ pageSize?: number
50
+ sortBy?: KpandaIoApiTypesPage.SortBy
51
+ sortDir?: KpandaIoApiTypesPage.SortDir
52
+ name?: string
53
+ fuzzyName?: string
54
+ labelSelector?: string
55
+ fieldSelector?: string
56
+ }
57
+
58
+ export type ListClusterReplicaSetsResponse = {
59
+ items?: ReplicaSet[]
60
+ pagination?: KpandaIoApiTypesPage.Pagination
61
+ }
62
+
46
63
  export type ListReplicaSetsRequest = {
47
64
  cluster?: string
48
65
  namespace?: string
@@ -55,9 +72,43 @@ export type ListReplicaSetsRequest = {
55
72
  pageSize?: number
56
73
  labelSelector?: string
57
74
  fieldSelector?: string
75
+ fuzzyName?: string
58
76
  }
59
77
 
60
78
  export type ListReplicaSetsResponse = {
61
79
  items?: ReplicaSet[]
62
80
  pagination?: KpandaIoApiTypesPage.Pagination
81
+ }
82
+
83
+ export type GetReplicaSetRequest = {
84
+ cluster?: string
85
+ namespace?: string
86
+ name?: string
87
+ }
88
+
89
+ export type GetReplicaSetJSONRequest = {
90
+ cluster?: string
91
+ namespace?: string
92
+ name?: string
93
+ }
94
+
95
+ export type GetReplicaSetJSONResponse = {
96
+ data?: string
97
+ }
98
+
99
+ export type UpdateReplicaSetRequest = {
100
+ cluster?: string
101
+ namespace?: string
102
+ name?: string
103
+ data?: string
104
+ }
105
+
106
+ export type UpdateReplicaSetResponse = {
107
+ data?: string
108
+ }
109
+
110
+ export type DeleteReplicaSetRequest = {
111
+ cluster?: string
112
+ namespace?: string
113
+ name?: string
63
114
  }
@@ -109,6 +109,7 @@ export type ListStatefulSetsRequest = {
109
109
  sortDir?: KpandaIoApiTypesPage.SortDir
110
110
  labelSelector?: string
111
111
  fieldSelector?: string
112
+ fuzzyName?: string
112
113
  }
113
114
 
114
115
  export type ListClusterStatefulSetsRequest = {
@@ -121,6 +122,7 @@ export type ListClusterStatefulSetsRequest = {
121
122
  sortDir?: KpandaIoApiTypesPage.SortDir
122
123
  labelSelector?: string
123
124
  fieldSelector?: string
125
+ fuzzyName?: string
124
126
  }
125
127
 
126
128
  export type PatchStatefulSetRequest = {
@@ -23,6 +23,7 @@ export enum ListEventsRequestKind {
23
23
  Job = "Job",
24
24
  CronJob = "CronJob",
25
25
  HorizontalPodAutoscaler = "HorizontalPodAutoscaler",
26
+ ReplicaSet = "ReplicaSet",
26
27
  }
27
28
 
28
29
  export type Event = {
@@ -477,6 +477,7 @@ export type ListPodsRequest = {
477
477
  sortDir?: KpandaIoApiTypesPage.SortDir
478
478
  labelSelector?: string
479
479
  fieldSelector?: string
480
+ fuzzyName?: string
480
481
  }
481
482
 
482
483
  export type ListClusterPodsRequest = {
@@ -490,6 +491,7 @@ export type ListClusterPodsRequest = {
490
491
  sortDir?: KpandaIoApiTypesPage.SortDir
491
492
  labelSelector?: string
492
493
  fieldSelector?: string
494
+ fuzzyName?: string
493
495
  }
494
496
 
495
497
  export type ListAllPodsRequest = {
@@ -81,6 +81,7 @@ export type ListClusterServicesRequest = {
81
81
  type?: ServiceType[]
82
82
  labelSelector?: string
83
83
  fieldSelector?: string
84
+ fuzzyName?: string
84
85
  }
85
86
 
86
87
  export type ListClusterServicesResponse = {
@@ -101,6 +102,7 @@ export type ListServicesRequest = {
101
102
  type?: ServiceType[]
102
103
  labelSelector?: string
103
104
  fieldSelector?: string
105
+ fuzzyName?: string
104
106
  }
105
107
 
106
108
  export type ListServicesResponse = {
@@ -31,12 +31,4 @@ export type UnbindResourceFromWorkspaceRequest = {
31
31
  }
32
32
 
33
33
  export type UnbindResourceFromWorkspaceResponse = {
34
- }
35
-
36
- export type AddNamespaceToGProductRequest = {
37
- cluster?: string
38
- name?: string
39
- }
40
-
41
- export type AddNamespaceToGProductResponse = {
42
34
  }
@@ -96,6 +96,7 @@ export type ListClusterIngressesRequest = {
96
96
  name?: string
97
97
  labelSelector?: string
98
98
  fieldSelector?: string
99
+ fuzzyName?: string
99
100
  }
100
101
 
101
102
  export type ListClusterIngressesResponse = {
@@ -113,6 +114,7 @@ export type ListIngressesRequest = {
113
114
  name?: string
114
115
  labelSelector?: string
115
116
  fieldSelector?: string
117
+ fuzzyName?: string
116
118
  }
117
119
 
118
120
  export type ListIngressesResponse = {
@@ -45,11 +45,11 @@ export type NetworkPolicyPort = {
45
45
  export type NetworkPolicyPeer = {
46
46
  podSelector?: KpandaIoApiTypesObjectmeta.LabelSelector
47
47
  namespaceSelector?: KpandaIoApiTypesObjectmeta.LabelSelector
48
- iPBlock?: IPBlock
48
+ ipBlock?: IPBlock
49
49
  }
50
50
 
51
51
  export type IPBlock = {
52
- cIDR?: string
52
+ cidr?: string
53
53
  except?: string[]
54
54
  }
55
55
 
@@ -135,9 +135,24 @@ export class Apps {
135
135
  static RollbackDeployment(req: KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.RollbackDeploymentResponse> {
136
136
  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
137
  }
138
+ static ListClusterReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse> {
139
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsRequest, KpandaIoApiAppsV1alpha1Replicaset.ListClusterReplicaSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/replicasets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
140
+ }
138
141
  static ListReplicaSets(req: KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ListReplicaSetsResponse> {
139
142
  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
143
  }
144
+ static GetReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.ReplicaSet> {
145
+ 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"})
146
+ }
147
+ static GetReplicaSetJSON(req: KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.GetReplicaSetJSONResponse> {
148
+ 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"})
149
+ }
150
+ static UpdateReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Replicaset.UpdateReplicaSetResponse> {
151
+ 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)})
152
+ }
153
+ static DeleteReplicaSet(req: KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
154
+ return fm.fetchReq<KpandaIoApiAppsV1alpha1Replicaset.DeleteReplicaSetRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/replicasets/${req["name"]}`, {...initReq, method: "DELETE"})
155
+ }
141
156
  static ListClusterStatefulSets(req: KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse> {
142
157
  return fm.fetchReq<KpandaIoApiAppsV1alpha1Statefulset.ListClusterStatefulSetsRequest, KpandaIoApiAppsV1alpha1Statefulset.ListStatefulSetsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/statefulsets?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
143
158
  }
@@ -692,9 +707,6 @@ export class Workspace {
692
707
  static UnbindResourceFromWorkspace(req: KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceResponse> {
693
708
  return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceRequest, KpandaIoApiGhippoV1alpha1Workspace.UnbindResourceFromWorkspaceResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}:unbind`, {...initReq, method: "DELETE"})
694
709
  }
695
- static AddNamespaceToGProduct(req: KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductRequest, initReq?: fm.InitReq): Promise<KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductResponse> {
696
- return fm.fetchReq<KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductRequest, KpandaIoApiGhippoV1alpha1Workspace.AddNamespaceToGProductResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["name"]}:add`, {...initReq, method: "POST", body: JSON.stringify(req)})
697
- }
698
710
  }
699
711
  export class ClusterSetting {
700
712
  static GetClusterSetting(req: KpandaIoApiClustersettingV1alpha1Clustersetting.GetClusterSettingRequest, initReq?: fm.InitReq): Promise<KpandaIoApiClustersettingV1alpha1Clustersetting.ClusterSetting> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.11.3-7",
3
+ "version":"0.11.3-73",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {