chore: plugin元数据换成yaml格式

This commit is contained in:
xiaojunnuo
2025-04-15 00:16:57 +08:00
parent cfd3b66be9
commit 91ffb0820a
129 changed files with 7037 additions and 3 deletions
@@ -0,0 +1,19 @@
name: huawei
title: 华为云授权
desc: ''
icon: svg:icon-huawei
input:
accessKeyId:
title: accessKeyId
component:
placeholder: accessKeyId
helper: >-
证书申请需要有dns解析权限,前往[我的凭证-访问密钥](https://console.huaweicloud.com/iam/?region=cn-east-3#/mine/accessKey)获取
required: true
accessKeySecret:
title: accessKeySecret
component:
placeholder: accessKeySecret
required: true
encrypt: true
pluginType: access
@@ -0,0 +1,19 @@
name: huawei
title: 华为云授权
desc: ''
icon: svg:icon-huawei
input:
accessKeyId:
title: accessKeyId
component:
placeholder: accessKeyId
helper: >-
证书申请需要有dns解析权限,前往[我的凭证-访问密钥](https://console.huaweicloud.com/iam/?region=cn-east-3#/mine/accessKey)获取
required: true
accessKeySecret:
title: accessKeySecret
component:
placeholder: accessKeySecret
required: true
encrypt: true
pluginType: access
@@ -0,0 +1,6 @@
name: huawei
title: 华为云
desc: 华为云DNS解析提供商
accessType: huawei
icon: svg:icon-huawei
pluginType: dnsProvider
@@ -0,0 +1,19 @@
name: huawei
title: 华为云授权
desc: ''
icon: svg:icon-huawei
input:
accessKeyId:
title: accessKeyId
component:
placeholder: accessKeyId
helper: >-
证书申请需要有dns解析权限,前往[我的凭证-访问密钥](https://console.huaweicloud.com/iam/?region=cn-east-3#/mine/accessKey)获取
required: true
accessKeySecret:
title: accessKeySecret
component:
placeholder: accessKeySecret
required: true
encrypt: true
pluginType: access
@@ -0,0 +1,72 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: HauweiDeployCertToCDN
title: 华为云-部署证书至CDN
icon: svg:icon-huawei
group: huawei
desc: ''
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- CertApply
- CertApplyLego
- CertApplyUpload
required: true
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
required: false
order: 0
accessId:
title: Access授权
helper: 华为云授权AccessKeyId、AccessKeySecret
component:
name: access-selector
type: huawei
required: true
order: 0
domains:
title: CDN域名
component:
name: remote-select
vModel: value
mode: tags
type: plugin
typeName: HauweiDeployCertToCDN
action: onGetDomainList
watches:
- certDomains
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 请选择域名或输入域名
order: 0
output: {}
pluginType: deploy
@@ -0,0 +1,49 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: HauweiUploadToCCM
title: 华为云-上传证书至CCM
icon: svg:icon-huawei
group: huawei
desc: 上传证书到华为云CCM
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- CertApply
- CertApplyLego
- CertApplyUpload
required: true
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
required: false
order: 0
accessId:
title: Access授权
helper: 华为云授权AccessKeyId、AccessKeySecret
component:
name: access-selector
type: huawei
required: true
order: 0
output:
huaweiCertId:
title: 华为云CertId
pluginType: deploy