mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-21 00:24:12 +08:00
24 lines
584 B
Go
24 lines
584 B
Go
package providers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/1Panel-dev/1Panel/agent/app/dto"
|
|
"github.com/1Panel-dev/1Panel/agent/app/model"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type MultiNodeProvider interface {
|
|
IsXpack() bool
|
|
IsUseCustomApp() bool
|
|
GetImagePrefix() string
|
|
RemoveTamper(website string)
|
|
StartClam(startClam *model.Clam, isUpdate bool) (int, error)
|
|
LoadNodeInfo(isBase bool) (model.NodeInfo, error)
|
|
|
|
LoadRequestTransport() *http.Transport
|
|
ValidateCertificate(c *gin.Context) bool
|
|
PushSSLToNode(websiteSSL *model.WebsiteSSL) error
|
|
GetAgentInfo() (*dto.AgentInfo, error)
|
|
}
|