|
|
|
@ -110,10 +110,7 @@ func PlatformInformation() (string, string, string, error) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func Virtualization() (string, string, error) {
|
|
|
|
|
system := ""
|
|
|
|
|
role := ""
|
|
|
|
|
|
|
|
|
|
return system, role, nil
|
|
|
|
|
return "", "", common.ErrNotImplementedError
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func Users() ([]UserStat, error) {
|
|
|
|
@ -158,3 +155,8 @@ func Users() ([]UserStat, error) {
|
|
|
|
|
func SensorsTemperatures() ([]TemperatureStat, error) {
|
|
|
|
|
return []TemperatureStat{}, common.ErrNotImplementedError
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func KernelVersion() (string, error) {
|
|
|
|
|
_, _, version, err := PlatformInformation()
|
|
|
|
|
return version, err
|
|
|
|
|
}
|
|
|
|
|