Discover Packages
github.com/7c/aptbase
internal
target
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jun 20, 2026
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package target resolves the set of aptly servers (and default repos /
distributions) an invocation acts on, and runs work across servers with an
aggregated result.
AggregateError returns a combined error if any result failed, else nil.
Result captures the outcome of running work against one server.
OK reports whether the work succeeded.
Server pairs a resolved API URL with its client.
Set is the resolved fan-out scope for a command.
Resolve builds one client per configured API URL. prompt is used for
401-triggered authentication when no password was supplied.
ForEachServer runs fn against every server sequentially, collecting results.
A failure on one server does not stop the others.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.