arch

package
v0.0.0-...-949612f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IndexArchiveFilename = "packages.db"
)

Variables

This section is empty.

Functions

func AquireRegistryLock

func AquireRegistryLock(ctx context.Context, ownerID int64) (globallock.ReleaseFunc, error)

func BuildAllRepositoryFiles

func BuildAllRepositoryFiles(ctx context.Context, ownerID int64) error

BuildAllRepositoryFiles (re)builds all repository files for every available repositories and architectures

func BuildSpecificRepositoryFiles

func BuildSpecificRepositoryFiles(ctx context.Context, ownerID int64, repository, architecture string) error

BuildSpecificRepositoryFiles builds index files for the repository

func GetOrCreateKeyPair

func GetOrCreateKeyPair(ctx context.Context, ownerID int64) (string, string, error)

GetOrCreateKeyPair gets or creates the PGP keys used to sign repository files

func GetOrCreateRepositoryVersion

func GetOrCreateRepositoryVersion(ctx context.Context, ownerID int64) (*packages_model.PackageVersion, error)

GetOrCreateRepositoryVersion gets or creates the internal repository package The Arch registry needs multiple index files which are stored in this package.

func SignData

func SignData(ctx context.Context, ownerID int64, r io.Reader) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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