open-nomad/vendor/github.com/shirou/gopsutil/mem/mem_fallback.go
James Nugent 9514c324f8 deps: Update github.com/shirou/gopsutil/...
This adds support for Illumos for memory and host information, which
allows the fingerprinting tests to pass. It also contains fixes for
FreeBSD.
2017-03-15 18:18:39 -05:00

14 lines
315 B
Go

// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
package mem
import "github.com/shirou/gopsutil/internal/common"
func VirtualMemory() (*VirtualMemoryStat, error) {
return nil, common.ErrNotImplementedError
}
func SwapMemory() (*SwapMemoryStat, error) {
return nil, common.ErrNotImplementedError
}