debian

package
v0.0.0-...-0ce574d Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistPackages

func ExistPackages(ctx context.Context, opts *PackageSearchOptions) (bool, error)

ExistPackages tests if there are packages matching the search options

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 SearchPackages

SearchPackages gets the 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