@daocloud-proto/kpanda 0.11.3-175 → 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.
|
@@ -76,6 +76,7 @@ export type ListClusterNamespacesRequest = {
|
|
|
76
76
|
labelSelector?: string
|
|
77
77
|
fieldSelector?: string
|
|
78
78
|
fuzzyName?: string
|
|
79
|
+
phase?: NamespacePhase
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
export type ListClusterNamespacesResponse = {
|
|
@@ -85,6 +86,7 @@ export type ListClusterNamespacesResponse = {
|
|
|
85
86
|
|
|
86
87
|
export type ListClusterNamespaceSummaryRequest = {
|
|
87
88
|
cluster?: string
|
|
89
|
+
phase?: NamespacePhase
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
export type ListClusterNamespaceSummaryResponse = {
|
|
@@ -95,6 +97,7 @@ export type ListClusterNamespaceSummaryResponse = {
|
|
|
95
97
|
export type NamespaceSummary = {
|
|
96
98
|
name?: string
|
|
97
99
|
cluster?: string
|
|
100
|
+
phase?: NamespacePhase
|
|
98
101
|
}
|
|
99
102
|
|
|
100
103
|
export type GetNamespaceJSONRequest = {
|
|
@@ -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> {
|