open-nomad/vendor/github.com/shirou/gopsutil/host/host_fallback.go

30 lines
632 B
Go
Raw Normal View History

// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
package host
import "github.com/shirou/gopsutil/internal/common"
func Info() (*InfoStat, error) {
return nil, common.ErrNotImplementedError
}
func BootTime() (uint64, error) {
return 0, common.ErrNotImplementedError
}
func Uptime() (uint64, error) {
return 0, common.ErrNotImplementedError
}
func Users() ([]UserStat, error) {
return []UserStat{}, common.ErrNotImplementedError
}
func Virtualization() (string, string, error) {
return "", "", common.ErrNotImplementedError
}
func KernelVersion() (string, error) {
return "", common.ErrNotImplementedError
}