// deployment-view/ServicesTab.tsx — 访问方式 Tab // Logan.Li import { Badge } from '@/components/ui/badge'; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '@/components/ui/table'; import { Network, ExternalLink, Loader2 } from 'lucide-react'; import type { SvcItem, IngItem } from './types'; export function ServicesTab({ services, ingresses, loading }: { services: SvcItem[]; ingresses: IngItem[]; loading: string; namespace: string }) { if (loading === 'services') { return
暂无匹配的 Service(Deployment 选择器未关联任何 Service)
) : (暂无匹配的 Ingress
) : (