streamlist show port forwaring
This commit is contained in:
@@ -122,7 +122,14 @@ def render_list():
|
||||
st.markdown(f"**Virtual Data Center ID:** `{pod['vdc_id']}`")
|
||||
st.markdown(f"**Region ID:** `{pod.get('region_id', 'N/A')}`")
|
||||
st.markdown(f"**NSController ID:** `{pod['nscontroller_workload_id']}`")
|
||||
st.markdown("---")
|
||||
|
||||
# Port Forwardings
|
||||
if 'port_forwardings' in pod and pod['port_forwardings']:
|
||||
st.markdown("🔁 **Port Forwarding:**")
|
||||
for pf in pod['port_forwardings']:
|
||||
st.text(f" {pf['protocol'].upper()} → {pf['external_port']} ↦ {pf['internal_port']}")
|
||||
else:
|
||||
st.text("No port forwardings")
|
||||
|
||||
# Container List
|
||||
for container in pod['containers']:
|
||||
|
||||
Reference in New Issue
Block a user