Help us shape the future of Go! Take the 2026 Go Developer Survey

debian

package
v3.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 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
}

Source Files

  • search.go

Jump to

Keyboard shortcuts

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