info_windows.go 888 B

1234567891011121314151617181920212223242526272829303132333435
  1. package daemon // import "github.com/docker/docker/daemon"
  2. import (
  3. "context"
  4. "github.com/docker/docker/api/types"
  5. "github.com/docker/docker/api/types/system"
  6. "github.com/docker/docker/daemon/config"
  7. "github.com/docker/docker/pkg/sysinfo"
  8. )
  9. // fillPlatformInfo fills the platform related info.
  10. func (daemon *Daemon) fillPlatformInfo(ctx context.Context, v *system.Info, sysInfo *sysinfo.SysInfo, cfg *configStore) error {
  11. return nil
  12. }
  13. func (daemon *Daemon) fillPlatformVersion(ctx context.Context, v *types.Version, cfg *configStore) error {
  14. return nil
  15. }
  16. func fillDriverWarnings(v *system.Info) {
  17. }
  18. func cgroupNamespacesEnabled(sysInfo *sysinfo.SysInfo, cfg *config.Config) bool {
  19. return false
  20. }
  21. // Rootless returns true if daemon is running in rootless mode
  22. func Rootless(*config.Config) bool {
  23. return false
  24. }
  25. func noNewPrivileges(*config.Config) bool {
  26. return false
  27. }