Categorygithub.com/omnibuildplatform/omni-repository
modulepackage
0.0.0-20220628071929-6ed6c48843da
Repository: https://github.com/omnibuildplatform/omni-repository.git
Documentation: pkg.go.dev

# README

Omni-repository

GitHub go.mod Go version (branch & subdirectory of monorepo) GitHub

本项目是为OmniBuildPlatform 社区提供基础存储服务而创建。 一方面存储用户用于构建openEuler系统所需要的基础images文件,另一方面存储用户构建完成后产生的ISO文件。

功能列表

上传iso文件

/upload 使用form表单将iso文件post到/upload 接口。

异步缓存iso

/loadfrom 凭token 输入文件url地址后会得到返回凭证ID,系统在后台自动下载你的文件,并和你提供的checksum(sha256)进行验证。

文件凭证使用

/query 使用凭证ID 即可在omni-manager 构建系统中使用你之前下载的iso文件。或用于构建新系统,或用于安装。

文件获取

/browse 在被授权获得文件的确切url地址后,可以使用本接口获取你的文件。

Contributing

License

MIT © OmniBuildPlatfrom

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag.

# Variables

Git commit ID, filled when generating binary.
Publish date, filled when generating binary.
Git tag name, filled when generating binary.

# Structs

No description provided by the author