catalog

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 0 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

Overview

Package catalog declares the catalog schema shared by the agent and the repository tools. Keep it free of agent dependencies (config, download).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppxCheck

type AppxCheck struct {
	Name    string `yaml:"name,omitempty"`
	Version string `yaml:"version,omitempty"`
}

AppxCheck holds information about checking an installed AppX/MSIX package

type FileCheck

type FileCheck struct {
	Path        string `yaml:"path,omitempty"`
	Version     string `yaml:"version,omitempty"`
	ProductName string `yaml:"product_name,omitempty"`
	Hash        string `yaml:"hash,omitempty"`
}

FileCheck holds information about checking via a file

type InstallCheck

type InstallCheck struct {
	File     []FileCheck `yaml:"file,omitempty"`
	Script   string      `yaml:"script,omitempty"`
	Registry RegCheck    `yaml:"registry,omitempty"`
	Appx     AppxCheck   `yaml:"appx,omitempty"`
}

InstallCheck holds information about how to check the status of a catalog item

type InstallerItem

type InstallerItem struct {
	Type      string   `yaml:"type,omitempty"`
	Location  string   `yaml:"location,omitempty"`
	Hash      string   `yaml:"hash,omitempty"`
	PackageID string   `yaml:"package_id,omitempty"`
	Arguments []string `yaml:"arguments,omitempty"`
}

InstallerItem holds information about how to install a catalog item

type Item

type Item struct {
	Name                string        `yaml:"-"`
	Dependencies        []string      `yaml:"dependencies,omitempty"`
	DisplayName         string        `yaml:"display_name,omitempty"`
	Check               InstallCheck  `yaml:"check,omitempty"`
	Installer           InstallerItem `yaml:"installer,omitempty"`
	Uninstaller         InstallerItem `yaml:"uninstaller,omitempty"`
	Version             string        `yaml:"version,omitempty"`
	BlockingApps        []string      `yaml:"blocking_apps,omitempty"`
	UpdateFor           []string      `yaml:"update_for,omitempty"`
	Description         string        `yaml:"description,omitempty"`
	Category            string        `yaml:"category,omitempty"`
	Developer           string        `yaml:"developer,omitempty"`
	IconName            string        `yaml:"icon_name,omitempty"`
	RestartAction       string        `yaml:"restart_action,omitempty"`
	PreScript           string        `yaml:"preinstall_script,omitempty"`
	PostScript          string        `yaml:"postinstall_script,omitempty"`
	PreUninstallScript  string        `yaml:"preuninstall_script,omitempty"`
	PostUninstallScript string        `yaml:"postuninstall_script,omitempty"`
}

Item contains an individual entry from the catalog

type RegCheck

type RegCheck struct {
	Name    string `yaml:"name,omitempty"`
	Version string `yaml:"version,omitempty"`
}

RegCheck holds information about checking via registry

Jump to

Keyboard shortcuts

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