mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-05 16:05:57 +00:00
* feat(sync): sync php extended template * fix(i18n): complete resource sync translations --------- Co-authored-by: ssongliu <sloooop1x@gmail.com>
25 lines
642 B
Go
25 lines
642 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
|
|
PushPHPExtensionsToNode(req dto.PHPExtensionsPush) error
|
|
GetAgentInfo() (*dto.AgentInfo, error)
|
|
}
|