Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
从原来的File存储增加了S3/OSS的支持
给存储的层面做了一个抽象
增加了一个StorageConfig的内容,用于判断存储类型和保存OSS/S3的AK/SK
其中
accesskey
和secretkey
是用于访问对象存储的工具,对于minio
和阿里云oss
,endpoint
和bucket
是必要的,endpoint是一个url地址用于访问,bucket是具体的桶对于AWS S3 来说,可以使用
region
代替endpoint