mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-26 16:49:10 +01:00
1012172f04
Handle routes updates from management Manage routing firewall rules Manage peer RIB table Add get peer and get notification channel from the status recorder Update interface peers allowed IPs
28 lines
582 B
Go
28 lines
582 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package routemanager
|
|
|
|
import "context"
|
|
|
|
type unimplementedFirewall struct{}
|
|
|
|
func (unimplementedFirewall) RestoreOrCreateContainers() error {
|
|
return nil
|
|
}
|
|
func (unimplementedFirewall) InsertRoutingRules(pair routerPair) error {
|
|
return nil
|
|
}
|
|
func (unimplementedFirewall) RemoveRoutingRules(pair routerPair) error {
|
|
return nil
|
|
}
|
|
|
|
func (unimplementedFirewall) CleanRoutingRules() {
|
|
return
|
|
}
|
|
|
|
// NewFirewall returns an unimplemented Firewall manager
|
|
func NewFirewall(parentCtx context.Context) firewallManager {
|
|
return unimplementedFirewall{}
|
|
}
|