github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/engine/pkg/system/meminfo_unsupported.go (about)

     1  //go:build !linux && !windows
     2  // +build !linux,!windows
     3  
     4  package system // import "github.com/docker/docker/pkg/system"
     5  
     6  // ReadMemInfo is not supported on platforms other than linux and windows.
     7  func ReadMemInfo() (*MemInfo, error) {
     8  	return nil, ErrNotSupportedPlatform
     9  }