constant

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Success      int32 = 0
	AsyncJob     int32 = 4096
	SystemInUse  int32 = 32775
	InvalidState int32 = 32773
	Generic      int32 = 32768
)
View Source
const (
	WBEM_E_NOT_FOUND     = 0x80041002
	WBEM_E_NOT_SUPPORTED = 0x8004100C
)

Constants for WMI OLE error codes

View Source
const (
	WmiMethodMaxRetries = 5
	WmiMethodRetryDelay = 500 * time.Millisecond
)

Constants for WMI method retries

View Source
const (
	HostName string = "localhost"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type WMINamespace

type WMINamespace string
const (
	Virtualization  WMINamespace = "root/virtualization/v2"
	CimV2           WMINamespace = "root/cimv2"
	StadardCimV2    WMINamespace = "root/standardcimv2"
	FailoverCluster WMINamespace = "root/mscluster"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL