Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunningBlockingApps ¶
RunningBlockingApps has no process snapshot off Windows.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker holds the run-scoped status state (K7: no cross-run package globals)
func (*Checker) CheckStatus ¶
func (c *Checker) CheckStatus(catalogItem catalog.Item, installType, cachePath string) (actionNeeded bool, checkErr error)
CheckStatus determines the method for checking status
func (*Checker) Invalidate ¶
func (c *Checker) Invalidate()
Invalidate drops the cached registry snapshot so the next registry check re-reads the registry. The installer calls it after every install or uninstall command, because those change the very keys the cache holds: without it, the prune of a self-serve uninstall that just succeeded still saw the item as installed and kept it in managed_uninstalls.
type RegistryApplication ¶
type RegistryApplication struct {
Key string
Location string
Name string
Source string
Uninstall string
Version string
}
RegistryApplication contains attributes for an installed application
type WindowsMetadata ¶
type WindowsMetadata struct {
// contains filtered or unexported fields
}
WindowsMetadata contains extended metadata retrieved in the `properties.go`
func GetFileMetadata ¶
func GetFileMetadata(path string) WindowsMetadata
GetFileMetadata is just a placeholder on darwin