debian

package
v1.21.0-dev Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArchitectures

func GetArchitectures(ctx context.Context, ownerID int64, distribution string) ([]string, error)

GetArchitectures gets all available architectures for the given distribution

func GetComponents

func GetComponents(ctx context.Context, ownerID int64, distribution string) ([]string, error)

GetComponents gets all available components for the given distribution

func GetDistributions

func GetDistributions(ctx context.Context, ownerID int64) ([]string, error)

GetDistributions gets all available distributions

func SearchLatestPackages

func SearchLatestPackages(ctx context.Context, opts *PackageSearchOptions) ([]*packages.PackageFileDescriptor, error)

SearchLatestPackages gets the latest packages matching the search options

Types

type PackageSearchOptions

type PackageSearchOptions struct {
	OwnerID      int64
	Distribution string
	Component    string
	Architecture string
}

Jump to

Keyboard shortcuts

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