netbird/client/iface/mocks
Zoltan Papp fd67892cb4
[client] Refactor/iface pkg (#2646)
Refactor the flat code structure
2024-10-02 18:24:22 +02:00
..
iface/mocks [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
filter.go [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
README.md [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00
tun.go [client] Refactor/iface pkg (#2646) 2024-10-02 18:24:22 +02:00

Mocks

To generate (or refresh) mocks from iface package interfaces please install mockgen. Run this command to update PacketFilter mock:

mockgen -destination iface/mocks/filter.go -package mocks github.com/netbirdio/netbird/iface PacketFilter