Documentation ¶
Index ¶
- func BuildAllRepositoryFiles(ctx context.Context, ownerID int64) error
- func BuildSpecificRepositoryFiles(ctx context.Context, ownerID int64, group string) error
- func GetOrCreateKeyPair(ctx context.Context, ownerID int64) (string, string, error)
- func GetOrCreateRepositoryVersion(ctx context.Context, ownerID int64) (*packages_model.PackageVersion, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAllRepositoryFiles ¶ added in v1.22.0
BuildAllRepositoryFiles (re)builds all repository files for every available group
func BuildSpecificRepositoryFiles ¶ added in v1.22.0
BuildSpecificRepositoryFiles builds metadata files for the repository
func GetOrCreateKeyPair ¶
GetOrCreateKeyPair gets or creates the PGP keys used to sign repository metadata files
func GetOrCreateRepositoryVersion ¶
func GetOrCreateRepositoryVersion(ctx context.Context, ownerID int64) (*packages_model.PackageVersion, error)
GetOrCreateRepositoryVersion gets or creates the internal repository package The RPM registry needs multiple metadata files which are stored in this package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.