mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-24 23:10:13 +08:00
refactor: unify type definitions of core providers
This commit is contained in:
@@ -0,0 +1,132 @@
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\1panel-console\1panel_console.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-alb\aliyun_alb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-apigw\aliyun_apigw.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-cas\aliyun_cas.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-cas-deploy\aliyun_cas_deploy.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-cdn\aliyun_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-clb\aliyun_clb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-dcdn\aliyun_dcdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-ddospro\aliyun_ddospro.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-esa\aliyun_esa.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-esa-saas\aliyun_esasaas.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-fc\aliyun_fc.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-ga\aliyun_ga.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-live\aliyun_live.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-nlb\aliyun_nlb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-oss\aliyun_oss.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-vod\aliyun_vod.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aliyun-waf\aliyun_waf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\apisix\apisix.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aws-acm\aws_acm.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aws-cloudfront\aws_cloudfront.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\aws-iam\aws_iam.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\azure-keyvault\azure_keyvault.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baiducloud-appblb\baiducloud_appblb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baiducloud-blb\baiducloud_blb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baiducloud-cdn\baiducloud_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baiducloud-cert\baiducloud_cert.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baishan-cdn\baishan_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baotapanel\baotapanel.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baotapanel-console\baotapanel_console.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baotapanelgo\baotapanelgo.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baotapanelgo-console\baotapanelgo_console.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baotawaf\baotawaf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\baotawaf-console\baotawaf_console.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\bunny-cdn\bunny_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\byteplus-cdn\byteplus_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\byteplus-certcenter\byteplus_certcenter.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\byteplus-medialive\byteplus_medialive.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\byteplus-tos\byteplus_tos.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\cachefly\cachefly.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\cdnfly\cdnfly.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\cpanel\cpanel.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-ao\ctcccloud_ao.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-cdn\ctcccloud_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-cms\ctcccloud_cms.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-elb\ctcccloud_elb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-faas\ctcccloud_faas.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-icdn\ctcccloud_icdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ctcccloud-lvdn\ctcccloud_lvdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\dogecloud-cdn\dogecloud_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\dokploy\dokploy.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\flexcdn\flexcdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\flyio\flyio.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ftp\ftp.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\gcore-cdn\gcore_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\goedge\goedge.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-aad\huaweicloud_aad.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-apig\huaweicloud_apig.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-cdn\huaweicloud_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-elb\huaweicloud_elb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-live\huaweicloud_live.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-obs\huaweicloud_obs.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-scm\huaweicloud_scm.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\huaweicloud-waf\huaweicloud_waf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\jdcloud-alb\jdcloud_alb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\jdcloud-cdn\jdcloud_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\jdcloud-live\jdcloud_live.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\jdcloud-ssl\jdcloud_ssl.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\jdcloud-vod\jdcloud_vod.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\jdcloud-waf\jdcloud_waf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\k8s-secret\k8s_secret.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\kong\kong.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ksyun-cdn\ksyun_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ksyun-slb\ksyun_slb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\lecdn\lecdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\local\local.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\mohua-mvh\mohua_mvh.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\netlify\netlify.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\nginxproxymanager\nginxproxymanager.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\proxmoxve\proxmoxve.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\qiniu-cdn\qiniu_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\qiniu-kodo\qiniu_kodo.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\qiniu-pili\qiniu_pili.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\rainyun-rcdn\rainyun_rcdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\rainyun-sslcenter\rainyun_sslcenter.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ratpanel\ratpanel.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ratpanel-console\ratpanel_console.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\s3\s3.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\safeline\safeline.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\samwaf\samwaf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ssh\ssh.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\synologydsm\synologydsm.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-cdn\tencentcloud_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-clb\tencentcloud_clb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-cos\tencentcloud_cos.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-css\tencentcloud_css.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-ecdn\tencentcloud_ecdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-eo\tencentcloud_eo.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-gaap\tencentcloud_gaap.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-scf\tencentcloud_scf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-ssl\tencentcloud_ssl.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-ssl-deploy\tencentcloud_ssl_deploy.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-ssl-update\tencentcloud_ssl_update.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-vod\tencentcloud_vod.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\tencentcloud-waf\tencentcloud_waf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ucloud-ualb\ucloud_ualb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ucloud-ucdn\ucloud_ucdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ucloud-uclb\ucloud_uclb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ucloud-uewaf\ucloud_uewaf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ucloud-upathx\ucloud_upathx.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\ucloud-us3\ucloud_us3.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\unicloud-webhost\unicloud_webhost.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\upyun-cdn\upyun_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\upyun-file\upyun_file.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\vercel\vercel.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-alb\volcengine_alb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-apig\volcengine_apig.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-cdn\volcengine_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-certcenter\volcengine_certcenter.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-clb\volcengine_clb.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-dcdn\volcengine_dcdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-imagex\volcengine_imagex.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-live\volcengine_live.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-tos\volcengine_tos.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-vod\volcengine_vod.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\volcengine-waf\volcengine_waf.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\wangsu-cdn\wangsu_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\wangsu-cdnpro\wangsu_cdnpro.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\wangsu-certificate\wangsu_certificate.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\webhook\webhook.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\zenlayer-cdn\zenlayer_cdn.go
|
||||
D:\Projects\certimate\dev-fork\pkg\core\deployer\providers\zenlayer-ga\zenlayer_ga.go
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
west35cn "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/35cn"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/35cn"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := west35cn.NewChallenger(&west35cn.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
dnscom "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/51dnscom"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/51dnscom"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dnscom.NewChallenger(&dnscom.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
ApiSecret: credentials.ApiSecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/acmedns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/acmedns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := acmedns.NewChallenger(&acmedns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
Credentials: credentials.Credentials,
|
||||
})
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/acmehttpreq"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/acmehttpreq"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := acmehttpreq.NewChallenger(&acmehttpreq.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Endpoint: credentials.Endpoint,
|
||||
Mode: credentials.Mode,
|
||||
Username: credentials.Username,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
akamaiedgedns "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/akamai-edgedns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/akamai-edgedns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := akamaiedgedns.NewChallenger(&akamaiedgedns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Host: credentials.Host,
|
||||
ClientToken: credentials.ClientToken,
|
||||
ClientSecret: credentials.ClientSecret,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aliyun"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aliyun"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyun.NewChallenger(&aliyun.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunesa "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aliyun-esa"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aliyun-esa"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunesa.NewChallenger(&aliyunesa.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/arvancloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/arvancloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := arvancloud.NewChallenger(&arvancloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
awslightsail "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aws-lightsail"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aws-lightsail"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := awslightsail.NewChallenger(&awslightsail.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
awsroute53 "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aws-route53"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/aws-route53"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := awsroute53.NewChallenger(&awsroute53.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
azuredns "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/azure-dns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/azure-dns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := azuredns.NewChallenger(&azuredns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
TenantId: credentials.TenantId,
|
||||
ClientId: credentials.ClientId,
|
||||
ClientSecret: credentials.ClientSecret,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/baiducloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/baiducloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := baiducloud.NewChallenger(&baiducloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/beget"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/beget"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := beget.NewChallenger(&beget.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/bookmyname"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/bookmyname"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := bookmyname.NewChallenger(&bookmyname.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
Password: credentials.Password,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/bunny"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/bunny"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := bunny.NewChallenger(&bunny.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/byteplus"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/byteplus"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := byteplus.NewChallenger(&byteplus.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cloudflare"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cloudflare"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := cloudflare.NewChallenger(&cloudflare.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
DnsApiToken: credentials.DnsApiToken,
|
||||
ZoneApiToken: credentials.ZoneApiToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cloudns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cloudns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := cloudns.NewChallenger(&cloudns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AuthId: credentials.AuthId,
|
||||
AuthPassword: credentials.AuthPassword,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cmcccloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cmcccloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := cmcccloud.NewChallenger(&cmcccloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
conohavpsv2 "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/conohavpsv2"
|
||||
conohavpsv3 "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/conohavpsv3"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/conohavpsv2"
|
||||
chlgimplv3 "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/conohavpsv3"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -19,7 +19,7 @@ func init() {
|
||||
|
||||
switch credentials.ApiVersion {
|
||||
case "2", "2.0", "v2", "v2.0":
|
||||
return conohavpsv2.NewChallenger(&conohavpsv2.ChallengerConfig{
|
||||
return chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiUserName: credentials.ApiUserName,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
TenantId: credentials.TenantId,
|
||||
@@ -27,7 +27,7 @@ func init() {
|
||||
DnsTTL: options.DnsTTL,
|
||||
})
|
||||
case "3", "3.0", "v3", "v3.0":
|
||||
return conohavpsv3.NewChallenger(&conohavpsv3.ChallengerConfig{
|
||||
return chlgimplv3.NewChallenger(&chlgimplv3.ChallengerConfig{
|
||||
ApiUserId: credentials.ApiUserId,
|
||||
ApiUserName: credentials.ApiUserName,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/constellix"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/constellix"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := constellix.NewChallenger(&constellix.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
SecretKey: credentials.SecretKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cpanel"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/cpanel"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := cpanel.NewChallenger(&cpanel.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
Username: credentials.Username,
|
||||
ApiToken: credentials.ApiToken,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ctcccloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ctcccloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := ctcccloud.NewChallenger(&ctcccloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/desec"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/desec"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := desec.NewChallenger(&desec.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Token: credentials.Token,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/digitalocean"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/digitalocean"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := digitalocean.NewChallenger(&digitalocean.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessToken: credentials.AccessToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dnsexit"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dnsexit"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dnsexit.NewChallenger(&dnsexit.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dnsla"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dnsla"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dnsla.NewChallenger(&dnsla.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiId: credentials.ApiId,
|
||||
ApiSecret: credentials.ApiSecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dnsmadeeasy"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dnsmadeeasy"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dnsmadeeasy.NewChallenger(&dnsmadeeasy.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
ApiSecret: credentials.ApiSecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/duckdns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/duckdns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := duckdns.NewChallenger(&duckdns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Token: credentials.Token,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
})
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dynadot"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dynadot"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dynadot.NewChallenger(&dynadot.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
ApiSecret: credentials.ApiSecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dynu"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dynu"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dynu.NewChallenger(&dynu.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dynv6"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/dynv6"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := dynv6.NewChallenger(&dynv6.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
HttpToken: credentials.HttpToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/ftp"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/ftp"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := ftp.NewChallenger(&ftp.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
FtpHost: credentials.Host,
|
||||
FtpPort: credentials.Port,
|
||||
FtpUsername: credentials.Username,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/gandinet"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/gandinet"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := gandinet.NewChallenger(&gandinet.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
PersonalAccessToken: credentials.PersonalAccessToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/gcore"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/gcore"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := gcore.NewChallenger(&gcore.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiToken: credentials.ApiToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/gname"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/gname"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := gname.NewChallenger(&gname.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AppId: credentials.AppId,
|
||||
AppKey: credentials.AppKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/godaddy"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/godaddy"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := godaddy.NewChallenger(&godaddy.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
ApiSecret: credentials.ApiSecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/hetzner"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/hetzner"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := hetzner.NewChallenger(&hetzner.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiToken: credentials.ApiToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/hostingde"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/hostingde"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := hostingde.NewChallenger(&hostingde.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/hostinger"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/hostinger"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := hostinger.NewChallenger(&hostinger.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiToken: credentials.ApiToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/huaweicloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/huaweicloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := huaweicloud.NewChallenger(&huaweicloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/infomaniak"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/infomaniak"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := infomaniak.NewChallenger(&infomaniak.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessToken: credentials.AccessToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ionos"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ionos"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := ionos.NewChallenger(&ionos.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKeyPublicPrefix: credentials.ApiKeyPublicPrefix,
|
||||
ApiKeySecret: credentials.ApiKeySecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/jdcloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/jdcloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := jdcloud.NewChallenger(&jdcloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
RegionId: xmaps.GetString(options.ProviderExtendedConfig, "regionId"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/linode"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/linode"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := linode.NewChallenger(&linode.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessToken: credentials.AccessToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -3,13 +3,13 @@ package certifiers
|
||||
import (
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/local"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/local"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
func init() {
|
||||
ACMEHttp01Registries.MustRegister(domain.ACMEHttp01ProviderTypeLocal, func(options *ProviderFactoryOptions) (core.ACMEChallenger, error) {
|
||||
provider, err := local.NewChallenger(&local.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
WebRootPath: xmaps.GetString(options.ProviderExtendedConfig, "webRootPath"),
|
||||
})
|
||||
return provider, err
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
namecheap "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/namecheap"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/namecheap"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := namecheap.NewChallenger(&namecheap.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/namedotcom"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/namedotcom"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := namedotcom.NewChallenger(&namedotcom.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
ApiToken: credentials.ApiToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/namesilo"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/namesilo"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := namesilo.NewChallenger(&namesilo.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/netcup"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/netcup"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := netcup.NewChallenger(&netcup.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
CustomerNumber: credentials.CustomerNumber,
|
||||
ApiKey: credentials.ApiKey,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/netlify"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/netlify"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := netlify.NewChallenger(&netlify.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiToken: credentials.ApiToken,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ns1"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ns1"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := ns1.NewChallenger(&ns1.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ovhcloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ovhcloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := ovhcloud.NewChallenger(&ovhcloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Endpoint: credentials.Endpoint,
|
||||
AuthMethod: credentials.AuthMethod,
|
||||
ApplicationKey: credentials.ApplicationKey,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/porkbun"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/porkbun"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := porkbun.NewChallenger(&porkbun.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
SecretApiKey: credentials.SecretApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/powerdns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/powerdns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := powerdns.NewChallenger(&powerdns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
ApiKey: credentials.ApiKey,
|
||||
AllowInsecureConnections: credentials.AllowInsecureConnections,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/qingcloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/qingcloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := qingcloud.NewChallenger(&qingcloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/rainyun"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/rainyun"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := rainyun.NewChallenger(&rainyun.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/regru"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/regru"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := regru.NewChallenger(®ru.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
Password: credentials.Password,
|
||||
MtlsCertificate: credentials.MtlsCertificate,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/rfc2136"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/rfc2136"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := rfc2136.NewChallenger(&rfc2136.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Host: credentials.Host,
|
||||
Port: credentials.Port,
|
||||
TsigAlgorithm: credentials.TsigAlgorithm,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/rucenter"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/rucenter"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := rucenter.NewChallenger(&rucenter.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
Password: credentials.Password,
|
||||
ApplicationId: credentials.ApplicationId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/s3"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/s3"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := s3.NewChallenger(&s3.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Endpoint: credentials.Endpoint,
|
||||
AccessKey: credentials.AccessKey,
|
||||
SecretKey: credentials.SecretKey,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/spaceship"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/spaceship"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := spaceship.NewChallenger(&spaceship.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
ApiSecret: credentials.ApiSecret,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/ssh"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/http01/ssh"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,9 +16,9 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
jumpServers := make([]ssh.ServerConfig, len(credentials.JumpServers))
|
||||
jumpServers := make([]chlgimpl.ServerConfig, len(credentials.JumpServers))
|
||||
for i, jumpServer := range credentials.JumpServers {
|
||||
jumpServers[i] = ssh.ServerConfig{
|
||||
jumpServers[i] = chlgimpl.ServerConfig{
|
||||
SshHost: jumpServer.Host,
|
||||
SshPort: jumpServer.Port,
|
||||
SshAuthMethod: jumpServer.AuthMethod,
|
||||
@@ -29,8 +29,8 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
provider, err := ssh.NewChallenger(&ssh.ChallengerConfig{
|
||||
ServerConfig: ssh.ServerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ServerConfig: chlgimpl.ServerConfig{
|
||||
SshHost: credentials.Host,
|
||||
SshPort: credentials.Port,
|
||||
SshAuthMethod: credentials.AuthMethod,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/technitiumdns"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/technitiumdns"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := technitiumdns.NewChallenger(&technitiumdns.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
ApiToken: credentials.ApiToken,
|
||||
AllowInsecureConnections: credentials.AllowInsecureConnections,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/tencentcloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/tencentcloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := tencentcloud.NewChallenger(&tencentcloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
SecretId: credentials.SecretId,
|
||||
SecretKey: credentials.SecretKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
teo "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/tencentcloud-eo"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/tencentcloud-eo"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := teo.NewChallenger(&teo.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
SecretId: credentials.SecretId,
|
||||
SecretKey: credentials.SecretKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/todaynic"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/todaynic"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := todaynic.NewChallenger(&todaynic.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
UserId: credentials.UserId,
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ucloud"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/ucloud"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := ucloud.NewChallenger(&ucloud.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
PrivateKey: credentials.PrivateKey,
|
||||
PublicKey: credentials.PublicKey,
|
||||
ProjectId: credentials.ProjectId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/vercel"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/vercel"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := vercel.NewChallenger(&vercel.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiAccessToken: credentials.ApiAccessToken,
|
||||
TeamId: credentials.TeamId,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/volcengine"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/volcengine"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := volcengine.NewChallenger(&volcengine.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/vultr"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/vultr"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := vultr.NewChallenger(&vultr.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
ApiKey: credentials.ApiKey,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
DnsTTL: options.DnsTTL,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/westcn"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/westcn"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := westcn.NewChallenger(&westcn.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
Username: credentials.Username,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/xinnet"
|
||||
chlgimpl "github.com/certimate-go/certimate/pkg/core/certifier/challengers/dns01/xinnet"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := xinnet.NewChallenger(&xinnet.ChallengerConfig{
|
||||
provider, err := chlgimpl.NewChallenger(&chlgimpl.ChallengerConfig{
|
||||
AgentId: credentials.AgentId,
|
||||
ApiPassword: credentials.ApiPassword,
|
||||
DnsPropagationTimeout: options.DnsPropagationTimeout,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
onepanel "github.com/certimate-go/certimate/pkg/core/deployer/providers/1panel"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/1panel"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := onepanel.NewDeployer(&onepanel.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
ApiVersion: credentials.ApiVersion,
|
||||
ApiKey: credentials.ApiKey,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
opconsole "github.com/certimate-go/certimate/pkg/core/deployer/providers/1panel-console"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/1panel-console"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := opconsole.NewDeployer(&opconsole.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
ApiVersion: credentials.ApiVersion,
|
||||
ApiKey: credentials.ApiKey,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunalb "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-alb"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-alb"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunalb.NewDeployer(&aliyunalb.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunapigw "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-apigw"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-apigw"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunapigw.NewDeployer(&aliyunapigw.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyuncas "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-cas"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-cas"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyuncas.NewDeployer(&aliyuncas.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyuncasdeploy "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-cas-deploy"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-cas-deploy"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -19,7 +19,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyuncasdeploy.NewDeployer(&aliyuncasdeploy.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyuncdn "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-cdn"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-cdn"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyuncdn.NewDeployer(&aliyuncdn.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunclb "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-clb"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-clb"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunclb.NewDeployer(&aliyunclb.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyundcdn "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-dcdn"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-dcdn"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyundcdn.NewDeployer(&aliyundcdn.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunddospro "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-ddospro"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-ddospro"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunddospro.NewDeployer(&aliyunddospro.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunesa "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-esa"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-esa"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunesa.NewDeployer(&aliyunesa.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunesasaas "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-esa-saas"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-esa-saas"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunesasaas.NewDeployer(&aliyunesasaas.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunfc "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-fc"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-fc"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunfc.NewDeployer(&aliyunfc.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunga "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-ga"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-ga"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunga.NewDeployer(&aliyunga.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunlive "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-live"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-live"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunlive.NewDeployer(&aliyunlive.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunnlb "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-nlb"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-nlb"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunnlb.NewDeployer(&aliyunnlb.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunoss "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-oss"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-oss"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunoss.NewDeployer(&aliyunoss.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunvod "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-vod"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-vod"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunvod.NewDeployer(&aliyunvod.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
aliyunwaf "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-waf"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aliyun-waf"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := aliyunwaf.NewDeployer(&aliyunwaf.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
AccessKeySecret: credentials.AccessKeySecret,
|
||||
ResourceGroupId: credentials.ResourceGroupId,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/pkg/core/deployer/providers/apisix"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/apisix"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := apisix.NewDeployer(&apisix.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
ServerUrl: credentials.ServerUrl,
|
||||
ApiKey: credentials.ApiKey,
|
||||
AllowInsecureConnections: credentials.AllowInsecureConnections,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
awsacm "github.com/certimate-go/certimate/pkg/core/deployer/providers/aws-acm"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aws-acm"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := awsacm.NewDeployer(&awsacm.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
awscloudfront "github.com/certimate-go/certimate/pkg/core/deployer/providers/aws-cloudfront"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aws-cloudfront"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := awscloudfront.NewDeployer(&awscloudfront.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
awsiam "github.com/certimate-go/certimate/pkg/core/deployer/providers/aws-iam"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/aws-iam"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := awsiam.NewDeployer(&awsiam.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
azurekeyvault "github.com/certimate-go/certimate/pkg/core/deployer/providers/azure-keyvault"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/azure-keyvault"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := azurekeyvault.NewDeployer(&azurekeyvault.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
TenantId: credentials.TenantId,
|
||||
ClientId: credentials.ClientId,
|
||||
ClientSecret: credentials.ClientSecret,
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
baiducloudappblb "github.com/certimate-go/certimate/pkg/core/deployer/providers/baiducloud-appblb"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/baiducloud-appblb"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := baiducloudappblb.NewDeployer(&baiducloudappblb.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/pkg/core"
|
||||
baiducloudblb "github.com/certimate-go/certimate/pkg/core/deployer/providers/baiducloud-blb"
|
||||
dplyimpl "github.com/certimate-go/certimate/pkg/core/deployer/providers/baiducloud-blb"
|
||||
xmaps "github.com/certimate-go/certimate/pkg/utils/maps"
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ func init() {
|
||||
return nil, fmt.Errorf("failed to populate provider access config: %w", err)
|
||||
}
|
||||
|
||||
provider, err := baiducloudblb.NewDeployer(&baiducloudblb.DeployerConfig{
|
||||
provider, err := dplyimpl.NewDeployer(&dplyimpl.DeployerConfig{
|
||||
AccessKeyId: credentials.AccessKeyId,
|
||||
SecretAccessKey: credentials.SecretAccessKey,
|
||||
Region: xmaps.GetString(options.ProviderExtendedConfig, "region"),
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user