feat: 添加OBS存储

This commit is contained in:
Michael Bai
2021-11-05 13:21:20 +08:00
committed by Jiangjie.Bai
parent a39f2294bc
commit d2cd0a2242
2 changed files with 10 additions and 0 deletions

View File

@@ -41,6 +41,10 @@ export default {
{
name: 'Azure',
title: 'Azure'
},
{
name: 'obs',
title: 'OBS'
}
]
}

View File

@@ -5,6 +5,7 @@ export const CEPH = 'ceph'
export const SWIFT = 'swift'
export const OSS = 'oss'
export const AZURE = 'azure'
export const OBS = 'obs'
export const STORAGE_TYPE_META_MAP = {
[S3]: {
@@ -33,5 +34,10 @@ export const STORAGE_TYPE_META_MAP = {
name: AZURE,
title: 'Azure',
meta: ['CONTAINER_NAME', 'ACCOUNT_NAME', 'ACCOUNT_KEY', 'ENDPOINT_SUFFIX']
},
[OBS]: {
name: OBS,
title: 'OBS',
meta: ['BUCKET', 'ACCESS_KEY', 'SECRET_KEY', 'ENDPOINT']
}
}