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 ¶
func ParsePackageSpec ¶
func ParsePackageSpec(spec string) (PackageSpec, error)
func ParsePackageSpecs ¶
func ParsePackageSpecs(specs []string) ([]PackageSpec, error)
type ResolvedPackage ¶
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)
Click to show internal directories.
Click to hide internal directories.