debian

package
v0.0.0-...-495e01f Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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