MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / Port

Method Port

agent/utils/firewall/client.go:28–28  ·  view source on GitHub ↗
(port client.FireInfo, operation string)

Source from the content-addressed store, hash-verified

26 ListAddress() ([]client.FireInfo, error)
27
28 Port(port client.FireInfo, operation string) error
29 RichRules(rule client.FireInfo, operation string) error
30 PortForward(info client.Forward, operation string) error
31

Callers 7

OperateFirewallPortFunction · 0.95
buildDownloadProxyURLFunction · 0.65
operatePortMethod · 0.65
addPortsBeforeStartMethod · 0.65
checkPortStatsFunction · 0.65
normalizeAllowedOriginFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected