refactor: 1

This commit is contained in:
xiaojunnuo
2022-10-20 23:46:36 +08:00
parent 3722e922ff
commit 708bebe6e3
15 changed files with 59 additions and 57 deletions

View File

@@ -2,7 +2,7 @@ export class DnspodAccessProvider {
static define () {
return {
name: 'dnspod',
label: 'dnspod',
title: 'dnspod',
desc: '腾讯云的域名解析接口已迁移到dnspod',
input: {
id: {

View File

@@ -2,7 +2,7 @@ export class TencentAccessProvider {
static define () {
return {
name: 'tencent',
label: '腾讯云',
title: '腾讯云',
input: {
secretId: {
component: {

View File

@@ -5,7 +5,7 @@ export class DnspodDnsProvider extends AbstractDnsProvider {
static define () {
return {
name: 'dnspod',
label: 'dnspod(腾讯云)',
title: 'dnspod(腾讯云)',
desc: '腾讯云的域名解析接口已迁移到dnspod',
input: {
accessProvider: {

View File

@@ -12,7 +12,7 @@ export class DeployCertToTencentCDN extends AbstractTencentPlugin {
static define () {
return {
name: 'deployCertToTencentCDN',
label: '部署到腾讯云CDN',
title: '部署到腾讯云CDN',
input: {
domainName: {
title: 'cdn加速域名',

View File

@@ -10,7 +10,7 @@ export class DeployCertToTencentCLB extends AbstractTencentPlugin {
static define () {
return {
name: 'deployCertToTencentCLB',
label: '部署到腾讯云CLB',
title: '部署到腾讯云CLB',
desc: '暂时只支持单向认证证书,暂时只支持通用负载均衡',
input: {
region: {

View File

@@ -11,7 +11,7 @@ export class DeployCertToTencentTKEIngress extends AbstractTencentPlugin {
static define () {
return {
name: 'deployCertToTencentTKEIngress',
label: '部署到腾讯云TKE-ingress',
title: '部署到腾讯云TKE-ingress',
desc: '需要【上传到腾讯云】作为前置任务',
input: {
region: {

View File

@@ -11,18 +11,18 @@ export class UploadCertToTencent extends AbstractTencentPlugin {
static define () {
return {
name: 'uploadCertToTencent',
label: '上传证书到腾讯云',
title: '上传证书到腾讯云',
desc: '成功后获取tencentCertId',
input: {
name: {
label: '证书名称'
title: '证书名称'
},
accessProvider: {
label: 'Access授权',
type: [String, Object],
desc: 'access授权',
title: 'Access授权',
helper: 'access授权',
component: {
name: 'access-provider-selector',
filter: 'tencent'
name: 'access-selector',
type: 'tencent'
},
required: true
}