packages

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlpineClient

type AlpineClient struct {
	// contains filtered or unexported fields
}

func NewAlpineClient

func NewAlpineClient() *AlpineClient

func (*AlpineClient) FetchIndex

func (c *AlpineClient) FetchIndex(version, repo string) (map[string]*apkutils.PackageInfo, error)

func (*AlpineClient) GetCombinedPackages

func (c *AlpineClient) GetCombinedPackages(version string, repos []string) (map[string]*apkutils.PackageInfo, error)

func (*AlpineClient) GetLatestStableVersion

func (c *AlpineClient) GetLatestStableVersion() (string, error)

type PackageSpec

type PackageSpec struct {
	Name    string
	Version string
}

func ParsePackageSpec

func ParsePackageSpec(spec string) (PackageSpec, error)

func ParsePackageSpecs

func ParsePackageSpecs(specs []string) ([]PackageSpec, error)

type ResolvedPackage

type ResolvedPackage struct {
	Name    string
	Version string
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(client *AlpineClient, alpineVersion string) *Resolver

func (*Resolver) Resolve

func (r *Resolver) Resolve(specs []PackageSpec) ([]ResolvedPackage, error)

Jump to

Keyboard shortcuts

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