github.com/moby/docker@v26.1.3+incompatible/pkg/meminfo/meminfo_unsupported.go (about)

     1  //go:build !linux && !windows
     2  
     3  package meminfo
     4  
     5  import "errors"
     6  
     7  // readMemInfo is not supported on platforms other than linux and windows.
     8  func readMemInfo() (*Memory, error) {
     9  	return nil, errors.New("platform and architecture is not supported")
    10  }