debian

package
v1.23.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistPackages added in v1.22.0

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 added in v1.22.0

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