@certd/plugin-plus 1.37.17 → 1.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +137 -181
- package/build.md +1 -0
- package/dist/d/index.d.ts +3 -23
- package/dist/d/lib/check.d.ts +6 -0
- package/dist/d/lib/index.d.ts +1 -6
- package/dist/d/maoyun/client.d.ts +6 -3
- package/dist/d/maoyun/index.d.ts +0 -1
- package/dist/d/synology/client.d.ts +13 -3
- package/dist/d/synology/index.d.ts +0 -2
- package/dist/d/unicloud/client.d.ts +6 -3
- package/dist/index.js +1 -1
- package/fix-esm-import-paths.js +11 -11
- package/package.json +9 -24
- package/{rollup.config.mjs → rollup.config.js} +1 -19
- package/tsconfig.json +2 -1
- package/dist/d/1panel/access.d.ts +0 -17
- package/dist/d/1panel/client.d.ts +0 -37
- package/dist/d/1panel/index.d.ts +0 -3
- package/dist/d/1panel/plugins/deploy-to-website.d.ts +0 -18
- package/dist/d/1panel/plugins/index.d.ts +0 -1
- package/dist/d/1panel/util.d.ts +0 -1
- package/dist/d/alipay/access.d.ts +0 -11
- package/dist/d/alipay/index.d.ts +0 -1
- package/dist/d/aliyun/index.d.ts +0 -1
- package/dist/d/aliyun/plugins/deploy-to-ack/index.d.ts +0 -26
- package/dist/d/aliyun/plugins/deploy-to-all/index.d.ts +0 -39
- package/dist/d/aliyun/plugins/index.d.ts +0 -2
- package/dist/d/baidu/access.d.ts +0 -11
- package/dist/d/baidu/client.d.ts +0 -40
- package/dist/d/baidu/index.d.ts +0 -3
- package/dist/d/baidu/plugins/index.d.ts +0 -3
- package/dist/d/baidu/plugins/plugin-deploy-to-blb.d.ts +0 -17
- package/dist/d/baidu/plugins/plugin-deploy-to-cdn.d.ts +0 -11
- package/dist/d/baidu/plugins/plugin-upload-to-baidu.d.ts +0 -7
- package/dist/d/baishan/access.d.ts +0 -8
- package/dist/d/baishan/index.d.ts +0 -2
- package/dist/d/baishan/plugins/index.d.ts +0 -1
- package/dist/d/baishan/plugins/plugin-update-cert.d.ts +0 -10
- package/dist/d/baota/access.d.ts +0 -13
- package/dist/d/baota/index.d.ts +0 -4
- package/dist/d/baota/lib/client.d.ts +0 -14
- package/dist/d/baota/plugins/index.d.ts +0 -5
- package/dist/d/baota/plugins/plugin-delete-expiring-cert.d.ts +0 -6
- package/dist/d/baota/plugins/plugin-deploy-to-aawaf.d.ts +0 -15
- package/dist/d/baota/plugins/plugin-deploy-to-panel.d.ts +0 -8
- package/dist/d/baota/plugins/plugin-deploy-to-website-win.d.ts +0 -11
- package/dist/d/baota/plugins/plugin-deploy-to-website.d.ts +0 -17
- package/dist/d/baota/waf-access.d.ts +0 -19
- package/dist/d/cdnfly/access.d.ts +0 -19
- package/dist/d/cdnfly/index.d.ts +0 -2
- package/dist/d/cdnfly/plugins/index.d.ts +0 -1
- package/dist/d/cdnfly/plugins/plugin-deploy-to-cdn.d.ts +0 -25
- package/dist/d/ctyun/index.d.ts +0 -1
- package/dist/d/ctyun/lib.d.ts +0 -156
- package/dist/d/ctyun/plugins/index.d.ts +0 -1
- package/dist/d/ctyun/plugins/plugin-deploy-to-cdn.d.ts +0 -12
- package/dist/d/ftp/index.d.ts +0 -1
- package/dist/d/ftp/plugins/index.d.ts +0 -1
- package/dist/d/ftp/plugins/plugin-upload-to-ftp.d.ts +0 -16
- package/dist/d/host/index.d.ts +0 -1
- package/dist/d/host/plugins/index.d.ts +0 -1
- package/dist/d/host/plugins/plugin-deploy-to-iis.d.ts +0 -13
- package/dist/d/k8s/access.d.ts +0 -5
- package/dist/d/k8s/index.d.ts +0 -2
- package/dist/d/k8s/plugins/index.d.ts +0 -3
- package/dist/d/k8s/plugins/plugin-apply.d.ts +0 -12
- package/dist/d/k8s/plugins/plugin-ingress.d.ts +0 -15
- package/dist/d/k8s/plugins/plugin-secret.d.ts +0 -17
- package/dist/d/kuocai/access.d.ts +0 -9
- package/dist/d/kuocai/index.d.ts +0 -2
- package/dist/d/kuocai/plugins/index.d.ts +0 -1
- package/dist/d/kuocai/plugins/plugin-deploy-to-cdn.d.ts +0 -17
- package/dist/d/lecdn/access.d.ts +0 -10
- package/dist/d/lecdn/index.d.ts +0 -2
- package/dist/d/lecdn/plugins/index.d.ts +0 -2
- package/dist/d/lecdn/plugins/plugin-update-cert-v2.d.ts +0 -19
- package/dist/d/lecdn/plugins/plugin-update-cert.d.ts +0 -19
- package/dist/d/lucky/access.d.ts +0 -16
- package/dist/d/lucky/index.d.ts +0 -2
- package/dist/d/lucky/plugins/index.d.ts +0 -1
- package/dist/d/lucky/plugins/plugin-upload.d.ts +0 -18
- package/dist/d/maoyun/access.d.ts +0 -8
- package/dist/d/maoyun/plugins/plugin-deploy-to-cdn.d.ts +0 -11
- package/dist/d/plesk/access.d.ts +0 -31
- package/dist/d/plesk/index.d.ts +0 -2
- package/dist/d/plesk/plugins/index.d.ts +0 -1
- package/dist/d/plesk/plugins/plugin-deploy-cert.d.ts +0 -11
- package/dist/d/plesk/plugins/plugin-refresh-cert.d.ts +0 -10
- package/dist/d/qiniu/index.d.ts +0 -1
- package/dist/d/qiniu/plugins/index.d.ts +0 -1
- package/dist/d/qiniu/plugins/plugin-deploy-to-oss.d.ts +0 -9
- package/dist/d/safeline/access.d.ts +0 -10
- package/dist/d/safeline/index.d.ts +0 -2
- package/dist/d/safeline/plugins/deploy-to-website.d.ts +0 -16
- package/dist/d/safeline/plugins/index.d.ts +0 -1
- package/dist/d/synology/access.d.ts +0 -22
- package/dist/d/synology/plugins/index.d.ts +0 -1
- package/dist/d/synology/plugins/plugin-deploy-to-panel.d.ts +0 -11
- package/dist/d/unicloud/access.d.ts +0 -7
- package/dist/d/unicloud/index.d.ts +0 -3
- package/dist/d/unicloud/plugins/index.d.ts +0 -1
- package/dist/d/unicloud/plugins/plugin-deploy-to-space.d.ts +0 -11
- package/dist/d/wxpay/access.d.ts +0 -13
- package/dist/d/wxpay/index.d.ts +0 -1
- package/dist/d/yidun/access-rcdn.d.ts +0 -9
- package/dist/d/yidun/access-sms.d.ts +0 -9
- package/dist/d/yidun/access.d.ts +0 -9
- package/dist/d/yidun/index.d.ts +0 -4
- package/dist/d/yidun/plugins/index.d.ts +0 -2
- package/dist/d/yidun/plugins/plugin-deploy-to-cdn.d.ts +0 -13
- package/dist/d/yidun/plugins/plugin-deploy-to-rcdn.d.ts +0 -17
- package/dist/d/yizhifu/access.d.ts +0 -8
- package/dist/d/yizhifu/index.d.ts +0 -1
- package/dist/util-9726341d.js +0 -1
- package/export-plugin-yaml.js +0 -99
- package/metadata/access_1panel.yaml +0 -81
- package/metadata/access_alipay.yaml +0 -29
- package/metadata/access_baidu.yaml +0 -22
- package/metadata/access_baishan.yaml +0 -15
- package/metadata/access_baota-waf.yaml +0 -36
- package/metadata/access_baota.yaml +0 -50
- package/metadata/access_cdnfly.yaml +0 -29
- package/metadata/access_k8s.yaml +0 -16
- package/metadata/access_kuocaicdn.yaml +0 -20
- package/metadata/access_lecdn.yaml +0 -27
- package/metadata/access_lucky.yaml +0 -29
- package/metadata/access_maoyun.yaml +0 -26
- package/metadata/access_plesk.yaml +0 -27
- package/metadata/access_safeline.yaml +0 -26
- package/metadata/access_synology.yaml +0 -80
- package/metadata/access_unicloud.yaml +0 -21
- package/metadata/access_wxpay.yaml +0 -40
- package/metadata/access_yfysms.yaml +0 -21
- package/metadata/access_yidun.yaml +0 -22
- package/metadata/access_yidunrcdn.yaml +0 -20
- package/metadata/access_yizhifu.yaml +0 -45
- package/metadata/deploy_1PanelDeployToWebsitePlugin.yaml +0 -60
- package/metadata/deploy_AliyunDeployCertToAll.yaml +0 -174
- package/metadata/deploy_BaiduDeployToCDN.yaml +0 -43
- package/metadata/deploy_BaishanUpdateCert.yaml +0 -47
- package/metadata/deploy_BaotaDeployPanelCert.yaml +0 -34
- package/metadata/deploy_BaotaDeployWebSiteCert.yaml +0 -85
- package/metadata/deploy_CdnflyDeployToCDN.yaml +0 -123
- package/metadata/deploy_CtyunDeployToCDN.yaml +0 -97
- package/metadata/deploy_DeployCertToAliyunAck.yaml +0 -122
- package/metadata/deploy_HostDeployToIIS.yaml +0 -76
- package/metadata/deploy_K8sDeployToIngress.yaml +0 -46
- package/metadata/deploy_K8sDeployToSecret.yaml +0 -50
- package/metadata/deploy_KuocaiDeployToRCDN.yaml +0 -59
- package/metadata/deploy_LeCDNUpdateCert.yaml +0 -57
- package/metadata/deploy_LeCDNUpdateCertV2.yaml +0 -58
- package/metadata/deploy_LuckyUpdateCert.yaml +0 -73
- package/metadata/deploy_MaoyunDeployToCdn.yaml +0 -72
- package/metadata/deploy_PleskDeploySiteCert.yaml +0 -72
- package/metadata/deploy_QiniuDeployCertToOSS.yaml +0 -39
- package/metadata/deploy_SafelineDeployToWebsitePlugin.yaml +0 -75
- package/metadata/deploy_SynologyDeployToPanel.yaml +0 -45
- package/metadata/deploy_UniCloudDeployToSpace.yaml +0 -64
- package/metadata/deploy_UploadCertToFTP.yaml +0 -171
- package/metadata/deploy_YidunDeployToCDN.yaml +0 -48
- package/metadata/deploy_YidunDeployToRCDN.yaml +0 -59
package/dist/d/ctyun/lib.d.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { CtyunAccess } from "@certd/plugin-lib";
|
|
2
|
-
import { HttpClient, ILogger } from "@certd/basic";
|
|
3
|
-
export type CtyunCdnDomainInfo = {
|
|
4
|
-
area_scope: number;
|
|
5
|
-
insert_date: number;
|
|
6
|
-
domain: string;
|
|
7
|
-
cname: string;
|
|
8
|
-
record_num: string;
|
|
9
|
-
product_code: string;
|
|
10
|
-
product_name: string;
|
|
11
|
-
status: number;
|
|
12
|
-
};
|
|
13
|
-
export type CtyunClientOptions = {
|
|
14
|
-
access: CtyunAccess;
|
|
15
|
-
logger: ILogger;
|
|
16
|
-
http: HttpClient;
|
|
17
|
-
};
|
|
18
|
-
export declare class CtyunClient {
|
|
19
|
-
opts: CtyunClientOptions;
|
|
20
|
-
access: CtyunAccess;
|
|
21
|
-
constructor(opts: CtyunClientOptions);
|
|
22
|
-
encode(str: any): string;
|
|
23
|
-
decode(str: any): string;
|
|
24
|
-
urlEncode(str: any): string;
|
|
25
|
-
urlDecode(str: any): string;
|
|
26
|
-
hmacsha256(content: any, key: any): Promise<string>;
|
|
27
|
-
getHeader(uri: any): Promise<{
|
|
28
|
-
"x-alogic-now": number;
|
|
29
|
-
"x-alogic-app": string;
|
|
30
|
-
"x-alogic-signature": string;
|
|
31
|
-
"x-alogic-ac": string;
|
|
32
|
-
}>;
|
|
33
|
-
/**
|
|
34
|
-
* 接口描述:调用本接口创建证书。
|
|
35
|
-
* 请求方式:post
|
|
36
|
-
* 请求路径:/v1/cert/create
|
|
37
|
-
* 使用说明: 单个用户一分钟限制调用10000次,并发不超过100;
|
|
38
|
-
*
|
|
39
|
-
* 请求参数说明:
|
|
40
|
-
*
|
|
41
|
-
* 参数 类型 是否必传 名称 描述
|
|
42
|
-
* name string 是 证书备注名
|
|
43
|
-
* key string 是 证书私钥 仅支持PEM格式
|
|
44
|
-
* certs string 是 证书公钥 仅支持PEM格式
|
|
45
|
-
* email string 否 用户邮箱
|
|
46
|
-
* 返回参数说明:
|
|
47
|
-
*
|
|
48
|
-
* 参数 类型 是否必传 名称及描述
|
|
49
|
-
* code int 是 状态码
|
|
50
|
-
* message string 是 描述信息
|
|
51
|
-
* id int 是 证书id
|
|
52
|
-
* 示例:
|
|
53
|
-
* 请求路径:https://open.ctcdn.cn/api/v1/cert/create
|
|
54
|
-
*
|
|
55
|
-
* 示例1:
|
|
56
|
-
* 请求参数:
|
|
57
|
-
*
|
|
58
|
-
* {
|
|
59
|
-
* "name": "xxxx",
|
|
60
|
-
* "certs": "xxxxx",
|
|
61
|
-
* "key": "xxxxxx"
|
|
62
|
-
* }
|
|
63
|
-
*
|
|
64
|
-
* 返回结果:
|
|
65
|
-
*
|
|
66
|
-
* {
|
|
67
|
-
* "code": 100000,
|
|
68
|
-
* "message": "success",
|
|
69
|
-
* "id": 7028
|
|
70
|
-
* }
|
|
71
|
-
*/
|
|
72
|
-
doRequest({ uri, method, data }: any): Promise<any>;
|
|
73
|
-
certCreate(name: string, crt: string, key: string): Promise<any>;
|
|
74
|
-
/**
|
|
75
|
-
* 接口描述:调用本接口查询域名列表及域名的基础信息
|
|
76
|
-
* 请求方式:get
|
|
77
|
-
* 请求路径:/v2/domain/query
|
|
78
|
-
* 使用说明:
|
|
79
|
-
*
|
|
80
|
-
* 新建的域名需要配置部署完毕(预计10分钟),本接口才能查询到
|
|
81
|
-
* 单个用户一分钟限制调用10000次,并发不超过10
|
|
82
|
-
* 请求参数说明:
|
|
83
|
-
*
|
|
84
|
-
* 参数
|
|
85
|
-
* 类型
|
|
86
|
-
* 是否必填
|
|
87
|
-
* 名称
|
|
88
|
-
* 说明
|
|
89
|
-
* access_mode int 否 接入方式 枚举值:1(域名接入方式),2(无域名接入方式),不传默认1
|
|
90
|
-
* domain string 否 域名 域名,不填默认所有域名
|
|
91
|
-
* instance string 否 实例名称 不超过10个字的中/英文/数字组合;当access_mode=2时,必填
|
|
92
|
-
* product_code string 否 产品类型 支持产品类型:“001”(静态加速),“003”(下载加速),“004”(视频点播加速),“008”(CDN加速),“007”(安全加速),“005”(直播加速),“006”(全站加速),“009”(应用加速),“010”(web应用防火墙(边缘云版)),“011”(高防DDoS(边缘云版)),“014”(下载加速闲时),“020”(边缘安全加速),“024”(边缘接入),不填默认所有产品
|
|
93
|
-
* status int 否 域名状态 枚举值:4(已启用),6(已停止);不填默认所有状态
|
|
94
|
-
* area_scope int 否 加速范围 1(国内);2(海外);3(全球),不填默认所有加速范围
|
|
95
|
-
* page int 否 页码 不填默认1
|
|
96
|
-
* page_size int 否 每页条数 不填默认50,最大100
|
|
97
|
-
* 返回参数说明:
|
|
98
|
-
*
|
|
99
|
-
* 参数 类型 是否必传 名称及描述
|
|
100
|
-
* code int 是 状态码
|
|
101
|
-
* message string 是 描述信息
|
|
102
|
-
* total int 否 查询结果总条数
|
|
103
|
-
* total_count int 否 查询结果总条数
|
|
104
|
-
* page int 否 当前页数
|
|
105
|
-
* page_size int 否 每页条数
|
|
106
|
-
* page_count int 否 查询结果总页数
|
|
107
|
-
* result list<object> 否 返回结果列表
|
|
108
|
-
* result[*].domain string 否 域名
|
|
109
|
-
* result[*].cname string 否 cname
|
|
110
|
-
* result[*].product_code string 否 产品类型
|
|
111
|
-
* result[*].product_name string 否 产品名称
|
|
112
|
-
* result[*].status int 否 域名状态
|
|
113
|
-
* result[*].insert_date int 否 域名创建时间,单位毫秒
|
|
114
|
-
* result[*].area_scope int 否 加速范围
|
|
115
|
-
* result[*].record_num string 否 备案号
|
|
116
|
-
* 示例:
|
|
117
|
-
* 请求路径:https://open.ctcdn.cn/api/v2/domain/query
|
|
118
|
-
*
|
|
119
|
-
* 示例1:https://open.ctcdn.cn/api/v2/domain/query?page=1&page_size=2
|
|
120
|
-
* 返回结果:
|
|
121
|
-
*
|
|
122
|
-
* {
|
|
123
|
-
* "code": 100000,
|
|
124
|
-
* "message": "success",
|
|
125
|
-
* "total": 52,
|
|
126
|
-
* "total_count": 52,
|
|
127
|
-
* "page": 1,
|
|
128
|
-
* "page_count": 26,
|
|
129
|
-
* "page_size": 2,
|
|
130
|
-
* "result": [
|
|
131
|
-
* {
|
|
132
|
-
* "area_scope": 1,
|
|
133
|
-
* "insert_date": 1667882163000,
|
|
134
|
-
* "domain": "sd54sdhmytest.baidu.ctyun.cn",
|
|
135
|
-
* "cname": "sd54sdhmytest.baidu.ctyun.cn.ctadns.cn.",
|
|
136
|
-
* "record_num": "京ICP证030173号-1",
|
|
137
|
-
* "product_code": "008",
|
|
138
|
-
* "product_name": "CDN加速",
|
|
139
|
-
* "status": 4
|
|
140
|
-
* },
|
|
141
|
-
* {
|
|
142
|
-
* "area_scope": 1,
|
|
143
|
-
* "insert_date": 1666765345000,
|
|
144
|
-
* "domain": "sd54sd.baidu.ctyun.cn",
|
|
145
|
-
* "cname": "sd54sd.baidu.ctyun.cn.ctadns.cn.",
|
|
146
|
-
* "record_num": "京ICP证030173号-1",
|
|
147
|
-
* "product_code": "008",
|
|
148
|
-
* "product_name": "CDN加速",
|
|
149
|
-
* "status": 6
|
|
150
|
-
* }
|
|
151
|
-
* ]
|
|
152
|
-
* }
|
|
153
|
-
* @param cert_list
|
|
154
|
-
*/
|
|
155
|
-
getDomainList({ productCode }: any): Promise<CtyunCdnDomainInfo[]>;
|
|
156
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-to-cdn.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
export declare class CtyunDeployToCDN extends AbstractTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
certDomains: string[];
|
|
6
|
-
productCode: string;
|
|
7
|
-
accessId: string;
|
|
8
|
-
domains: string[];
|
|
9
|
-
onInstance(): Promise<void>;
|
|
10
|
-
execute(): Promise<void>;
|
|
11
|
-
onGetDomainList(): Promise<any[]>;
|
|
12
|
-
}
|
package/dist/d/ftp/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugins/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-upload-to-ftp.js";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
export declare class UploadCertToFTPPlugin extends AbstractTaskPlugin {
|
|
4
|
-
certType: string;
|
|
5
|
-
crtPath: string;
|
|
6
|
-
keyPath: string;
|
|
7
|
-
icPath: string;
|
|
8
|
-
pfxPath: string;
|
|
9
|
-
derPath: string;
|
|
10
|
-
jksPath: string;
|
|
11
|
-
onePath: string;
|
|
12
|
-
cert: CertInfo;
|
|
13
|
-
accessId: string;
|
|
14
|
-
onInstance(): Promise<void>;
|
|
15
|
-
execute(): Promise<void>;
|
|
16
|
-
}
|
package/dist/d/host/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugins/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-to-iis.js";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
3
|
-
export declare class HostDeployToIIS extends AbstractPlusTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
certDomains: string[];
|
|
6
|
-
accessId: string;
|
|
7
|
-
siteNames: string[];
|
|
8
|
-
pfxPassword: string;
|
|
9
|
-
onInstance(): Promise<void>;
|
|
10
|
-
execute(): Promise<void>;
|
|
11
|
-
onGetSiteList(): Promise<any[]>;
|
|
12
|
-
private checkTerminalType;
|
|
13
|
-
}
|
package/dist/d/k8s/access.d.ts
DELETED
package/dist/d/k8s/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
3
|
-
export declare class K8sApplyPlugin extends AbstractPlusTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
preOutput: any;
|
|
6
|
-
accessId: string;
|
|
7
|
-
yamlContent: string;
|
|
8
|
-
K8sClient: any;
|
|
9
|
-
onInstance(): Promise<void>;
|
|
10
|
-
execute(): Promise<void>;
|
|
11
|
-
compile(templateString: string): (data: any) => string;
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
export declare class K8sDeployToIngressPlugin extends AbstractTaskPlugin {
|
|
4
|
-
namespace: string;
|
|
5
|
-
ingressName: string;
|
|
6
|
-
accessId: string;
|
|
7
|
-
cert: CertInfo;
|
|
8
|
-
createOnNotFound: boolean;
|
|
9
|
-
execute(): Promise<void>;
|
|
10
|
-
patchNginxCertSecret(options: {
|
|
11
|
-
cert: CertInfo;
|
|
12
|
-
k8sClient: any;
|
|
13
|
-
secretNames: string[];
|
|
14
|
-
}): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
export declare class K8sDeployToSecretPlugin extends AbstractTaskPlugin {
|
|
4
|
-
namespace: string;
|
|
5
|
-
secretName: string | string[];
|
|
6
|
-
accessId: string;
|
|
7
|
-
cert: CertInfo;
|
|
8
|
-
ingressName: string[];
|
|
9
|
-
createOnNotFound: boolean;
|
|
10
|
-
K8sClient: any;
|
|
11
|
-
onInstance(): Promise<void>;
|
|
12
|
-
execute(): Promise<void>;
|
|
13
|
-
patchCertSecret(options: {
|
|
14
|
-
cert: CertInfo;
|
|
15
|
-
k8sClient: any;
|
|
16
|
-
}): Promise<void>;
|
|
17
|
-
}
|
package/dist/d/kuocai/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-to-cdn.js";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
import { KuocaiCdnAccess } from "../access.js";
|
|
4
|
-
export declare class KuocaiDeployToCDNPlugin extends AbstractTaskPlugin {
|
|
5
|
-
cert: CertInfo;
|
|
6
|
-
accessId: string;
|
|
7
|
-
domains: string[];
|
|
8
|
-
onInstance(): Promise<void>;
|
|
9
|
-
execute(): Promise<void>;
|
|
10
|
-
getLoginToken(access: KuocaiCdnAccess): Promise<{
|
|
11
|
-
jsessionId: any;
|
|
12
|
-
token: any;
|
|
13
|
-
}>;
|
|
14
|
-
getDomainList(loginRes: any): Promise<any>;
|
|
15
|
-
private doRequest;
|
|
16
|
-
onGetDomainList(data: any): Promise<any>;
|
|
17
|
-
}
|
package/dist/d/lecdn/access.d.ts
DELETED
package/dist/d/lecdn/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
import { LeCDNAccess } from "../access";
|
|
4
|
-
export declare class LeCDNUpdateCertV2 extends AbstractTaskPlugin {
|
|
5
|
-
accessId: string;
|
|
6
|
-
certIds: number[];
|
|
7
|
-
cert: CertInfo;
|
|
8
|
-
access: LeCDNAccess;
|
|
9
|
-
token: string;
|
|
10
|
-
onInstance(): Promise<void>;
|
|
11
|
-
doRequest(config: any): Promise<any>;
|
|
12
|
-
getToken(): Promise<any>;
|
|
13
|
-
getCertInfo(id: number): Promise<any>;
|
|
14
|
-
updateCert(id: number, cert: CertInfo): Promise<any>;
|
|
15
|
-
execute(): Promise<void>;
|
|
16
|
-
private checkRes;
|
|
17
|
-
onGetCertList(data: any): Promise<any>;
|
|
18
|
-
private getCerts;
|
|
19
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
import { LeCDNAccess } from "../access";
|
|
4
|
-
export declare class LeCDNUpdateCert extends AbstractTaskPlugin {
|
|
5
|
-
accessId: string;
|
|
6
|
-
certIds: number[];
|
|
7
|
-
cert: CertInfo;
|
|
8
|
-
access: LeCDNAccess;
|
|
9
|
-
token: string;
|
|
10
|
-
onInstance(): Promise<void>;
|
|
11
|
-
doRequest(config: any): Promise<any>;
|
|
12
|
-
getToken(): Promise<any>;
|
|
13
|
-
getCertInfo(id: number): Promise<any>;
|
|
14
|
-
updateCert(id: number, cert: CertInfo): Promise<any>;
|
|
15
|
-
execute(): Promise<void>;
|
|
16
|
-
private checkRes;
|
|
17
|
-
onGetCertList(data: any): Promise<any>;
|
|
18
|
-
private getCerts;
|
|
19
|
-
}
|
package/dist/d/lucky/access.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseAccess } from "@certd/pipeline";
|
|
2
|
-
/**
|
|
3
|
-
* 这个注解将注册一个授权配置
|
|
4
|
-
* 在certd的后台管理系统中,用户可以选择添加此类型的授权
|
|
5
|
-
*/
|
|
6
|
-
export declare class LuckyAccess extends BaseAccess {
|
|
7
|
-
/**
|
|
8
|
-
* 授权属性配置
|
|
9
|
-
*/
|
|
10
|
-
url: string;
|
|
11
|
-
safePath: string;
|
|
12
|
-
/**
|
|
13
|
-
* 授权属性配置
|
|
14
|
-
*/
|
|
15
|
-
openToken: string;
|
|
16
|
-
}
|
package/dist/d/lucky/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-upload.js";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { LuckyAccess } from "../access.js";
|
|
3
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
4
|
-
export declare class LuckyUpdateCert extends AbstractPlusTaskPlugin {
|
|
5
|
-
cert: CertInfo;
|
|
6
|
-
certDomains: string[];
|
|
7
|
-
accessId: string;
|
|
8
|
-
certList: string[];
|
|
9
|
-
onInstance(): Promise<void>;
|
|
10
|
-
execute(): Promise<void>;
|
|
11
|
-
doRequest(req: {
|
|
12
|
-
access: LuckyAccess;
|
|
13
|
-
urlPath: string;
|
|
14
|
-
data: any;
|
|
15
|
-
method?: string;
|
|
16
|
-
}): Promise<any>;
|
|
17
|
-
onGetCertList(): Promise<any[]>;
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
3
|
-
export declare class MaoyunDeployToCdn extends AbstractPlusTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
certDomains: string[];
|
|
6
|
-
accessId: string;
|
|
7
|
-
domainList: string[];
|
|
8
|
-
onInstance(): Promise<void>;
|
|
9
|
-
execute(): Promise<void>;
|
|
10
|
-
onGetDomainList(): Promise<any[]>;
|
|
11
|
-
}
|
package/dist/d/plesk/access.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { BaseAccess } from "@certd/pipeline";
|
|
2
|
-
import FormData from "form-data";
|
|
3
|
-
import { HttpRequestConfig } from "@certd/basic";
|
|
4
|
-
export type PleskReq = {
|
|
5
|
-
sessionId?: string;
|
|
6
|
-
token?: string;
|
|
7
|
-
formData?: FormData;
|
|
8
|
-
checkRes?: boolean;
|
|
9
|
-
} & HttpRequestConfig;
|
|
10
|
-
/**
|
|
11
|
-
*/
|
|
12
|
-
export declare class PleskAccess extends BaseAccess {
|
|
13
|
-
url: string;
|
|
14
|
-
username: string;
|
|
15
|
-
password: string;
|
|
16
|
-
testRequest: boolean;
|
|
17
|
-
onTestRequest(): Promise<string>;
|
|
18
|
-
getSessionId(): Promise<any>;
|
|
19
|
-
getCertList(sessionId: string): Promise<{
|
|
20
|
-
list: any;
|
|
21
|
-
token: string;
|
|
22
|
-
}>;
|
|
23
|
-
getTokenFromDetail(detail: string): string;
|
|
24
|
-
doGetRequest(req: PleskReq): Promise<any>;
|
|
25
|
-
doEditRequest(req: PleskReq): Promise<any>;
|
|
26
|
-
deleteUnusedCert(req: {
|
|
27
|
-
sessionId: any;
|
|
28
|
-
token: string;
|
|
29
|
-
siteDomainId: number;
|
|
30
|
-
}): Promise<void>;
|
|
31
|
-
}
|
package/dist/d/plesk/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-cert.js";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
3
|
-
export declare class PleskDeploySiteCert extends AbstractPlusTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
certDomains: string[];
|
|
6
|
-
accessId: string;
|
|
7
|
-
siteDomainIds: number[];
|
|
8
|
-
clearUnused: boolean;
|
|
9
|
-
execute(): Promise<void>;
|
|
10
|
-
onGetDomainList(data: any): Promise<any[]>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
3
|
-
export declare class PleskRefreshCert extends AbstractPlusTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
certDomains: string[];
|
|
6
|
-
accessId: string;
|
|
7
|
-
domainCertIds: string[];
|
|
8
|
-
execute(): Promise<void>;
|
|
9
|
-
onGetCertList(data: any): Promise<any[]>;
|
|
10
|
-
}
|
package/dist/d/qiniu/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugins/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-to-oss.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
export declare class QiniuDeployCertToOSS extends AbstractTaskPlugin {
|
|
4
|
-
domainName: string;
|
|
5
|
-
cert: CertInfo | string;
|
|
6
|
-
accessId: string;
|
|
7
|
-
onInstance(): Promise<void>;
|
|
8
|
-
execute(): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { HttpRequestConfig } from "@certd/basic";
|
|
3
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
4
|
-
import { SafelineAccess } from "../access.js";
|
|
5
|
-
export declare class SafelineDeployToWebsitePlugin extends AbstractTaskPlugin {
|
|
6
|
-
cert: CertInfo;
|
|
7
|
-
certDomains: string[];
|
|
8
|
-
accessId: string;
|
|
9
|
-
certIds: number[];
|
|
10
|
-
access: SafelineAccess;
|
|
11
|
-
onInstance(): Promise<void>;
|
|
12
|
-
execute(): Promise<void>;
|
|
13
|
-
uploadCert(certId: number): Promise<void>;
|
|
14
|
-
doRequest(config: HttpRequestConfig<any>): Promise<any>;
|
|
15
|
-
onGetCertIds(): Promise<any[]>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./deploy-to-website.js";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BaseAccess } from "@certd/pipeline";
|
|
2
|
-
/**
|
|
3
|
-
* 这个注解将注册一个授权配置
|
|
4
|
-
* 在certd的后台管理系统中,用户可以选择添加此类型的授权
|
|
5
|
-
*/
|
|
6
|
-
export declare class SynologyAccess extends BaseAccess {
|
|
7
|
-
version: string;
|
|
8
|
-
baseUrl: string;
|
|
9
|
-
username: string;
|
|
10
|
-
password: string;
|
|
11
|
-
otp: boolean;
|
|
12
|
-
deviceId: string;
|
|
13
|
-
skipSslVerify: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* 请求超时时间设置
|
|
16
|
-
* @param data
|
|
17
|
-
*/
|
|
18
|
-
timeout: number;
|
|
19
|
-
onLoginWithOPTCode(data: {
|
|
20
|
-
otpCode: string;
|
|
21
|
-
}): Promise<import("./client.js").SynologyAccessToken>;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-to-panel.js";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
2
|
-
import { AbstractPlusTaskPlugin } from "../../lib/index.js";
|
|
3
|
-
import { SynologyClient } from "../client.js";
|
|
4
|
-
export declare class SynologyDeployToPanel extends AbstractPlusTaskPlugin {
|
|
5
|
-
certName: string;
|
|
6
|
-
cert: CertInfo;
|
|
7
|
-
accessId: string;
|
|
8
|
-
onInstance(): Promise<void>;
|
|
9
|
-
execute(): Promise<void>;
|
|
10
|
-
updateCertToPanel(client: SynologyClient, certItem: any): Promise<void>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./plugin-deploy-to-space.js";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AbstractTaskPlugin } from "@certd/pipeline";
|
|
2
|
-
import { CertInfo } from "@certd/plugin-cert";
|
|
3
|
-
export declare class UniCloudDeployToSpace extends AbstractTaskPlugin {
|
|
4
|
-
cert: CertInfo;
|
|
5
|
-
accessId: string;
|
|
6
|
-
spaceId: string;
|
|
7
|
-
provider: string;
|
|
8
|
-
domains: string[];
|
|
9
|
-
onInstance(): Promise<void>;
|
|
10
|
-
execute(): Promise<void>;
|
|
11
|
-
}
|
package/dist/d/wxpay/access.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BaseAccess } from "@certd/pipeline";
|
|
2
|
-
export declare class WxpayAccess extends BaseAccess {
|
|
3
|
-
/**
|
|
4
|
-
* appId: "<-- 请填写您的AppId,例如:2019091767145019 -->",
|
|
5
|
-
* privateKey: "<-- 请填写您的应用私钥,例如:MIIEvQIBADANB ... ... -->",
|
|
6
|
-
* alipayPublicKey: "<-- 请填写您的支付宝公钥,例如:MIIBIjANBg... -->",
|
|
7
|
-
*/
|
|
8
|
-
appId: string;
|
|
9
|
-
mchid: string;
|
|
10
|
-
publicKey: string;
|
|
11
|
-
privateKey: string;
|
|
12
|
-
key: string;
|
|
13
|
-
}
|