MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / pushCmd

Method pushCmd

internal/firewalls/firewall_firewalld.go:219–225  ·  view source on GitHub ↗
(cmd *executils.Cmd, denyIP string)

Source from the content-addressed store, hash-verified

217}
218
219func (this *Firewalld) pushCmd(cmd *executils.Cmd, denyIP string) {
220 select {
221 case this.cmdQueue <- &firewalldCmd{cmd: cmd, denyIP: denyIP}:
222 default:
223 // we discard the command
224 }
225}

Callers 7

AllowPortMethod · 0.95
RemovePortMethod · 0.95
RejectSourceIPMethod · 0.95
DropSourceIPMethod · 0.95
RemoveSourceIPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected