chore: metadata refresh

This commit is contained in:
xiaojunnuo
2026-01-29 00:50:45 +08:00
parent 8fe1adacf3
commit 0ffe1f2cef
9 changed files with 245 additions and 23 deletions

View File

@@ -24,7 +24,7 @@
| 20.| **google cloud** | 谷歌云授权 | | 20.| **google cloud** | 谷歌云授权 |
| 21.| **cloudflare授权** | | | 21.| **cloudflare授权** | |
| 22.| **中国移动CND授权** | | | 22.| **中国移动CND授权** | |
| 23.| **授权插件示例** | | | 23.| **授权插件示例** | 这是一个示例授权插件,用于演示如何实现一个授权插件 |
| 24.| **dns.la授权** | | | 24.| **dns.la授权** | |
| 25.| **多吉云** | | | 25.| **多吉云** | |
| 26.| **Dokploy授权** | | | 26.| **Dokploy授权** | |

View File

@@ -1,5 +1,5 @@
# 任务插件 # 任务插件
`116` 款任务插件 `118` 款任务插件
## 1. 证书申请 ## 1. 证书申请
| 序号 | 名称 | 说明 | | 序号 | 名称 | 说明 |
@@ -138,8 +138,10 @@
| 序号 | 名称 | 说明 | | 序号 | 名称 | 说明 |
|-----|-----|-----| |-----|-----|-----|
| 1.| **UCloud-部署到CDN** | 将证书部署到UCloud CDN | | 1.| **UCloud-部署到CDN** | 将证书部署到UCloud CDN |
| 2.| **UCloud-部署到WAF** | 将证书部署到UCloud WAF | | 2.| **UCloud-部署到负载均衡** | 将证书部署到UCloud负载均衡(ULB/ALB/CLB) |
| 3.| **UCloud-上传到USSL** | 将证书上传到UCloud USSL | | 3.| **UCloud-部署到对象存储(US3)** | 将证书部署到UCloud对象存储(US3) |
| 4.| **UCloud-部署到WAF** | 将证书部署到UCloud WAF |
| 5.| **UCloud-上传到USSL** | 将证书上传到UCloud USSL |
## 11. 百度云 ## 11. 百度云
| 序号 | 名称 | 说明 | | 序号 | 名称 | 说明 |

View File

@@ -1,19 +1,38 @@
name: demo name: demo
title: 授权插件示例 title: 授权插件示例
icon: clarity:plugin-line icon: clarity:plugin-line
desc: '' desc: 这是一个示例授权插件,用于演示如何实现一个授权插件
input: input:
apiType:
title: 授权方式
value: apiKey
component:
name: a-select
vModel: value
options:
- label: API密钥推荐
value: apiKey
- label: 账号密码
value: account
placeholder: demoKeyId
required: true
demoKeyId: demoKeyId:
title: 密钥Id title: 密钥Id
component: component:
name: a-input
allowClear: true
placeholder: demoKeyId placeholder: demoKeyId
required: true required: true
demoKeySecret: demoKeySecret:
title: 密钥 title: 密钥
component:
placeholder: demoKeySecret
required: true required: true
encrypt: true encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access pluginType: access
type: builtIn type: builtIn
scriptFilePath: /plugins/plugin-demo/access.js scriptFilePath: /plugins/plugin-demo/access.js

View File

@@ -14,17 +14,18 @@ input:
domains: domains:
title: 证书域名 title: 证书域名
component: component:
name: a-select name: domain-selector
vModel: value vModel: value
mode: tags mode: tags
open: false placeholder: 请输入证书域名比如foo.com , *.foo.com , *.sub.foo.com , *.bar.com
placeholder: foo.com / *.foo.com / *.bar.com
tokenSeparators: tokenSeparators:
- ',' - ','
- ' ' - ' '
- -
- -
- '|' - '|'
search: true
pager: true
rules: rules:
- type: domains - type: domains
required: true required: true
@@ -424,7 +425,6 @@ input:
helper: 兼容Windows Server各个版本 helper: 兼容Windows Server各个版本
renewDays: renewDays:
title: 更新天数 title: 更新天数
value: 18
component: component:
name: a-input-number name: a-input-number
vModel: value vModel: value

View File

