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

Function TestTable_DeleteSet

internal/firewalls/nftables/table_test.go:126–133  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

124}
125
126func TestTable_DeleteSet(t *testing.T) {
127 var table = getIPv4Table(t)
128 err := table.DeleteSet("ipv4_black_set")
129 if err != nil {
130 t.Fatal(err)
131 }
132 t.Log("ok")
133}
134
135func TestTable_Flush(t *testing.T) {
136 var table = getIPv4Table(t)

Callers

nothing calls this directly

Calls 3

getIPv4TableFunction · 0.85
DeleteSetMethod · 0.80
LogMethod · 0.80

Tested by

no test coverage detected