Move name constants to separate 'chains' package, to reduce dependencies
We don't want everyone that uses the `net` package to get a transitive dependency on the Kubernetes APIs required by `npc`.
This commit is contained in:
1 parent
9928ddb401
commit
a3c76e141b
8 files changed
+51
-43
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package chains
|
||||
|
||||
const (
|
||||
MainChain = "WEAVE-NPC"
|
||||
DefaultChain = "WEAVE-NPC-DEFAULT"
|
||||
IngressChain = "WEAVE-NPC-INGRESS"
|
||||
|
||||
EgressChain = "WEAVE-NPC-EGRESS"
|
||||
EgressDefaultChain = "WEAVE-NPC-EGRESS-DEFAULT"
|
||||
EgressCustomChain = "WEAVE-NPC-EGRESS-CUSTOM"
|
||||
EgressMarkChain = "WEAVE-NPC-EGRESS-ACCEPT"
|
||||
)
|
||||
Reference in new issue
Block a user