github.com/toplink-cn/moby@v0.0.0-20240305205811-460b4aebdf81/daemon/info_windows.go (about) 1 package daemon // import "github.com/docker/docker/daemon" 2 3 import ( 4 "context" 5 6 "github.com/docker/docker/api/types" 7 "github.com/docker/docker/api/types/system" 8 "github.com/docker/docker/daemon/config" 9 "github.com/docker/docker/pkg/sysinfo" 10 ) 11 12 // fillPlatformInfo fills the platform related info. 13 func (daemon *Daemon) fillPlatformInfo(ctx context.Context, v *system.Info, sysInfo *sysinfo.SysInfo, cfg *configStore) error { 14 return nil 15 } 16 17 func (daemon *Daemon) fillPlatformVersion(ctx context.Context, v *types.Version, cfg *configStore) error { 18 return nil 19 } 20 21 func fillDriverWarnings(v *system.Info) { 22 } 23 24 func cgroupNamespacesEnabled(sysInfo *sysinfo.SysInfo, cfg *config.Config) bool { 25 return false 26 } 27 28 // Rootless returns true if daemon is running in rootless mode 29 func Rootless(*config.Config) bool { 30 return false 31 } 32 33 func noNewPrivileges(*config.Config) bool { 34 return false 35 }