metadata

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2025 License: Apache-2.0, BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package metadata provides metadata structures to annotate Windows packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSVersion

type OSVersion struct {
	// Product name of the OS, e.g. "windows_server_2019".
	Product string
	// FullVersion is the full version of the OS version: Major.Minor.Build.Revision.
	FullVersion string
}

OSVersion provides metadata about the OS version.

type WingetPackage added in v0.3.3

type WingetPackage struct {
	// Name is the display name of the package.
	Name string
	// ID is the unique package identifier.
	ID string
	// Version is the installed version.
	Version string
	// Moniker is the short name/alias for the package.
	Moniker string
	// Channel is the release channel.
	Channel string
	// Tags are package categories/tags.
	Tags []string
	// Commands are executable commands provided by the package.
	Commands []string
}

WingetPackage provides metadata about a package installed via Windows Package Manager.

Jump to

Keyboard shortcuts

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