chore: change repo
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package applicant
|
||||
|
||||
import "github.com/usual2970/certimate/internal/domain"
|
||||
import "github.com/certimate-go/certimate/internal/domain"
|
||||
|
||||
const (
|
||||
caLetsEncrypt = string(domain.CAProviderTypeLetsEncrypt)
|
||||
|
||||
@@ -13,10 +13,10 @@ import (
|
||||
"github.com/go-acme/lego/v4/registration"
|
||||
"golang.org/x/sync/singleflight"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
xcert "github.com/usual2970/certimate/pkg/utils/cert"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
xcert "github.com/certimate-go/certimate/te/pkg/utils/cert"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
)
|
||||
|
||||
type acmeUser struct {
|
||||
|
||||
@@ -19,10 +19,10 @@ import (
|
||||
"golang.org/x/exp/slices"
|
||||
"golang.org/x/time/rate"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
xslices "github.com/usual2970/certimate/pkg/utils/slices"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
xslices "github.com/certimate-go/certimate/te/pkg/utils/slices"
|
||||
)
|
||||
|
||||
type ApplyResult struct {
|
||||
|
||||
@@ -5,46 +5,46 @@ import (
|
||||
|
||||
"github.com/go-acme/lego/v4/challenge"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
pACMEHttpReq "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/acmehttpreq"
|
||||
pAliyun "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/aliyun"
|
||||
pAliyunESA "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/aliyun-esa"
|
||||
pAWSRoute53 "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/aws-route53"
|
||||
pAzureDNS "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/azure-dns"
|
||||
pBaiduCloud "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/baiducloud"
|
||||
pBunny "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/bunny"
|
||||
pCloudflare "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/cloudflare"
|
||||
pClouDNS "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/cloudns"
|
||||
pCMCCCloud "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/cmcccloud"
|
||||
pConstellix "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/constellix"
|
||||
pCTCCCloud "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/ctcccloud"
|
||||
pDeSEC "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/desec"
|
||||
pDigitalOcean "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/digitalocean"
|
||||
pDNSLA "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/dnsla"
|
||||
pDuckDNS "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/duckdns"
|
||||
pDynv6 "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/dynv6"
|
||||
pGcore "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/gcore"
|
||||
pGname "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/gname"
|
||||
pGoDaddy "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/godaddy"
|
||||
pHetzner "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/hetzner"
|
||||
pHuaweiCloud "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/huaweicloud"
|
||||
pJDCloud "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/jdcloud"
|
||||
pNamecheap "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/namecheap"
|
||||
pNameDotCom "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/namedotcom"
|
||||
pNameSilo "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/namesilo"
|
||||
pNetcup "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/netcup"
|
||||
pNetlify "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/netlify"
|
||||
pNS1 "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/ns1"
|
||||
pPorkbun "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/porkbun"
|
||||
pPowerDNS "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/powerdns"
|
||||
pRainYun "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/rainyun"
|
||||
pTencentCloud "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/tencentcloud"
|
||||
pTencentCloudEO "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/tencentcloud-eo"
|
||||
pUCloudUDNR "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/ucloud-udnr"
|
||||
pVercel "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/vercel"
|
||||
pVolcEngine "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/volcengine"
|
||||
pWestcn "github.com/usual2970/certimate/pkg/core/ssl-applicator/acme-dns01/providers/westcn"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
pACMEHttpReq "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/acmehttpreq"
|
||||
pAliyun "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/aliyun"
|
||||
pAliyunESA "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/aliyun-esa"
|
||||
pAWSRoute53 "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/aws-route53"
|
||||
pAzureDNS "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/azure-dns"
|
||||
pBaiduCloud "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/baiducloud"
|
||||
pBunny "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/bunny"
|
||||
pCloudflare "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/cloudflare"
|
||||
pClouDNS "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/cloudns"
|
||||
pCMCCCloud "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/cmcccloud"
|
||||
pConstellix "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/constellix"
|
||||
pCTCCCloud "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/ctcccloud"
|
||||
pDeSEC "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/desec"
|
||||
pDigitalOcean "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/digitalocean"
|
||||
pDNSLA "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/dnsla"
|
||||
pDuckDNS "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/duckdns"
|
||||
pDynv6 "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/dynv6"
|
||||
pGcore "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/gcore"
|
||||
pGname "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/gname"
|
||||
pGoDaddy "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/godaddy"
|
||||
pHetzner "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/hetzner"
|
||||
pHuaweiCloud "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/huaweicloud"
|
||||
pJDCloud "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/jdcloud"
|
||||
pNamecheap "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/namecheap"
|
||||
pNameDotCom "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/namedotcom"
|
||||
pNameSilo "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/namesilo"
|
||||
pNetcup "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/netcup"
|
||||
pNetlify "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/netlify"
|
||||
pNS1 "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/ns1"
|
||||
pPorkbun "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/porkbun"
|
||||
pPowerDNS "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/powerdns"
|
||||
pRainYun "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/rainyun"
|
||||
pTencentCloud "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/tencentcloud"
|
||||
pTencentCloudEO "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/tencentcloud-eo"
|
||||
pUCloudUDNR "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/ucloud-udnr"
|
||||
pVercel "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/vercel"
|
||||
pVolcEngine "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/volcengine"
|
||||
pWestcn "github.com/certimate-go/certimate/te/pkg/core/ssl-applicator/acme-dns01/providers/westcn"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
)
|
||||
|
||||
type applicantProviderOptions struct {
|
||||
|
||||
@@ -13,12 +13,12 @@ import (
|
||||
"github.com/go-acme/lego/v4/certcrypto"
|
||||
"github.com/pocketbase/dbx"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/usual2970/certimate/internal/notify"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
xcert "github.com/usual2970/certimate/pkg/utils/cert"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/te/internal/notify"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
xcert "github.com/certimate-go/certimate/te/pkg/utils/cert"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"log/slog"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/usual2970/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
"github.com/certimate-go/certimate/te/pkg/core"
|
||||
)
|
||||
|
||||
type Deployer interface {
|
||||
|
||||
@@ -5,106 +5,106 @@ import (
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/pkg/core"
|
||||
p1PanelConsole "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/1panel-console"
|
||||
p1PanelSite "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/1panel-site"
|
||||
pAliyunALB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-alb"
|
||||
pAliyunAPIGW "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-apigw"
|
||||
pAliyunCAS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-cas"
|
||||
pAliyunCASDeploy "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-cas-deploy"
|
||||
pAliyunCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-cdn"
|
||||
pAliyunCLB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-clb"
|
||||
pAliyunDCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-dcdn"
|
||||
pAliyunDDoS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-ddos"
|
||||
pAliyunESA "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-esa"
|
||||
pAliyunFC "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-fc"
|
||||
pAliyunGA "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-ga"
|
||||
pAliyunLive "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-live"
|
||||
pAliyunNLB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-nlb"
|
||||
pAliyunOSS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-oss"
|
||||
pAliyunVOD "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-vod"
|
||||
pAliyunWAF "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aliyun-waf"
|
||||
pAPISIX "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/apisix"
|
||||
pAWSACM "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aws-acm"
|
||||
pAWSCloudFront "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aws-cloudfront"
|
||||
pAWSIAM "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/aws-iam"
|
||||
pAzureKeyVault "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/azure-keyvault"
|
||||
pBaiduCloudAppBLB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baiducloud-appblb"
|
||||
pBaiduCloudBLB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baiducloud-blb"
|
||||
pBaiduCloudCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baiducloud-cdn"
|
||||
pBaiduCloudCert "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baiducloud-cert"
|
||||
pBaishanCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baishan-cdn"
|
||||
pBaotaPanelConsole "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baotapanel-console"
|
||||
pBaotaPanelSite "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baotapanel-site"
|
||||
pBaotaWAFConsole "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baotawaf-console"
|
||||
pBaotaWAFSite "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/baotawaf-site"
|
||||
pBunnyCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/bunny-cdn"
|
||||
pBytePlusCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/byteplus-cdn"
|
||||
pCacheFly "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/cachefly"
|
||||
pCdnfly "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/cdnfly"
|
||||
pCTCCCloudAO "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ctcccloud-ao"
|
||||
pCTCCCloudCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ctcccloud-cdn"
|
||||
pCTCCCloudCMS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ctcccloud-cms"
|
||||
pCTCCCloudELB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ctcccloud-elb"
|
||||
pCTCCCloudICDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ctcccloud-icdn"
|
||||
pCTCCCloudLVDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ctcccloud-lvdn"
|
||||
pDogeCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/dogecloud-cdn"
|
||||
pEdgioApplications "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/edgio-applications"
|
||||
pFlexCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/flexcdn"
|
||||
pGcoreCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/gcore-cdn"
|
||||
pGoEdge "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/goedge"
|
||||
pHuaweiCloudCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/huaweicloud-cdn"
|
||||
pHuaweiCloudELB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/huaweicloud-elb"
|
||||
pHuaweiCloudSCM "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/huaweicloud-scm"
|
||||
pHuaweiCloudWAF "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/huaweicloud-waf"
|
||||
pJDCloudALB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/jdcloud-alb"
|
||||
pJDCloudCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/jdcloud-cdn"
|
||||
pJDCloudLive "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/jdcloud-live"
|
||||
pJDCloudVOD "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/jdcloud-vod"
|
||||
pK8sSecret "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/k8s-secret"
|
||||
pLeCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/lecdn"
|
||||
pLocal "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/local"
|
||||
pNetlifySite "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/netlify-site"
|
||||
pProxmoxVE "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/proxmoxve"
|
||||
pQiniuCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/qiniu-cdn"
|
||||
pQiniuPili "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/qiniu-pili"
|
||||
pRainYunRCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/rainyun-rcdn"
|
||||
pRatPanelConsole "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ratpanel-console"
|
||||
pRatPanelSite "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ratpanel-site"
|
||||
pSafeLine "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/safeline"
|
||||
pSSH "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ssh"
|
||||
pTencentCloudCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-cdn"
|
||||
pTencentCloudCLB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-clb"
|
||||
pTencentCloudCOS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-cos"
|
||||
pTencentCloudCSS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-css"
|
||||
pTencentCloudECDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-ecdn"
|
||||
pTencentCloudEO "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-eo"
|
||||
pTencentCloudGAAP "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-gaap"
|
||||
pTencentCloudSCF "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-scf"
|
||||
pTencentCloudSSL "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-ssl"
|
||||
pTencentCloudSSLDeploy "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-ssl-deploy"
|
||||
pTencentCloudVOD "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-vod"
|
||||
pTencentCloudWAF "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/tencentcloud-waf"
|
||||
pUCloudUCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ucloud-ucdn"
|
||||
pUCloudUS3 "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/ucloud-us3"
|
||||
pUniCloudWebHost "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/unicloud-webhost"
|
||||
pUpyunCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/upyun-cdn"
|
||||
pVolcEngineALB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-alb"
|
||||
pVolcEngineCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-cdn"
|
||||
pVolcEngineCertCenter "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-certcenter"
|
||||
pVolcEngineCLB "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-clb"
|
||||
pVolcEngineDCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-dcdn"
|
||||
pVolcEngineImageX "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-imagex"
|
||||
pVolcEngineLive "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-live"
|
||||
pVolcEngineTOS "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/volcengine-tos"
|
||||
pWangsuCDN "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/wangsu-cdn"
|
||||
pWangsuCDNPro "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/wangsu-cdnpro"
|
||||
pWangsuCertificate "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/wangsu-certificate"
|
||||
pWebhook "github.com/usual2970/certimate/pkg/core/ssl-deployer/providers/webhook"
|
||||
xhttp "github.com/usual2970/certimate/pkg/utils/http"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
xslices "github.com/usual2970/certimate/pkg/utils/slices"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/pkg/core"
|
||||
p1PanelConsole "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/1panel-console"
|
||||
p1PanelSite "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/1panel-site"
|
||||
pAliyunALB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-alb"
|
||||
pAliyunAPIGW "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-apigw"
|
||||
pAliyunCAS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-cas"
|
||||
pAliyunCASDeploy "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-cas-deploy"
|
||||
pAliyunCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-cdn"
|
||||
pAliyunCLB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-clb"
|
||||
pAliyunDCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-dcdn"
|
||||
pAliyunDDoS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-ddos"
|
||||
pAliyunESA "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-esa"
|
||||
pAliyunFC "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-fc"
|
||||
pAliyunGA "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-ga"
|
||||
pAliyunLive "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-live"
|
||||
pAliyunNLB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-nlb"
|
||||
pAliyunOSS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-oss"
|
||||
pAliyunVOD "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-vod"
|
||||
pAliyunWAF "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aliyun-waf"
|
||||
pAPISIX "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/apisix"
|
||||
pAWSACM "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aws-acm"
|
||||
pAWSCloudFront "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aws-cloudfront"
|
||||
pAWSIAM "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/aws-iam"
|
||||
pAzureKeyVault "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/azure-keyvault"
|
||||
pBaiduCloudAppBLB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baiducloud-appblb"
|
||||
pBaiduCloudBLB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baiducloud-blb"
|
||||
pBaiduCloudCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baiducloud-cdn"
|
||||
pBaiduCloudCert "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baiducloud-cert"
|
||||
pBaishanCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baishan-cdn"
|
||||
pBaotaPanelConsole "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baotapanel-console"
|
||||
pBaotaPanelSite "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baotapanel-site"
|
||||
pBaotaWAFConsole "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baotawaf-console"
|
||||
pBaotaWAFSite "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/baotawaf-site"
|
||||
pBunnyCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/bunny-cdn"
|
||||
pBytePlusCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/byteplus-cdn"
|
||||
pCacheFly "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/cachefly"
|
||||
pCdnfly "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/cdnfly"
|
||||
pCTCCCloudAO "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ctcccloud-ao"
|
||||
pCTCCCloudCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ctcccloud-cdn"
|
||||
pCTCCCloudCMS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ctcccloud-cms"
|
||||
pCTCCCloudELB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ctcccloud-elb"
|
||||
pCTCCCloudICDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ctcccloud-icdn"
|
||||
pCTCCCloudLVDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ctcccloud-lvdn"
|
||||
pDogeCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/dogecloud-cdn"
|
||||
pEdgioApplications "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/edgio-applications"
|
||||
pFlexCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/flexcdn"
|
||||
pGcoreCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/gcore-cdn"
|
||||
pGoEdge "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/goedge"
|
||||
pHuaweiCloudCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/huaweicloud-cdn"
|
||||
pHuaweiCloudELB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/huaweicloud-elb"
|
||||
pHuaweiCloudSCM "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/huaweicloud-scm"
|
||||
pHuaweiCloudWAF "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/huaweicloud-waf"
|
||||
pJDCloudALB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/jdcloud-alb"
|
||||
pJDCloudCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/jdcloud-cdn"
|
||||
pJDCloudLive "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/jdcloud-live"
|
||||
pJDCloudVOD "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/jdcloud-vod"
|
||||
pK8sSecret "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/k8s-secret"
|
||||
pLeCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/lecdn"
|
||||
pLocal "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/local"
|
||||
pNetlifySite "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/netlify-site"
|
||||
pProxmoxVE "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/proxmoxve"
|
||||
pQiniuCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/qiniu-cdn"
|
||||
pQiniuPili "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/qiniu-pili"
|
||||
pRainYunRCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/rainyun-rcdn"
|
||||
pRatPanelConsole "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ratpanel-console"
|
||||
pRatPanelSite "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ratpanel-site"
|
||||
pSafeLine "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/safeline"
|
||||
pSSH "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ssh"
|
||||
pTencentCloudCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-cdn"
|
||||
pTencentCloudCLB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-clb"
|
||||
pTencentCloudCOS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-cos"
|
||||
pTencentCloudCSS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-css"
|
||||
pTencentCloudECDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-ecdn"
|
||||
pTencentCloudEO "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-eo"
|
||||
pTencentCloudGAAP "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-gaap"
|
||||
pTencentCloudSCF "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-scf"
|
||||
pTencentCloudSSL "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-ssl"
|
||||
pTencentCloudSSLDeploy "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-ssl-deploy"
|
||||
pTencentCloudVOD "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-vod"
|
||||
pTencentCloudWAF "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/tencentcloud-waf"
|
||||
pUCloudUCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ucloud-ucdn"
|
||||
pUCloudUS3 "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/ucloud-us3"
|
||||
pUniCloudWebHost "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/unicloud-webhost"
|
||||
pUpyunCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/upyun-cdn"
|
||||
pVolcEngineALB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-alb"
|
||||
pVolcEngineCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-cdn"
|
||||
pVolcEngineCertCenter "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-certcenter"
|
||||
pVolcEngineCLB "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-clb"
|
||||
pVolcEngineDCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-dcdn"
|
||||
pVolcEngineImageX "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-imagex"
|
||||
pVolcEngineLive "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-live"
|
||||
pVolcEngineTOS "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/volcengine-tos"
|
||||
pWangsuCDN "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/wangsu-cdn"
|
||||
pWangsuCDNPro "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/wangsu-cdnpro"
|
||||
pWangsuCertificate "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/wangsu-certificate"
|
||||
pWebhook "github.com/certimate-go/certimate/te/pkg/core/ssl-deployer/providers/webhook"
|
||||
xhttp "github.com/certimate-go/certimate/te/pkg/utils/http"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
xslices "github.com/certimate-go/certimate/te/pkg/utils/slices"
|
||||
)
|
||||
|
||||
type deployerProviderOptions struct {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
xcert "github.com/usual2970/certimate/pkg/utils/cert"
|
||||
xcert "github.com/certimate-go/certimate/pkg/utils/cert"
|
||||
)
|
||||
|
||||
const CollectionNameCertificate = "certificate"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package dtos
|
||||
|
||||
import "github.com/usual2970/certimate/internal/domain"
|
||||
import "github.com/certimate-go/certimate/internal/domain"
|
||||
|
||||
type NotifyTestPushReq struct {
|
||||
Channel domain.NotifyChannelType `json:"channel"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package dtos
|
||||
|
||||
import "github.com/usual2970/certimate/internal/domain"
|
||||
import "github.com/certimate-go/certimate/internal/domain"
|
||||
|
||||
type WorkflowStartRunReq struct {
|
||||
WorkflowId string `json:"-"`
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain/expr"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
"github.com/certimate-go/certimate/internal/domain/expr"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
)
|
||||
|
||||
const CollectionNameWorkflow = "workflow"
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"log/slog"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/usual2970/certimate/pkg/core"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
"github.com/certimate-go/certimate/te/pkg/core"
|
||||
)
|
||||
|
||||
type Notifier interface {
|
||||
|
||||
@@ -7,10 +7,10 @@ import (
|
||||
|
||||
"golang.org/x/sync/errgroup"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/usual2970/certimate/pkg/core"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
"github.com/certimate-go/certimate/te/pkg/core"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
)
|
||||
|
||||
// Deprecated: v0.4.x 将废弃
|
||||
|
||||
@@ -4,19 +4,19 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/pkg/core"
|
||||
pDingTalkBot "github.com/usual2970/certimate/pkg/core/notifier/providers/dingtalkbot"
|
||||
pDiscordBot "github.com/usual2970/certimate/pkg/core/notifier/providers/discordbot"
|
||||
pEmail "github.com/usual2970/certimate/pkg/core/notifier/providers/email"
|
||||
pLarkBot "github.com/usual2970/certimate/pkg/core/notifier/providers/larkbot"
|
||||
pMattermost "github.com/usual2970/certimate/pkg/core/notifier/providers/mattermost"
|
||||
pSlackBot "github.com/usual2970/certimate/pkg/core/notifier/providers/slackbot"
|
||||
pTelegramBot "github.com/usual2970/certimate/pkg/core/notifier/providers/telegrambot"
|
||||
pWebhook "github.com/usual2970/certimate/pkg/core/notifier/providers/webhook"
|
||||
pWeComBot "github.com/usual2970/certimate/pkg/core/notifier/providers/wecombot"
|
||||
xhttp "github.com/usual2970/certimate/pkg/utils/http"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/pkg/core"
|
||||
pDingTalkBot "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/dingtalkbot"
|
||||
pDiscordBot "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/discordbot"
|
||||
pEmail "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/email"
|
||||
pLarkBot "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/larkbot"
|
||||
pMattermost "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/mattermost"
|
||||
pSlackBot "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/slackbot"
|
||||
pTelegramBot "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/telegrambot"
|
||||
pWebhook "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/webhook"
|
||||
pWeComBot "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/wecombot"
|
||||
xhttp "github.com/certimate-go/certimate/te/pkg/utils/http"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
)
|
||||
|
||||
type notifierProviderOptions struct {
|
||||
|
||||
@@ -3,21 +3,21 @@ package notify
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/pkg/core"
|
||||
pBark "github.com/usual2970/certimate/pkg/core/notifier/providers/bark"
|
||||
pDingTalk "github.com/usual2970/certimate/pkg/core/notifier/providers/dingtalkbot"
|
||||
pEmail "github.com/usual2970/certimate/pkg/core/notifier/providers/email"
|
||||
pGotify "github.com/usual2970/certimate/pkg/core/notifier/providers/gotify"
|
||||
pLark "github.com/usual2970/certimate/pkg/core/notifier/providers/larkbot"
|
||||
pMattermost "github.com/usual2970/certimate/pkg/core/notifier/providers/mattermost"
|
||||
pPushover "github.com/usual2970/certimate/pkg/core/notifier/providers/pushover"
|
||||
pPushPlus "github.com/usual2970/certimate/pkg/core/notifier/providers/pushplus"
|
||||
pServerChan "github.com/usual2970/certimate/pkg/core/notifier/providers/serverchan"
|
||||
pTelegram "github.com/usual2970/certimate/pkg/core/notifier/providers/telegrambot"
|
||||
pWebhook "github.com/usual2970/certimate/pkg/core/notifier/providers/webhook"
|
||||
pWeCom "github.com/usual2970/certimate/pkg/core/notifier/providers/wecombot"
|
||||
xmaps "github.com/usual2970/certimate/pkg/utils/maps"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/pkg/core"
|
||||
pBark "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/bark"
|
||||
pDingTalk "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/dingtalkbot"
|
||||
pEmail "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/email"
|
||||
pGotify "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/gotify"
|
||||
pLark "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/larkbot"
|
||||
pMattermost "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/mattermost"
|
||||
pPushover "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/pushover"
|
||||
pPushPlus "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/pushplus"
|
||||
pServerChan "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/serverchan"
|
||||
pTelegram "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/telegrambot"
|
||||
pWebhook "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/webhook"
|
||||
pWeCom "github.com/certimate-go/certimate/te/pkg/core/notifier/providers/wecombot"
|
||||
xmaps "github.com/certimate-go/certimate/te/pkg/utils/maps"
|
||||
)
|
||||
|
||||
// Deprecated: v0.4.x 将废弃
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/domain/dtos"
|
||||
)
|
||||
|
||||
// Deprecated: v0.4.x 将废弃
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
)
|
||||
|
||||
type AccessRepository struct{}
|
||||
|
||||
@@ -11,8 +11,8 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"golang.org/x/sync/singleflight"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
)
|
||||
|
||||
type AcmeAccountRepository struct{}
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type CertificateRepository struct{}
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"database/sql"
|
||||
"errors"
|
||||
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type SettingsRepository struct{}
|
||||
|
||||
@@ -3,8 +3,8 @@ package repository
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
)
|
||||
|
||||
type StatisticsRepository struct{}
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type WorkflowRepository struct{}
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type WorkflowLogRepository struct{}
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type WorkflowOutputRepository struct{}
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/pocketbase/dbx"
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type WorkflowRunRepository struct{}
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/router"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/usual2970/certimate/internal/rest/resp"
|
||||
"github.com/certimate-go/certimate/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/te/internal/rest/resp"
|
||||
)
|
||||
|
||||
type certificateService interface {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/router"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/usual2970/certimate/internal/rest/resp"
|
||||
"github.com/certimate-go/certimate/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/te/internal/rest/resp"
|
||||
)
|
||||
|
||||
type notifyService interface {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/router"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/rest/resp"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/rest/resp"
|
||||
)
|
||||
|
||||
type statisticsService interface {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/router"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/usual2970/certimate/internal/rest/resp"
|
||||
"github.com/certimate-go/certimate/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/te/internal/rest/resp"
|
||||
)
|
||||
|
||||
type workflowService interface {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type Response struct {
|
||||
|
||||
@@ -7,12 +7,12 @@ import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/router"
|
||||
|
||||
"github.com/usual2970/certimate/internal/certificate"
|
||||
"github.com/usual2970/certimate/internal/notify"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/usual2970/certimate/internal/rest/handlers"
|
||||
"github.com/usual2970/certimate/internal/statistics"
|
||||
"github.com/usual2970/certimate/internal/workflow"
|
||||
"github.com/certimate-go/certimate/internal/certificate"
|
||||
"github.com/certimate-go/certimate/te/internal/notify"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
"github.com/certimate-go/certimate/te/internal/rest/handlers"
|
||||
"github.com/certimate-go/certimate/te/internal/statistics"
|
||||
"github.com/certimate-go/certimate/te/internal/workflow"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package scheduler
|
||||
|
||||
import (
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/certificate"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/usual2970/certimate/internal/workflow"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/certificate"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
"github.com/certimate-go/certimate/te/internal/workflow"
|
||||
)
|
||||
|
||||
func Register() {
|
||||
|
||||
@@ -3,7 +3,7 @@ package statistics
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type statisticsRepository interface {
|
||||
|
||||
@@ -12,9 +12,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
xslices "github.com/usual2970/certimate/pkg/utils/slices"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
xslices "github.com/certimate-go/certimate/te/pkg/utils/slices"
|
||||
)
|
||||
|
||||
var maxWorkers = 1
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"errors"
|
||||
"log/slog"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
nodes "github.com/usual2970/certimate/internal/workflow/node-processor"
|
||||
"github.com/usual2970/certimate/pkg/logging"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
nodes "github.com/certimate-go/certimate/te/internal/workflow/node-processor"
|
||||
"github.com/certimate-go/certimate/te/pkg/logging"
|
||||
)
|
||||
|
||||
type workflowInvoker struct {
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
)
|
||||
|
||||
type workflowRepository interface {
|
||||
|
||||
@@ -6,10 +6,10 @@ import (
|
||||
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
)
|
||||
|
||||
func Register() {
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
|
||||
"golang.org/x/exp/maps"
|
||||
|
||||
"github.com/usual2970/certimate/internal/applicant"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
xcert "github.com/usual2970/certimate/pkg/utils/cert"
|
||||
"github.com/certimate-go/certimate/internal/applicant"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
xcert "github.com/certimate-go/certimate/te/pkg/utils/cert"
|
||||
)
|
||||
|
||||
type applyNode struct {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/domain/expr"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/domain/expr"
|
||||
)
|
||||
|
||||
type conditionNode struct {
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
|
||||
"golang.org/x/exp/maps"
|
||||
|
||||
"github.com/usual2970/certimate/internal/deployer"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/certimate-go/certimate/internal/deployer"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
)
|
||||
|
||||
type deployNode struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package nodeprocessor
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type executeFailureNode struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package nodeprocessor
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type executeSuccessNode struct {
|
||||
|
||||
@@ -13,8 +13,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
xhttp "github.com/usual2970/certimate/pkg/utils/http"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
xhttp "github.com/certimate-go/certimate/te/pkg/utils/http"
|
||||
)
|
||||
|
||||
type monitorNode struct {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"log/slog"
|
||||
"testing"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
nodeprocessor "github.com/usual2970/certimate/internal/workflow/node-processor"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
nodeprocessor "github.com/certimate-go/certimate/te/internal/workflow/node-processor"
|
||||
)
|
||||
|
||||
func Test_MonitorNode(t *testing.T) {
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"log/slog"
|
||||
"strconv"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/notify"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/notify"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
)
|
||||
|
||||
type notifyNode struct {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"io"
|
||||
"log/slog"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type NodeProcessor interface {
|
||||
|
||||
@@ -3,7 +3,7 @@ package nodeprocessor
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
)
|
||||
|
||||
type startNode struct {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/repository"
|
||||
"github.com/certimate-go/certimate/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/repository"
|
||||
)
|
||||
|
||||
type uploadNode struct {
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
|
||||
"github.com/pocketbase/dbx"
|
||||
|
||||
"github.com/usual2970/certimate/internal/app"
|
||||
"github.com/usual2970/certimate/internal/domain"
|
||||
"github.com/usual2970/certimate/internal/domain/dtos"
|
||||
"github.com/usual2970/certimate/internal/workflow/dispatcher"
|
||||
"github.com/certimate-go/certimate/internal/app"
|
||||
"github.com/certimate-go/certimate/te/internal/domain"
|
||||
"github.com/certimate-go/certimate/te/internal/domain/dtos"
|
||||
"github.com/certimate-go/certimate/te/internal/workflow/dispatcher"
|
||||
)
|
||||
|
||||
type workflowRepository interface {
|
||||
|
||||
Reference in New Issue
Block a user