Merge from 'cert-manager/webhook-example/master'

This commit is contained in:
2024-10-31 06:00:24 +08:00
11 changed files with 355 additions and 1058 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ import (
"strconv"
"strings"
logf "github.com/jetstack/cert-manager/pkg/logs"
logf "github.com/cert-manager/cert-manager/pkg/logs"
"golang.org/x/net/html"
)
@@ -36,12 +36,12 @@ const URI_LOGOUT = "https://freedns.afraid.org/logout/"
const URI_DELETE_RECORD = "https://freedns.afraid.org/subdomain/delete2.php?data_id[]=%s&submit=delete%%20selected"
func LogInfo(Mesg string) {
// fmt.Println(Mesg)
//fmt.Println(Mesg)
logf.V(logf.InfoLevel).Info(Mesg)
}
func LogDebug(Mesg string) {
// fmt.Println(Mesg)
//fmt.Println(Mesg)
logf.V(logf.DebugLevel).Info(Mesg)
}