mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-27 09:09:00 +01:00
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{}
|
||
|
}
|