Documentation ¶
Index ¶
Constants ¶
View Source
const ( WolfiAPKRepo = "https://packages.wolfi.dev/os" ChainguardEnterpriseAPKRepo = "https://apk.cgr.dev/chainguard-private" ChainguardExtrasAPKRepo = "https://apk.cgr.dev/extra-packages" )
View Source
const ( Aarch64Arch = "aarch64" X86_64Arch = "x86_64" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for interacting with an APK package repository.
func (Client) GetRemoteIndex ¶
GetRemoteIndex retrieves the index of APK packages from the specified remote repository.
`apkRepo` is the URL of the repository including the protocol, e.g. "https://packages.wolfi.dev/os".
`arch` is the architecture of the index, e.g. "x86_64" or "aarch64".
Click to show internal directories.
Click to hide internal directories.