Documentation ¶
Index ¶
- Constants
- func BuildAllRepositoryFiles(ctx context.Context, ownerID int64) error
- func BuildSpecificRepositoryFiles(ctx context.Context, ownerID int64, branch, repository, architecture string) error
- func GetOrCreateKeyPair(ctx context.Context, ownerID int64) (string, string, error)
- func GetOrCreateRepositoryVersion(ctx context.Context, ownerID int64) (*packages_model.PackageVersion, error)
Constants ¶
View Source
const ( IndexFilename = "APKINDEX" IndexArchiveFilename = IndexFilename + ".tar.gz" )
Variables ¶
This section is empty.
Functions ¶
func BuildAllRepositoryFiles ¶
BuildAllRepositoryFiles (re)builds all repository files for every available distributions, components and architectures
func BuildSpecificRepositoryFiles ¶
func BuildSpecificRepositoryFiles(ctx context.Context, ownerID int64, branch, repository, architecture string) error
BuildSpecificRepositoryFiles builds index files for the repository
func GetOrCreateKeyPair ¶
GetOrCreateKeyPair gets or creates the RSA 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 Alpine registry needs multiple index files which are stored in this package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.