mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-03 06:23:54 +08:00
test: add build tags for providers tester
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package onepanelssl_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./1panel_test.go -args \
|
||||
go test -tags=tester -v ./1panel_test.go -args \
|
||||
--1PANEL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--1PANEL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--1PANEL_SERVERURL="http://127.0.0.1:20410" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyuncas_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_cas_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_cas_test.go -args \
|
||||
--ALIYUNCAS_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNCAS_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNCAS_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunslb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_slb_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_slb_test.go -args \
|
||||
--ALIYUNSLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNSLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNSLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsacm_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_acm_test.go -args \
|
||||
go test -tags=tester -v ./aws_acm_test.go -args \
|
||||
--AWSACM_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSACM_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSACM_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsiam_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_iam_test.go -args \
|
||||
go test -tags=tester -v ./aws_iam_test.go -args \
|
||||
--AWSIAM_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSIAM_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSIAM_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package axisnow_test
|
||||
|
||||
import (
|
||||
@@ -25,7 +27,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./axisnow_test.go -args \
|
||||
go test -tags=tester -v ./axisnow_test.go -args \
|
||||
--AXISNOW_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AXISNOW_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AXISNOW_APITOKEN="your-api-token"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package azurekeyvault_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./azure_keyvault_test.go -args \
|
||||
go test -tags=tester -v ./azure_keyvault_test.go -args \
|
||||
--AZUREKEYVAULT_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AZUREKEYVAULT_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AZUREKEYVAULT_TENANTID="your-tenant-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baiducloudcert_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baiducloud_cert_test.go -args \
|
||||
go test -tags=tester -v ./baiducloud_cert_test.go -args \
|
||||
--BAIDUCLOUDCERT_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAIDUCLOUDCERT_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAIDUCLOUDCERT_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baishancdn_test
|
||||
|
||||
import (
|
||||
@@ -25,7 +27,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baishan_cdn_test.go -args \
|
||||
go test -tags=tester -v ./baishan_cdn_test.go -args \
|
||||
--BAISHANCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAISHANCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAISHANCDN_APITOKEN="your-api-token"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package bytepluscdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_cdn_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_cdn_test.go -args \
|
||||
--BYTEPLUSCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package bytepluscertcenter_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_certcenter_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_certcenter_test.go -args \
|
||||
--BYTEPLUSCERTCENTER_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSCERTCENTER_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSCERTCENTER_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package byteplusmedialive_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_medialive_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_medialive_test.go -args \
|
||||
--BYTEPLUSMEDIALIVE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSMEDIALIVE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSMEDIALIVE_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cmcccloudvlb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cmcccloud_vlb_test.go -args \
|
||||
go test -tags=tester -v ./cmcccloud_vlb_test.go -args \
|
||||
--CMCCCLOUDVLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CMCCCLOUDVLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CMCCCLOUDVLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudao_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_ao_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_ao_test.go -args \
|
||||
--CTCCCLOUDAO_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDAO_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDAO_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudcdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_cdn_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_cdn_test.go -args \
|
||||
--CTCCCLOUDCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudcms_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_cms_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_cms_test.go -args \
|
||||
--CTCCCLOUDCMS_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDCMS_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDCMS_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudelb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_elb_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_elb_test.go -args \
|
||||
--CTCCCLOUDELB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDELB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDELB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudicdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_icdn_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_icdn_test.go -args \
|
||||
--CTCCCLOUDICDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDICDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDICDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudlvdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_lvdn_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_lvdn_test.go -args \
|
||||
--CTCCCLOUDLVDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDLVDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDLVDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package digitaloceancertificate_test
|
||||
|
||||
import (
|
||||
@@ -25,7 +27,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./digitalocean_certificate_test.go -args \
|
||||
go test -tags=tester -v ./digitalocean_certificate_test.go -args \
|
||||
--DIGITALOCEANCERTIFICATE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--DIGITALOCEANCERTIFICATE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--DIGITALOCEANCERTIFICATE_ACCESSTOKEN="your-access-token"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package dogecloud_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./dogecloud_test.go -args \
|
||||
go test -tags=tester -v ./dogecloud_test.go -args \
|
||||
--DOGECLOUD_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--DOGECLOUD_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--DOGECLOUD_ACCESSKEY="your-access-key" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package dokploy_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./dokploy_test.go -args \
|
||||
go test -tags=tester -v ./dokploy_test.go -args \
|
||||
--DOKPLOY_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--DOKPLOY_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--DOKPLOY_SERVERURL="http://127.0.0.1:3000" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package gcorecdn_test
|
||||
|
||||
import (
|
||||
@@ -25,7 +27,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./gcore_cdn_test.go -args \
|
||||
go test -tags=tester -v ./gcore_cdn_test.go -args \
|
||||
--GCORECDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--GCORECDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--GCORECDN_APITOKEN="your-api-token"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package googlecloudcertificatemanager_test
|
||||
|
||||
import (
|
||||
@@ -28,7 +30,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./googlecloud_certificatemanager_test.go -args \
|
||||
go test -tags=tester -v ./googlecloud_certificatemanager_test.go -args \
|
||||
--GOOGLECLOUDCERTIFICATEMANAGER_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--GOOGLECLOUDCERTIFICATEMANAGER_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--GOOGLECLOUDCERTIFICATEMANAGER_PROJECTID="your-project-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package huaweicloudelb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./huaweicloud_elb_test.go -args \
|
||||
go test -tags=tester -v ./huaweicloud_elb_test.go -args \
|
||||
--HUAWEICLOUDELB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--HUAWEICLOUDELB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--HUAWEICLOUDELB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package huaweicloudscm_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./huaweicloud_scm_test.go -args \
|
||||
go test -tags=tester -v ./huaweicloud_scm_test.go -args \
|
||||
--HUAWEICLOUDSCM_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--HUAWEICLOUDSCM_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--HUAWEICLOUDSCM_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package huaweicloudwaf_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./huaweicloud_waf_test.go -args \
|
||||
go test -tags=tester -v ./huaweicloud_waf_test.go -args \
|
||||
--HUAWEICLOUDWAF_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--HUAWEICLOUDWAF_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--HUAWEICLOUDWAF_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package jdcloudssl_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./jdcloud_ssl_test.go -args \
|
||||
go test -tags=tester -v ./jdcloud_ssl_test.go -args \
|
||||
--JDCLOUDSSL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--JDCLOUDSSL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--JDCLOUDSSL_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ksyunkcm_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ksyun_kcm_test.go -args \
|
||||
go test -tags=tester -v ./ksyun_kcm_test.go -args \
|
||||
--KSYUNKCM_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--KSYUNKCM_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--KSYUNKCM_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ksyunslb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ksyun_slb_test.go -args \
|
||||
go test -tags=tester -v ./ksyun_slb_test.go -args \
|
||||
--KSYUNSLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--KSYUNSLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--KSYUNSLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package nginxproxymanager_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./nginxproxymanager_test.go -args \
|
||||
go test -tags=tester -v ./nginxproxymanager_test.go -args \
|
||||
--NGINXPROXYMANAGER_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--NGINXPROXYMANAGER_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--NGINXPROXYMANAGER_SERVERURL="http://127.0.0.1:81" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package oraclecloudcertificatesmgmt_test
|
||||
|
||||
import (
|
||||
@@ -35,7 +37,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./oraclecloud_certificatesmgmt_test.go -args \
|
||||
go test -tags=tester -v ./oraclecloud_certificatesmgmt_test.go -args \
|
||||
--ORACLECLOUDCERTIFICATESMGMT_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ORACLECLOUDCERTIFICATESMGMT_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ORACLECLOUDCERTIFICATESMGMT_PRIVATEKEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package qingcloudlb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./qingcloud_lb_test.go -args \
|
||||
go test -tags=tester -v ./qingcloud_lb_test.go -args \
|
||||
--QINGCLOUDLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--QINGCLOUDLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--QINGCLOUDLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package qiniusslcert_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./qiniu_sslcert_test.go -args \
|
||||
go test -tags=tester -v ./qiniu_sslcert_test.go -args \
|
||||
--QINIUSSLCERT_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--QINIUSSLCERT_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--QINIUSSLCERT_ACCESSKEY="your-access-key" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package rainyunsslcenter_test
|
||||
|
||||
import (
|
||||
@@ -25,7 +27,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./rainyun_sslcenter_test.go -args \
|
||||
go test -tags=tester -v ./rainyun_sslcenter_test.go -args \
|
||||
--RAINYUNSSLCENTER_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--RAINYUNSSLCENTER_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--RAINYUNSSLCENTER_APIKEY="your-api-key"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package tencentcloudgaap_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./tencentcloud_gaap_test.go -args \
|
||||
go test -tags=tester -v ./tencentcloud_gaap_test.go -args \
|
||||
--TENCENTCLOUDGAAP_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--TENCENTCLOUDGAAP_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--TENCENTCLOUDGAAP_SECRETID="your-secret-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package tencentcloudssl_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./tencentcloud_ssl_test.go -args \
|
||||
go test -tags=tester -v ./tencentcloud_ssl_test.go -args \
|
||||
--TENCENTCLOUDSSL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--TENCENTCLOUDSSL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--TENCENTCLOUDSSL_SECRETID="your-secret-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package tencentcloudtse_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./tencentcloud_tse_test.go -args \
|
||||
go test -tags=tester -v ./tencentcloud_tse_test.go -args \
|
||||
--TENCENTCLOUDTSE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--TENCENTCLOUDTSE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--TENCENTCLOUDTSE_SECRETID="your-secret-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package tester
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package tester
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ucloudulb_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ucloud_ulb_test.go -args \
|
||||
go test -tags=tester -v ./ucloud_ulb_test.go -args \
|
||||
--UCLOUDULB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--UCLOUDULB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--UCLOUDULB_PRIVATEKEY="your-private-key" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ucloudulb_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ucloud_upathx_test.go -args \
|
||||
go test -tags=tester -v ./ucloud_upathx_test.go -args \
|
||||
--UCLOUDUPATHX_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--UCLOUDUPATHX_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--UCLOUDUPATHX_PRIVATEKEY="your-private-key" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ucloudussl_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ucloud_ussl_test.go -args \
|
||||
go test -tags=tester -v ./ucloud_ussl_test.go -args \
|
||||
--UCLOUDUSSL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--UCLOUDUSSL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--UCLOUDUSSL_PRIVATEKEY="your-private-key" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package upyunssl_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./upyun_ssl_test.go -args \
|
||||
go test -tags=tester -v ./upyun_ssl_test.go -args \
|
||||
--UPYUNSSL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--UPYUNSSL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--UPYUNSSL_USERNAME="your-username" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package volcenginecdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./volcengine_cdn_test.go -args \
|
||||
go test -tags=tester -v ./volcengine_cdn_test.go -args \
|
||||
--VOLCENGINECDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--VOLCENGINECDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--VOLCENGINECDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package volcenginecertcenter_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./volcengine_certcenter_test.go -args \
|
||||
go test -tags=tester -v ./volcengine_certcenter_test.go -args \
|
||||
--VOLCENGINECERTCENTER_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--VOLCENGINECERTCENTER_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--VOLCENGINECERTCENTER_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package volcenginelive_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./volcengine_live_test.go -args \
|
||||
go test -tags=tester -v ./volcengine_live_test.go -args \
|
||||
--VOLCENGINELIVE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--VOLCENGINELIVE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--VOLCENGINELIVE_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package wangsucertificate_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./wangsu_certificate_test.go -args \
|
||||
go test -tags=tester -v ./wangsu_certificate_test.go -args \
|
||||
--WANGSUCERTIFICATE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--WANGSUCERTIFICATE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--WANGSUCERTIFICATE_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package yandexcloudcertificatemanager_test
|
||||
|
||||
import (
|
||||
@@ -28,7 +30,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./yandexcloud_certificatemanager_test.go -args \
|
||||
go test -tags=tester -v ./yandexcloud_certificatemanager_test.go -args \
|
||||
--YANDEXCLOUDCERTIFICATEMANAGER_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--YANDEXCLOUDCERTIFICATEMANAGER_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--YANDEXCLOUDCERTIFICATEMANAGER_FOLDERID="your-folder-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package zenlayercdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./zenlayer_cdn_test.go -args \
|
||||
go test -tags=tester -v ./zenlayer_cdn_test.go -args \
|
||||
--ZENLAYERCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ZENLAYERCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ZENLAYERCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package zenlayerga_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./zenlayer_ga_test.go -args \
|
||||
go test -tags=tester -v ./zenlayer_ga_test.go -args \
|
||||
--ZENLAYERGA_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ZENLAYERGA_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ZENLAYERGA_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package onepanelconsole_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./1panel_console_test.go -args \
|
||||
go test -tags=tester -v ./1panel_console_test.go -args \
|
||||
--1PANELCONSOLE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--1PANELCONSOLE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--1PANELCONSOLE_SERVERURL="http://127.0.0.1:20410" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package onepanel_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./1panel_test.go -args \
|
||||
go test -tags=tester -v ./1panel_test.go -args \
|
||||
--1PANEL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--1PANEL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--1PANEL_SERVERURL="http://127.0.0.1:20410" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunalb_test
|
||||
|
||||
import (
|
||||
@@ -35,7 +37,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_alb_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_alb_test.go -args \
|
||||
--ALIYUNALB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNALB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNALB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunapigw_test
|
||||
|
||||
import (
|
||||
@@ -37,7 +39,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_apigw_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_apigw_test.go -args \
|
||||
--ALIYUNAPIGW_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNAPIGW_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNAPIGW_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyuncdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_cdn_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_cdn_test.go -args \
|
||||
--ALIYUNCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunclb_test
|
||||
|
||||
import (
|
||||
@@ -35,7 +37,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_clb_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_clb_test.go -args \
|
||||
--ALIYUNCLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNCLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNCLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyundcdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_dcdn_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_dcdn_test.go -args \
|
||||
--ALIYUNDCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNDCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNDCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunddospro_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_ddospro_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_ddospro_test.go -args \
|
||||
--ALIYUNDDOSPRO_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNDDOSPRO_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNDDOSPRO_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunesasaas_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_esasaas_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_esasaas_test.go -args \
|
||||
--ALIYUNESASAAS_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNESASAAS_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNESASAAS_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunesa_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_esa_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_esa_test.go -args \
|
||||
--ALIYUNESA_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNESA_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNESA_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunfc_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_fc_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_fc_test.go -args \
|
||||
--ALIYUNFC_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNFC_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNFC_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunga_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_ga_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_ga_test.go -args \
|
||||
--ALIYUNGA_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNGA_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNGA_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunlive_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_live_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_live_test.go -args \
|
||||
--ALIYUNLIVE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNLIVE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNLIVE_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunnlb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_nlb_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_nlb_test.go -args \
|
||||
--ALIYUNNLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNNLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNNLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunoss_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_oss_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_oss_test.go -args \
|
||||
--ALIYUNOSS_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNOSS_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNOSS_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunvod_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_vod_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_vod_test.go -args \
|
||||
--ALIYUNVOD_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNVOD_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNVOD_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package aliyunwaf_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aliyun_waf_test.go -args \
|
||||
go test -tags=tester -v ./aliyun_waf_test.go -args \
|
||||
--ALIYUNWAF_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--ALIYUNWAF_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--ALIYUNWAF_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package apisix_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./apisix_test.go -args \
|
||||
go test -tags=tester -v ./apisix_test.go -args \
|
||||
--APISIX_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--APISIX_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--APISIX_SERVERURL="http://127.0.0.1:9080" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsalb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_alb_test.go -args \
|
||||
go test -tags=tester -v ./aws_alb_test.go -args \
|
||||
--AWSALB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSALB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSALB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsamplify_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_amplify_test.go -args \
|
||||
go test -tags=tester -v ./aws_amplify_test.go -args \
|
||||
--AWSAMPLIFY_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSAMPLIFY_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSAMPLIFY_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsapigateway_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_apigateway_test.go -args \
|
||||
go test -tags=tester -v ./aws_apigateway_test.go -args \
|
||||
--AWSAPIGATEWAY_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSAPIGATEWAY_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSAPIGATEWAY_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsclb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_clb_test.go -args \
|
||||
go test -tags=tester -v ./aws_clb_test.go -args \
|
||||
--AWSCLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSCLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSCLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awscloudfront_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_cloudfront_test.go -args \
|
||||
go test -tags=tester -v ./aws_cloudfront_test.go -args \
|
||||
--AWSCLOUDFRONT_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSCLOUDFRONT_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSCLOUDFRONT_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package awsnlb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./aws_nlb_test.go -args \
|
||||
go test -tags=tester -v ./aws_nlb_test.go -args \
|
||||
--AWSNLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--AWSNLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--AWSNLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baiducloudappblb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baiducloud_appblb_test.go -args \
|
||||
go test -tags=tester -v ./baiducloud_appblb_test.go -args \
|
||||
--BAIDUCLOUDAPPBLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAIDUCLOUDAPPBLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAIDUCLOUDAPPBLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baiducloudblb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baiducloud_blb_test.go -args \
|
||||
go test -tags=tester -v ./baiducloud_blb_test.go -args \
|
||||
--BAIDUCLOUDBLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAIDUCLOUDBLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAIDUCLOUDBLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baiducloudcdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baiducloud_cdn_test.go -args \
|
||||
go test -tags=tester -v ./baiducloud_cdn_test.go -args \
|
||||
--BAIDUCLOUDCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAIDUCLOUDCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAIDUCLOUDCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baishancdn_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baishan_cdn_test.go -args \
|
||||
go test -tags=tester -v ./baishan_cdn_test.go -args \
|
||||
--BAISHANCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAISHANCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAISHANCDN_APITOKEN="your-api-token" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baotapanelconsole_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baotapanel_console_test.go -args \
|
||||
go test -tags=tester -v ./baotapanel_console_test.go -args \
|
||||
--BAOTAPANELCONSOLE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAOTAPANELCONSOLE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAOTAPANELCONSOLE_SERVERURL="http://127.0.0.1:8888" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baotapanel_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baotapanel_test.go -args \
|
||||
go test -tags=tester -v ./baotapanel_test.go -args \
|
||||
--BAOTAPANEL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAOTAPANEL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAOTAPANEL_SERVERURL="http://127.0.0.1:8888" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baotapanelgoconsole_test
|
||||
|
||||
import (
|
||||
@@ -27,7 +29,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baotapanelgo_console_test.go -args \
|
||||
go test -tags=tester -v ./baotapanelgo_console_test.go -args \
|
||||
--BAOTAPANELGOCONSOLE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAOTAPANELGOCONSOLE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAOTAPANELGOCONSOLE_SERVERURL="http://127.0.0.1:8888" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baotapanelgo_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baotapanelgo_test.go -args \
|
||||
go test -tags=tester -v ./baotapanelgo_test.go -args \
|
||||
--BAOTAPANELGO_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAOTAPANELGO_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAOTAPANELGO_SERVERURL="http://127.0.0.1:8888" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baotapanelconsole_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baotawaf_console_test.go -args \
|
||||
go test -tags=tester -v ./baotawaf_console_test.go -args \
|
||||
--BAOTAWAFCONSOLE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAOTAWAFCONSOLE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAOTAWAFCONSOLE_SERVERURL="http://127.0.0.1:8888" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package baotawaf_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./baotawaf_test.go -args \
|
||||
go test -tags=tester -v ./baotawaf_test.go -args \
|
||||
--BAOTAWAF_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BAOTAWAF_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BAOTAWAF_SERVERURL="http://127.0.0.1:8888" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package bunnycdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./bunny_cdn_test.go -args \
|
||||
go test -tags=tester -v ./bunny_cdn_test.go -args \
|
||||
--BUNNYCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BUNNYCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BUNNYCDN_APITOKEN="your-api-token" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package byteplusalb_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_alb_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_alb_test.go -args \
|
||||
--BYTEPLUSALB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSALB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSALB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package byteplusapig_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_apig_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_apig_test.go -args \
|
||||
--BYTEPLUSAPIG_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSAPIG_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSAPIG_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package bytepluscdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_cdn_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_cdn_test.go -args \
|
||||
--BYTEPLUSCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package byteplusclb_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_clb_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_clb_test.go -args \
|
||||
--BYTEPLUSCLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSCLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSCLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package byteplusmedialive_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_medialive_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_medialive_test.go -args \
|
||||
--BYTEPLUSMEDIALIVE_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSMEDIALIVE_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSMEDIALIVE_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package byteplustos_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./byteplus_tos_test.go -args \
|
||||
go test -tags=tester -v ./byteplus_tos_test.go -args \
|
||||
--BYTEPLUSTOS_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--BYTEPLUSTOS_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--BYTEPLUSTOS_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cachefly_test
|
||||
|
||||
import (
|
||||
@@ -25,7 +27,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cachefly_test.go -args \
|
||||
go test -tags=tester -v ./cachefly_test.go -args \
|
||||
--CACHEFLY_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CACHEFLY_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CACHEFLY_APITOKEN="your-api-token"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cdnfly_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cdnfly_test.go -args \
|
||||
go test -tags=tester -v ./cdnfly_test.go -args \
|
||||
--CDNFLY_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CDNFLY_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CDNFLY_SERVERURL="http://127.0.0.1:88" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cloudflaressl_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cloudflare_ssl_test.go -args \
|
||||
go test -tags=tester -v ./cloudflare_ssl_test.go -args \
|
||||
--CLOUDFLARESSL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CLOUDFLARESSL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CLOUDFLARESSL_APITOKEN="your-api-token" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cmcccloudcdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cmcccloud_cdn_test.go -args \
|
||||
go test -tags=tester -v ./cmcccloud_cdn_test.go -args \
|
||||
--CMCCCLOUDCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CMCCCLOUDCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CMCCCLOUDCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cmcccloudvlb_test
|
||||
|
||||
import (
|
||||
@@ -33,7 +35,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cmcccloud_vlb_test.go -args \
|
||||
go test -tags=tester -v ./cmcccloud_vlb_test.go -args \
|
||||
--CMCCCLOUDVLB_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CMCCCLOUDVLB_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CMCCCLOUDVLB_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package cpanel_test
|
||||
|
||||
import (
|
||||
@@ -31,7 +33,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./cpanel_test.go -args \
|
||||
go test -tags=tester -v ./cpanel_test.go -args \
|
||||
--CPANEL_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CPANEL_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CPANEL_SERVERURL="http://127.0.0.1:2082" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudao_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_ao_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_ao_test.go -args \
|
||||
--CTCCCLOUDAO_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDAO_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDAO_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build tester
|
||||
|
||||
package ctcccloudcdn_test
|
||||
|
||||
import (
|
||||
@@ -29,7 +31,7 @@ func init() {
|
||||
/*
|
||||
Shell command to run this test:
|
||||
|
||||
go test -v ./ctcccloud_cdn_test.go -args \
|
||||
go test -tags=tester -v ./ctcccloud_cdn_test.go -args \
|
||||
--CTCCCLOUDCDN_TESTCERTPATH="/path/to/your-test-cert.pem" \
|
||||
--CTCCCLOUDCDN_TESTKEYPATH="/path/to/your-test-key.pem" \
|
||||
--CTCCCLOUDCDN_ACCESSKEYID="your-access-key-id" \
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user