Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	FeatureMicrosoftHyperV    = "Microsoft-Hyper-V"
	FeatureMicrosoftHyperVAll = "Microsoft-Hyper-V-All"
)

Variables

This section is empty.

Functions

func QueryWithTimeout

func QueryWithTimeout(timeout time.Duration, query string, dst interface{}, connectServerArgs ...interface{}) error

Types

type FeatureInstallState

type FeatureInstallState uint32
const (
	FeatureInstallStateEnabled FeatureInstallState = iota + 1
	FeatureInstallStateDisabled
	FeatureInstallStateAbsent
	FeatureInstallStateUnknown
)

func CheckOptionalFeatureStatus

func CheckOptionalFeatureStatus(feature string) (FeatureInstallState, error)

func (FeatureInstallState) String

func (st FeatureInstallState) String() string

Source Files