package windows
import "github.com/elastic/go-sysinfo/providers/windows"
Package windows implements the HostProvider and ProcessProvider interfaces for providing information about Windows.
Index ¶
- Constants
- Variables
- func Architecture() (string, error)
- func BootTime() (time.Time, error)
- func KernelVersion() (string, error)
- func MachineID() (string, error)
- func NativeArchitecture() (string, error)
- func OperatingSystem() (*types.OSInfo, error)
Constants ¶
const ( // DeviceMup is the device used for unmounted network filesystems DeviceMup = "\\device\\mup" // LANManRedirector is an string that appears in mounted network filesystems LANManRedirector = "lanmanredirector" )
Variables ¶
var ( // ErrNoDevice is the error returned by DevicePathToDrivePath when // an invalid device-path is supplied. ErrNoDevice = errors.New("not a device path") // ErrDeviceNotFound is the error returned by DevicePathToDrivePath when // a path pointing to an unmapped device is passed. ErrDeviceNotFound = errors.New("logical device not found") )
Functions ¶
func Architecture ¶
func BootTime ¶
func KernelVersion ¶
func MachineID ¶
func NativeArchitecture ¶
func OperatingSystem ¶
Source Files ¶
arch_windows.go boottime_windows.go device_windows.go doc.go helpers_windows.go host_windows.go kernel_windows.go machineid_windows.go os_windows.go process_windows.go
- Version
- v1.15.3 (latest)
- Published
- Mar 28, 2025
- Platform
- windows/amd64
- Imports
- 16 packages
- Last checked
- 4 hours ago –
Tools for package owners.