@daocloud-proto/kpanda 0.11.3-179 → 0.11.3-181

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.
@@ -175,4 +175,17 @@ export type DeleteIngressRequest = {
175
175
  cluster?: string
176
176
  namespace?: string
177
177
  name?: string
178
+ }
179
+
180
+ export type ListIngressClassSummaryRequest = {
181
+ cluster?: string
182
+ }
183
+
184
+ export type ListIngressClassSummaryResponse = {
185
+ items?: IngressClassSummary[]
186
+ }
187
+
188
+ export type IngressClassSummary = {
189
+ name?: string
190
+ isDefaultClass?: boolean
178
191
  }
@@ -596,6 +596,9 @@ export class Networking {
596
596
  static DeleteNetworkPolicy(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
597
597
  return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.DeleteNetworkPolicyRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/networkpolicies/${req["name"]}`, {...initReq, method: "DELETE"})
598
598
  }
599
+ static ListIngressClassSummary(req: KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse> {
600
+ return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryRequest, KpandaIoApiNetworkingV1alpha1Ingress.ListIngressClassSummaryResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/ingressclasssummary?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
601
+ }
599
602
  }
600
603
  export class RBAC {
601
604
  static ListUsers(req: KpandaIoApiRbacV1alpha1Common.ListUsersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListUsersResponse> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.11.3-179",
3
+ "version":"0.11.3-181",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {