This commit is contained in:
xiaojunnuo
2026-04-06 01:24:46 +08:00
parent 909a9e4050
commit 1c634a702a
35 changed files with 288 additions and 113 deletions
@@ -0,0 +1,32 @@
name: dnsmgr
title: 彩虹DNS
icon: clarity:plugin-line
desc: 彩虹DNS管理系统授权
input:
endpoint:
title: 系统地址
component:
name: a-input
allowClear: true
placeholder: https://dnsmgr.example.com
required: true
uid:
title: 用户ID
component:
name: a-input
allowClear: true
placeholder: '123456'
required: true
key:
title: API密钥
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 点击测试接口是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-dnsmgr/access.js
@@ -0,0 +1,29 @@
name: spaceship
title: Spaceship.com 授权
icon: clarity:plugin-line
desc: Spaceship.com API 授权插件
input:
apiKey:
title: API Key
component:
placeholder: 请输入 API Key
required: true
encrypt: true
helper: 前往 [获取 API Key](https://www.spaceship.com/application/api-manager/)
apiSecret:
title: API Secret
component:
name: a-input-password
vModel: value
placeholder: 请输入 API Secret
required: true
encrypt: true
testRequest:
title: 测试
component:
name: api-test
action: TestRequest
helper: 测试 API 连接是否正常
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-spaceship/access.js
@@ -8,6 +8,24 @@ icon: svg:icon-tencentcloud
group: tencent
desc: 暂时只支持单向认证证书,暂时只支持通用负载均衡
input:
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
- UploadCertToTencent
required: true
order: 0
accessId:
title: Access提供者
helper: access授权
component:
name: access-selector
type: tencent
required: true
order: 0
region:
title: 大区
component:
@@ -33,14 +51,12 @@ input:
- value: na-siliconvalley
- value: na-toronto
- value: sa-saopaulo
- value: ap-taipei
helper: 如果列表中没有,您可以手动输入
required: true
order: 0
certName:
title: 证书名称前缀
order: 0
loadBalancerId:
title: 负载均衡ID
helper: 如果没有配置,则根据域名匹配负载均衡下的监听器(根据域名匹配时暂时只支持前100个)
required: true
order: 0
listenerId:
@@ -57,22 +73,8 @@ input:
mode: tags
helper: 如果开启了sni,则此项必须填写,未开启,则不要填写
order: 0
cert:
title: 域名证书
helper: 请选择前置任务输出的域名证书
component:
name: output-selector
from:
- ':cert:'
required: true
order: 0
accessId:
title: Access提供者
helper: access授权
component:
name: access-selector
type: tencent
required: true
certName:
title: 证书名称前缀
order: 0
output: {}
pluginType: deploy
@@ -0,0 +1,9 @@
name: dnsmgr
title: 彩虹DNS
desc: 彩虹DNS管理系统
icon: clarity:plugin-line
accessType: dnsmgr
order: 99
pluginType: dnsProvider
type: builtIn
scriptFilePath: /plugins/plugin-dnsmgr/dns-provider.js
@@ -0,0 +1,9 @@
name: spaceship
title: Spaceship
desc: Spaceship 域名解析
icon: clarity:plugin-line
accessType: spaceship
order: 99
pluginType: dnsProvider
type: builtIn
scriptFilePath: /plugins/plugin-spaceship/dns-provider.js