2017-03-15 01:11:30 +08:00
|
|
|
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
|
2016-08-23 06:31:26 +08:00
|
|
|
|
|
|
|
package host
|
|
|
|
|
2017-12-31 14:25:49 +08:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/shirou/gopsutil/internal/common"
|
|
|
|
)
|
2016-08-23 06:31:26 +08:00
|
|
|
|
2020-09-11 19:51:20 +08:00
|
|
|
func HostIDWithContext(ctx context.Context) (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
2016-08-23 06:31:26 +08:00
|
|
|
}
|
|
|
|
|
2020-09-11 19:51:20 +08:00
|
|
|
func numProcs(ctx context.Context) (uint64, error) {
|
|
|
|
return 0, common.ErrNotImplementedError
|
2017-12-31 14:25:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func BootTimeWithContext(ctx context.Context) (uint64, error) {
|
2016-08-23 06:31:26 +08:00
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2017-12-31 14:25:49 +08:00
|
|
|
func UptimeWithContext(ctx context.Context) (uint64, error) {
|
2016-08-23 06:31:26 +08:00
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2017-12-31 14:25:49 +08:00
|
|
|
func UsersWithContext(ctx context.Context) ([]UserStat, error) {
|
2016-08-23 06:31:26 +08:00
|
|
|
return []UserStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
2017-08-03 10:08:35 +08:00
|
|
|
|
2017-12-31 14:25:49 +08:00
|
|
|
func VirtualizationWithContext(ctx context.Context) (string, string, error) {
|
2017-08-03 10:08:35 +08:00
|
|
|
return "", "", common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2017-12-31 14:25:49 +08:00
|
|
|
func KernelVersionWithContext(ctx context.Context) (string, error) {
|
2017-08-03 10:08:35 +08:00
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|
2018-03-24 14:57:29 +08:00
|
|
|
|
|
|
|
func PlatformInformationWithContext(ctx context.Context) (string, string, string, error) {
|
|
|
|
return "", "", "", common.ErrNotImplementedError
|
|
|
|
}
|
2020-09-11 19:51:20 +08:00
|
|
|
|
|
|
|
func SensorsTemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
|
|
|
|
return []TemperatureStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func KernelArch() (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|