cannot use brLink as type *netlink.Bridge
Closed this issue · 2 comments
jonassteinberg1 commented
# from kind-networking-plugins/multicluster
go build
# github.com/aojea/kind-networking-plugins/pkg/network
../pkg/network/network.go:34:30: cannot use brLink (type netlink.Link) as type *netlink.Bridge in argument to netlink.LinkSetMaster: need type assertion
# github.com/aojea/kind-networking-plugins/pkg/docker
../pkg/docker/network.go:86:15: undefined: netlink.VethPeerIndex
../pkg/docker/network.go:146:9: undefined: netlink.RouteReplace
go 1.16.3
MacOS
fbalicchia commented
Hi there @jonassteinberg1,
netlink
and netns
are implemented to run only for linux box. I'm experiencing in the same problem I'll try to figure out if cross compile works
aojea commented
yep, I've updated the readme to mention that