status

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunningBlockingApps

func RunningBlockingApps(apps []string) ([]string, error)

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

Jump to

Keyboard shortcuts

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