Documentation
¶
Overview ¶
Package taskquery reads one fixed current-user Task Scheduler registration. It never establishes ownership, changes a task, or identifies a daemon PID.
Index ¶
Constants ¶
View Source
const ( Present = "present" // Absent is reserved until native GetTask missing-HRESULT contracts exist. // This version deliberately returns Unknown for every failed GetTask. Absent = "absent" Unknown = "unknown" )
Variables ¶
View Source
var ( ErrUnsupported = errors.New("taskquery requires Windows") ErrIdentity = errors.New("taskquery current identity is unverified or changed") ErrTrust = errors.New("taskquery system PowerShell trust could not be established") ErrTransport = errors.New("taskquery bridge execution failed; task state is unknown") ErrProtocol = errors.New("taskquery bridge response is invalid; task state is unknown") ErrNative = errors.New("taskquery native query failed; task state is unknown") ErrAbsenceUnverified = errors.New("taskquery missing HRESULT has no native contract yet; absence is unverified") )
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.