Documentation
¶
Index ¶
- type AppBackupDelete
- type AppBackupSearch
- type AppContainerConfig
- type AppInstallCreate
- type AppInstalledOperate
- type AppInstalledSearch
- type AppInstalledUpdate
- type AppSearch
- type DirSizeReq
- type FileBatchDelete
- type FileCompress
- type FileCreate
- type FileDeCompress
- type FileDelete
- type FileDownload
- type FileEdit
- type FileMove
- type FileOption
- type FilePathCheck
- type FileProcessReq
- type FileRename
- type FileRoleUpdate
- type FileWget
- type NewAppInstall
- type NginxAuthReq
- type NginxAuthUpdate
- type NginxConfigFileUpdate
- type NginxConfigUpdate
- type NginxProxyUpdate
- type NginxRewriteReq
- type NginxRewriteUpdate
- type NginxScopeReq
- type PortUpdate
- type RuntimeConfig
- type RuntimeCreate
- type RuntimeDelete
- type RuntimeSearch
- type RuntimeUpdate
- type SearchUploadWithPage
- type WebsiteAcmeAccountCreate
- type WebsiteCreate
- type WebsiteDNSReq
- type WebsiteDefaultUpdate
- type WebsiteDelete
- type WebsiteDnsAccountCreate
- type WebsiteDnsAccountUpdate
- type WebsiteDomainCreate
- type WebsiteDomainDelete
- type WebsiteGroupCreate
- type WebsiteGroupUpdate
- type WebsiteHTTPSOp
- type WebsiteInstallCheckReq
- type WebsiteLogReq
- type WebsiteNginxUpdate
- type WebsiteOp
- type WebsitePHPConfigUpdate
- type WebsitePHPFileUpdate
- type WebsiteProxyConfig
- type WebsiteProxyReq
- type WebsiteRecover
- type WebsiteRecoverByFile
- type WebsiteResourceReq
- type WebsiteSSLCreate
- type WebsiteSSLRenew
- type WebsiteSSLSearch
- type WebsiteSSLUpdate
- type WebsiteSearch
- type WebsiteUpdate
- type WebsiteUpdateDir
- type WebsiteUpdateDirPermission
- type WebsiteWafReq
- type WebsiteWafUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBackupDelete ¶
type AppBackupDelete struct {
Ids []uint `json:"ids"`
}
type AppBackupSearch ¶
type AppContainerConfig ¶
type AppContainerConfig struct {
Advanced bool `json:"advanced"`
CpuQuota float64 `json:"cpuQuota"`
MemoryLimit float64 `json:"memoryLimit"`
MemoryUnit string `json:"memoryUnit"`
ContainerName string `json:"containerName"`
AllowPort bool `json:"allowPort"`
EditCompose bool `json:"editCompose"`
DockerCompose string `json:"dockerCompose"`
}
type AppInstallCreate ¶
type AppInstalledOperate ¶
type AppInstalledOperate struct {
InstallId uint `json:"installId" validate:"required"`
BackupId uint `json:"backupId"`
DetailId uint `json:"detailId"`
Operate constant.AppOperate `json:"operate" validate:"required"`
ForceDelete bool `json:"forceDelete"`
DeleteBackup bool `json:"deleteBackup"`
DeleteDB bool `json:"deleteDB"`
}
type AppInstalledSearch ¶
type AppInstalledUpdate ¶
type AppInstalledUpdate struct {
InstallId uint `json:"installId" validate:"required"`
Params map[string]interface{} `json:"params" validate:"required"`
AppContainerConfig
}
type DirSizeReq ¶
type DirSizeReq struct {
Path string `json:"path" validate:"required"`
}
type FileBatchDelete ¶
type FileCompress ¶
type FileCreate ¶
type FileDeCompress ¶
type FileDelete ¶
type FileDownload ¶
type FileOption ¶
type FileOption struct {
files.FileOption
}
type FilePathCheck ¶
type FilePathCheck struct {
Path string `json:"path" validate:"required"`
}
type FileProcessReq ¶
type FileProcessReq struct {
Key string `json:"key"`
}
type FileRename ¶
type FileRoleUpdate ¶
type NewAppInstall ¶
type NewAppInstall struct {
Name string `json:"name"`
AppDetailId uint `json:"appDetailID"`
Params map[string]interface{} `json:"params"`
AppContainerConfig
}
type NginxAuthReq ¶
type NginxAuthReq struct {
WebsiteID uint `json:"websiteID" validate:"required"`
}
type NginxAuthUpdate ¶
type NginxConfigFileUpdate ¶
type NginxConfigUpdate ¶
type NginxProxyUpdate ¶
type NginxRewriteReq ¶
type NginxRewriteUpdate ¶
type NginxScopeReq ¶
type PortUpdate ¶
type RuntimeConfig ¶
type RuntimeCreate ¶
type RuntimeDelete ¶
type RuntimeDelete struct {
ID uint `json:"id"`
}
type RuntimeSearch ¶
type RuntimeUpdate ¶
type SearchUploadWithPage ¶
type WebsiteAcmeAccountCreate ¶
type WebsiteAcmeAccountCreate struct {
Email string `json:"email" validate:"required"`
}
type WebsiteCreate ¶
type WebsiteCreate struct {
PrimaryDomain string `json:"primaryDomain" validate:"required"`
Type string `json:"type" validate:"required"`
Alias string `json:"alias" validate:"required"`
Remark string `json:"remark"`
OtherDomains string `json:"otherDomains"`
Proxy string `json:"proxy"`
WebsiteGroupID uint `json:"webSiteGroupID" validate:"required"`
AppType string `json:"appType" validate:"oneof=new installed"`
AppInstall NewAppInstall `json:"appInstall"`
AppID uint `json:"appID"`
AppInstallID uint `json:"appInstallID"`
RuntimeID uint `json:"runtimeID"`
RuntimeConfig
}
type WebsiteDNSReq ¶
type WebsiteDefaultUpdate ¶
type WebsiteDefaultUpdate struct {
ID uint `json:"id" validate:"required"`
}
type WebsiteDelete ¶
type WebsiteDnsAccountCreate ¶
type WebsiteDnsAccountUpdate ¶
type WebsiteDomainCreate ¶
type WebsiteDomainDelete ¶
type WebsiteDomainDelete struct {
ID uint `json:"id" validate:"required"`
}
type WebsiteGroupCreate ¶
type WebsiteGroupCreate struct {
Name string `json:"name" validate:"required"`
}
type WebsiteGroupUpdate ¶
type WebsiteHTTPSOp ¶
type WebsiteHTTPSOp struct {
WebsiteID uint `json:"websiteId" validate:"required"`
Enable bool `json:"enable" validate:"required"`
WebsiteSSLID uint `json:"websiteSSLId"`
Type string `json:"type" validate:"oneof=existed auto manual"`
PrivateKey string `json:"privateKey"`
Certificate string `json:"certificate"`
HttpConfig string `json:"HttpConfig" validate:"oneof=HTTPSOnly HTTPAlso HTTPToHTTPS"`
SSLProtocol []string `json:"SSLProtocol"`
Algorithm string `json:"algorithm"`
}
type WebsiteInstallCheckReq ¶
type WebsiteInstallCheckReq struct {
InstallIds []uint `json:"InstallIds" validate:"required"`
}
type WebsiteLogReq ¶
type WebsiteNginxUpdate ¶
type WebsitePHPConfigUpdate ¶
type WebsitePHPFileUpdate ¶
type WebsiteProxyConfig ¶
type WebsiteProxyConfig struct {
ID uint `json:"id" validate:"required"`
Operate string `json:"operate" validate:"required"`
Enable bool `json:"enable" validate:"required"`
Cache bool `json:"cache" validate:"required"`
CacheTime int `json:"cacheTime" validate:"required"`
CacheUnit string `json:"cacheUnit" validate:"required"`
Name string `json:"name" validate:"required"`
Modifier string `json:"modifier" validate:"required"`
Match string `json:"match" validate:"required"`
ProxyPass string `json:"proxyPass" validate:"required"`
ProxyHost string `json:"proxyHost" validate:"required"`
Content string `json:"content"`
FilePath string `json:"filePath"`
Replaces map[string]string `json:"replaces"`
}
type WebsiteProxyReq ¶
type WebsiteProxyReq struct {
ID uint `json:"id" validate:"required"`
}
type WebsiteRecover ¶
type WebsiteRecoverByFile ¶
type WebsiteResourceReq ¶
type WebsiteResourceReq struct {
ID uint `json:"id" validate:"required"`
}
type WebsiteSSLCreate ¶
type WebsiteSSLCreate struct {
PrimaryDomain string `json:"primaryDomain" validate:"required"`
OtherDomains string `json:"otherDomains"`
Provider string `json:"provider" validate:"required"`
AcmeAccountID uint `json:"acmeAccountId" validate:"required"`
DnsAccountID uint `json:"dnsAccountId"`
AutoRenew bool `json:"autoRenew" validate:"required"`
}
type WebsiteSSLRenew ¶
type WebsiteSSLRenew struct {
SSLID uint `json:"SSLId" validate:"required"`
}
type WebsiteSSLSearch ¶
type WebsiteSSLUpdate ¶
type WebsiteSearch ¶
type WebsiteUpdate ¶
type WebsiteUpdateDir ¶
type WebsiteWafReq ¶
type WebsiteWafUpdate ¶
Click to show internal directories.
Click to hide internal directories.