Documentation
¶
Index ¶
- type AppBackupDelete
- type AppBackupSearch
- 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 FileWget
- type NewAppInstall
- type NginxConfigFileUpdate
- type NginxConfigUpdate
- type NginxScopeReq
- type PortUpdate
- 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 WebsiteRecover
- type WebsiteRecoverByFile
- type WebsiteResourceReq
- type WebsiteSSLCreate
- type WebsiteSSLRenew
- type WebsiteSSLSearch
- type WebsiteSearch
- type WebsiteUpdate
- 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 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 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 NewAppInstall ¶
type NginxConfigFileUpdate ¶
type NginxConfigUpdate ¶
type NginxScopeReq ¶
type PortUpdate ¶
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"`
}
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 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 WebsiteSearch ¶
type WebsiteUpdate ¶
type WebsiteWafReq ¶
type WebsiteWafUpdate ¶
Click to show internal directories.
Click to hide internal directories.