@daocloud-proto/kpanda 0.31.0-rc2-dev-ec0412c6 → 0.31.0-rc2-dev-ca4ebb4d
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.
|
@@ -31,4 +31,10 @@ export type ListMetallbIPPoolRequest = {
|
|
|
31
31
|
export type ListMetallbIPPoolResponse = {
|
|
32
32
|
items?: MetallbIPPool[]
|
|
33
33
|
pagination?: KpandaIoApiTypesPage.Pagination
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type ValidateMetallbSharedIPPortConflictRequest = {
|
|
37
|
+
cluster?: string
|
|
38
|
+
sharedLoadBalancerIP?: string
|
|
39
|
+
servicePorts?: number[]
|
|
34
40
|
}
|
|
@@ -689,6 +689,9 @@ export class Networking {
|
|
|
689
689
|
static ListMetallbIPAddressPools(req: KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse> {
|
|
690
690
|
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolRequest, KpandaIoApiNetworkingV1alpha1Metallb.ListMetallbIPPoolResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/metallb/ippools?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
691
691
|
}
|
|
692
|
+
static ValidateMetallbSharedIPPortConflict(req: KpandaIoApiNetworkingV1alpha1Metallb.ValidateMetallbSharedIPPortConflictRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
693
|
+
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Metallb.ValidateMetallbSharedIPPortConflictRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/metallb/check-serviceports`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
694
|
+
}
|
|
692
695
|
static ListClusterNetworkPolicies(req: KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesResponse> {
|
|
693
696
|
return fm.fetchReq<KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesRequest, KpandaIoApiNetworkingV1alpha1Networkpolicy.ListClusterNetworkPoliciesResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/networkpolicies?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
|
|
694
697
|
}
|