Error loading load balancers.
+
+ return (
+
+
+
Load Balancers
+
+
+
+
+ setFilter(e.target.value)}
+ placeholder="Search load balancers"
+ className="w-64 pl-8"
+ />
+
+
+
+
+
+
+
+
+
+
+
+ Name
+ Kind
+ Public IP / Hostname
+ Private IP / Hostname
+ Summary
+ Actions
+
+
+
+ {filtered.map((lb: DtoLoadBalancerResponse) => (
+
+ {lb.name}
+ {lb.kind}
+ {lb.public_ip_address}
+ {lb.private_ip_address}
+
+
+
+ {lb.id && (
+
+ {truncateMiddle(lb.id, 6)}
+
+ )}
+
+
+
+
+
+
+
+
+
+ ))}
+
+ {filtered.length === 0 && (
+
+
+
+ No load balancers match your search.
+
+
+ )}
+
+
+
+
+
+ {/* Update dialog */}
+
+
+ {/* Delete confirm dialog */}
+
+
+ )
+}
diff --git a/ui/src/sdkClient.ts b/ui/src/sdkClient.ts
index 12e0ff4..aa1bc4a 100644
--- a/ui/src/sdkClient.ts
+++ b/ui/src/sdkClient.ts
@@ -4,10 +4,12 @@ import {
AnnotationsApi,
ArcherAdminApi,
AuthApi,
+ ClustersApi,
Configuration,
CredentialsApi,
DNSApi,
LabelsApi,
+ LoadBalancersApi,
MeApi,
MeAPIKeysApi,
MetaApi,
@@ -122,4 +124,12 @@ export function makeCredentialsApi() {
export function makeDnsApi() {
return makeApiClient(DNSApi)
+}
+
+export function makeLoadBalancerApi() {
+ return makeApiClient(LoadBalancersApi)
+}
+
+export function makeClusterApi() {
+ return makeApiClient(ClustersApi)
}
\ No newline at end of file