Skip to content
SHC Docs

portmapping

Generated file. Do not edit by hand. Regenerate from the repo root with make docs/generate.

This page is generated from the ent schema and the migration head. The running unit is a deployment and the catalog thing is an app.

erDiagram
port_mapping {
int id PK
int deployment_id FK
int host_port UK
int container_port
string protocol UK
string service_name
string node_id UK
time created_at
time updated_at
}
port_mapping }o--|| deployment : deployment
columntypenullkey
idintnoPK
deployment_idintnoFK
host_portintnoUK
container_portintno
protocolstringnoUK
service_namestringyes
node_idstringyesUK
created_attimeno
updated_attimeno

no command writes this table (modules/backup/restore.go, modules/network/service.go)