Versions in this module Expand all Collapse all v1 v1.11.0 Feb 16, 2026 v1.10.0 Dec 31, 2025 Changes in this version + type Asset struct + AgentVersion string + CreatedAt string + Hostname string + MachineID string + NeedsRestarting bool + OS string + UpdatedAt string + type Client struct + func New() *Client + func (c *Client) GetAssetByHostname(hostname string) (*Asset, error) + func (c *Client) GetAssetsRequiringRestart() ([]Asset, error) + func (c *Client) GetExecutions(machineID string, limit int) ([]Execution, error) + func (c *Client) GetMonthlyReport(month, year int) (*MonthlyReportResponse, error) + func (c *Client) GetServerVersion() (string, error) + func (c *Client) GetTransactionItems(transactionID int) ([]TransactionItem, error) + func (c *Client) GetTransactions(machineID string, limit int) ([]Transaction, error) + func (c *Client) ListAssets() ([]Asset, error) + func (c *Client) SearchPackageAssets(name, version, release string) ([]Asset, error) + type Execution struct + AgentVersion string + ExecutedAt string + Hostname string + ID int + MachineID string + NeedsRestarting bool + OS string + type MonthlyReportPackage struct + AssetsAffected int + OSVersion string + PackageRPM string + type MonthlyReportResponse struct + AssetCount int + Month int + Packages []MonthlyReportPackage + Year int + type PackageInfo struct + Arch string + Count int + Name string + Release string + Version string + type Transaction struct + Cmdline string + ExecutedAt string + ExternalID int + ID int + ItemsCount int + MachineID string + Username string + type TransactionItem struct + Action string + Arch string + Epoch string + ID int + Package string + Release string + TransactionID int + Version string