manager_default.go 696 B

123456789101112131415161718192021
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. //go:build (!linux || android) && !freebsd && !openbsd && !windows && !darwin && !illumos && !solaris && !plan9
  4. package dns
  5. import (
  6. "tailscale.com/control/controlknobs"
  7. "tailscale.com/health"
  8. "tailscale.com/types/logger"
  9. "tailscale.com/util/eventbus"
  10. "tailscale.com/util/syspolicy/policyclient"
  11. )
  12. // NewOSConfigurator creates a new OS configurator.
  13. //
  14. // The health tracker and the knobs may be nil and are ignored on this platform.
  15. func NewOSConfigurator(logger.Logf, *health.Tracker, *eventbus.Bus, policyclient.Client, *controlknobs.Knobs, string) (OSConfigurator, error) {
  16. return NewNoopManager()
  17. }