2018-10-19 18:33:23 +00:00
|
|
|
// +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
|
2017-02-01 18:26:00 +00:00
|
|
|
|
|
|
|
package host
|
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/shirou/gopsutil/internal/common"
|
|
|
|
)
|
2017-02-01 18:26:00 +00:00
|
|
|
|
2020-10-07 18:52:50 +00:00
|
|
|
func HostIDWithContext(ctx context.Context) (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
2017-02-01 18:26:00 +00:00
|
|
|
}
|
|
|
|
|
2020-10-07 18:52:50 +00:00
|
|
|
func numProcs(ctx context.Context) (uint64, error) {
|
|
|
|
return 0, common.ErrNotImplementedError
|
2018-10-19 18:33:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func BootTimeWithContext(ctx context.Context) (uint64, error) {
|
2017-02-01 18:26:00 +00:00
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
func UptimeWithContext(ctx context.Context) (uint64, error) {
|
2017-02-01 18:26:00 +00:00
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
func UsersWithContext(ctx context.Context) ([]UserStat, error) {
|
2017-02-01 18:26:00 +00:00
|
|
|
return []UserStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
2018-10-19 18:33:23 +00:00
|
|
|
|
|
|
|
func VirtualizationWithContext(ctx context.Context) (string, string, error) {
|
|
|
|
return "", "", common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func KernelVersionWithContext(ctx context.Context) (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func PlatformInformationWithContext(ctx context.Context) (string, string, string, error) {
|
|
|
|
return "", "", "", common.ErrNotImplementedError
|
|
|
|
}
|
2020-10-07 18:52:50 +00:00
|
|
|
|
|
|
|
func SensorsTemperaturesWithContext(ctx context.Context) ([]TemperatureStat, error) {
|
|
|
|
return []TemperatureStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func KernelArch() (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|