2017-03-15 23:18:39 +00:00
|
|
|
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
|
2016-08-30 17:48:07 +00:00
|
|
|
|
|
|
|
package host
|
|
|
|
|
2018-03-06 00:52:43 +00:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2021-03-30 18:47:33 +00:00
|
|
|
"github.com/shirou/gopsutil/v3/internal/common"
|
2018-03-06 00:52:43 +00:00
|
|
|
)
|
2016-08-30 17:48:07 +00:00
|
|
|
|
2020-10-17 13:54:50 +00:00
|
|
|
func HostIDWithContext(ctx context.Context) (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
2016-08-30 17:48:07 +00:00
|
|
|
}
|
|
|
|
|
2020-10-17 13:54:50 +00:00
|
|
|
func numProcs(ctx context.Context) (uint64, error) {
|
|
|
|
return 0, common.ErrNotImplementedError
|
2018-03-06 00:52:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func BootTimeWithContext(ctx context.Context) (uint64, error) {
|
2016-08-30 17:48:07 +00:00
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-03-06 00:52:43 +00:00
|
|
|
func UptimeWithContext(ctx context.Context) (uint64, error) {
|
2016-08-30 17:48:07 +00:00
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-03-06 00:52:43 +00:00
|
|
|
func UsersWithContext(ctx context.Context) ([]UserStat, error) {
|
2016-08-30 17:48:07 +00:00
|
|
|
return []UserStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
2017-08-16 22:05:24 +00:00
|
|
|
|
2018-03-06 00:52:43 +00:00
|
|
|
func VirtualizationWithContext(ctx context.Context) (string, string, error) {
|
2017-08-16 22:05:24 +00:00
|
|
|
return "", "", common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-03-06 00:52:43 +00:00
|
|
|
func KernelVersionWithContext(ctx context.Context) (string, error) {
|
2017-08-16 22:05:24 +00:00
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|
2020-03-15 08:36:59 +00:00
|
|
|
|
|
|
|
func PlatformInformationWithContext(ctx context.Context) (string, string, string, error) {
|
|
|
|
return "", "", "", common.ErrNotImplementedError
|
|
|
|
}
|
2020-10-17 13:54:50 +00:00
|
|
|
|
|
|
|
func SensorsTemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
|
|
|
|
return []TemperatureStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func KernelArch() (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|