Documentation ¶
Index ¶
- func ExistPackages(ctx context.Context, opts *PackageSearchOptions) (bool, error)
- func GetArchitectures(ctx context.Context, ownerID int64, distribution string) ([]string, error)
- func GetComponents(ctx context.Context, ownerID int64, distribution string) ([]string, error)
- func GetDistributions(ctx context.Context, ownerID int64) ([]string, error)
- func SearchPackages(ctx context.Context, opts *PackageSearchOptions) ([]*packages.PackageFileDescriptor, error)
- type PackageSearchOptions
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 ¶
GetArchitectures gets all available architectures for the given distribution
func GetComponents ¶
GetComponents gets all available components for the given distribution
func GetDistributions ¶
GetDistributions gets all available distributions
func SearchPackages ¶ added in v1.22.0
func SearchPackages(ctx context.Context, opts *PackageSearchOptions) ([]*packages.PackageFileDescriptor, error)
SearchPackages gets the packages matching the search options
Types ¶
Click to show internal directories.
Click to hide internal directories.