mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 19:43:57 +01:00
27 lines
574 B
Go
27 lines
574 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() {
|
||
|
}
|
||
|
|
||
|
// NewFirewall returns an unimplemented Firewall manager
|
||
|
func NewFirewall(parentCtx context.Context) firewallManager {
|
||
|
return unimplementedFirewall{}
|
||
|
}
|