mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Report FirewallBackend in "docker info". It's currently "iptables" or "iptables+firewalld" on Linux, and omitted on Windows. Signed-off-by: Rob Murray <rob.murray@docker.com>
20 lines
448 B
Go
20 lines
448 B
Go
//go:build !linux
|
|
|
|
package libnetwork
|
|
|
|
import "github.com/docker/docker/api/types/system"
|
|
|
|
// FirewallBackend returns the name of the firewall backend for "docker info".
|
|
func (c *Controller) FirewallBackend() *system.FirewallInfo {
|
|
return nil
|
|
}
|
|
|
|
// enabledIptablesVersions is a no-op on non-Linux systems.
|
|
func (c *Controller) enabledIptablesVersions() []any {
|
|
return nil
|
|
}
|
|
|
|
func (c *Controller) setupOSLSandbox(_ *Sandbox) error {
|
|
return nil
|
|
}
|