Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Info key constants for system information collection ArchitectureKey = "architecture" HostnameKey = "hostname" KernelKey = "kernel" // CPU info keys CPUCoresKey = "cpuCores" CPUProcessorsKey = "cpuProcessors" CPUModelKey = "cpuModel" // GPU info keys GPUKey = "gpu" // Memory info keys MemoryTotalKbKey = "memoryTotalKb" // Network info keys NetInterfaceDefaultKey = "netInterfaceDefault" NetIPDefaultKey = "netIpDefault" NetMACDefaultKey = "netMacDefault" // BIOS info keys BIOSVendorKey = "biosVendor" BIOSVersionKey = "biosVersion" // System info keys ProductNameKey = "productName" ProductUUIDKey = "productUuid" ProductSerialKey = "productSerial" // Distribution info keys DistroNameKey = "distroName" DistroVersionKey = "distroVersion" // Identity / security (runtime/conditional collectors) ManagementCertNotAfterKey = "managementCertNotAfter" ManagementCertSerialKey = "managementCertSerial" TPMVendorInfoKey = "tpmVendorInfo" )
Variables ¶
This section is empty.
Functions ¶
func BuiltInKeys ¶
func BuiltInKeys() []string
BuiltInKeys returns the list of built-in system-info keys.
func IsBuiltInKey ¶
IsBuiltInKey reports whether the key corresponds to a built-in collector.
func IsKnownKey ¶
IsKnownKey reports whether the key is supported by the agent.
func RuntimeKeys ¶
func RuntimeKeys() []string
RuntimeKeys returns the list of runtime / conditional system-info keys.
Types ¶
Click to show internal directories.
Click to hide internal directories.