mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
21 lines
485 B
Go
21 lines
485 B
Go
package providers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/1Panel-dev/1Panel/core/utils/ssh"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type MultiNodeProvider interface {
|
|
Proxy(c *gin.Context, currentNode string)
|
|
ProxyDocker(proxyURL string) error
|
|
UpdateGroup(name string, group, newGroup uint) error
|
|
CheckBackupUsed(name string) error
|
|
LoadNodeInfo(currentNode string) (*ssh.ConnInfo, string, error)
|
|
Sync(dataType string) error
|
|
AutoUpgradeWithMaster()
|
|
|
|
LoadRequestTransport() *http.Transport
|
|
}
|