@@ -11,17 +11,18 @@ input:
domains: domains:
title: 证书域名 title: 证书域名
component: component:
name: a-select name: domain-selector
vModel: value vModel: value
mode: tags mode: tags
open: false placeholder: 请输入证书域名比如foo.com , *.foo.com , *.sub.foo.com , *.bar.com
placeholder: foo.com / *.foo.com / *.bar.com
tokenSeparators: tokenSeparators:
- ',' - ','
- ' ' - ' '
- -
- -
- '|' - '|'
search: true
pager: true
rules: rules:
- type: domains - type: domains
required: true required: true
@@ -109,7 +110,6 @@ input:
helper: 兼容Windows Server各个版本 helper: 兼容Windows Server各个版本
renewDays: renewDays:
title: 更新天数 title: 更新天数
value: 18
component: component:
name: a-input-number name: a-input-number
vModel: value vModel: value

View File

@@ -14,17 +14,18 @@ input:
domains: domains:
title: 证书域名 title: 证书域名
component: component:
name: a-select name: domain-selector
vModel: value vModel: value
mode: tags mode: tags
open: false placeholder: 请输入证书域名比如foo.com , *.foo.com , *.sub.foo.com , *.bar.com
placeholder: foo.com / *.foo.com / *.bar.com
tokenSeparators: tokenSeparators:
- ',' - ','
- ' ' - ' '
- -
- -
- '|' - '|'
search: true
pager: true
rules: rules:
- type: domains - type: domains
required: true required: true
@@ -145,7 +146,6 @@ input:
helper: 兼容Windows Server各个版本 helper: 兼容Windows Server各个版本
renewDays: renewDays:
title: 更新天数 title: 更新天数
value: 18
component: component:
name: a-input-number name: a-input-number
vModel: value vModel: value

View File

@@ -76,17 +76,18 @@ input:
domains: domains:
title: 证书域名 title: 证书域名
component: component:
name: a-select name: domain-selector
vModel: value vModel: value
mode: tags mode: tags
open: false placeholder: 请输入证书域名比如foo.com , *.foo.com , *.sub.foo.com , *.bar.com
placeholder: foo.com / *.foo.com / *.bar.com
tokenSeparators: tokenSeparators:
- ',' - ','
- ' ' - ' '
- -
- -
- '|' - '|'
search: true
pager: true
rules: rules:
- type: domains - type: domains
required: true required: true

View File

@@ -0,0 +1,101 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: UCloudDeployToULB
title: UCloud-部署到负载均衡
desc: 将证书部署到UCloud负载均衡(ULB/ALB/CLB)
icon: svg:icon-ucloud
group: ucloud
needPlus: false
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
template: false
required: false
order: 0
accessId:
title: UCloud授权
component:
name: access-selector
type: ucloud
required: true
order: 0
region:
title: 地域
component:
name: remote-select
vModel: value
type: plugin
action: onGetRegionList
search: false
pager: false
watches:
- certDomains
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 选择UCloud地域
order: 0
certNameList:
title: 证书列表
component:
name: remote-select
vModel: value
mode: tags
type: plugin
action: onGetCertList
search: false
pager: false
watches:
- certDomains
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: |-
选择要替换的证书名称
如果证书不存在,可以手动输入证书名称(运行一次后将会自动创建,您可以在ULB控制台进行使用
请确保证书名称不要重复,如果重复,只会更新创建时间最近的那一条
order: 0
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-ucloud/plugins/plugin-deploy-to-ulb.js

View File

@@ -0,0 +1,99 @@
showRunStrategy: false
default:
strategy:
runStrategy: 1
name: UCloudDeployToUS3
title: UCloud-部署到对象存储(US3)
desc: 将证书部署到UCloud对象存储(US3)
icon: svg:icon-ucloud
group: ucloud
needPlus: false
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
order: 0
certDomains:
title: 当前证书域名
component:
name: cert-domains-getter
mergeScript: |2-
return {
component:{
inputKey: ctx.compute(({form})=>{
return form.cert
}),
}
}
template: false
required: false
order: 0
accessId:
title: UCloud授权
component:
name: access-selector
type: ucloud
required: true
order: 0
bucket:
title: 存储桶
component:
name: remote-select
vModel: value
mode: tags
type: plugin
action: onGetBucketList
search: false
pager: false
watches:
- certDomains
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 要更新的UCloud存储桶
order: 0
domainList:
title: 域名列表
component:
name: remote-select
vModel: value
mode: tags
type: plugin
action: onGetDomainList
search: false
pager: false
watches:
- certDomains
- accessId
required: true
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 要更新的UCloud域名列表
order: 0
output: {}
pluginType: deploy
type: builtIn
scriptFilePath: /plugins/plugin-ucloud/plugins/plugin-deploy-to-us3.js