 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type AppConfig
- type AppDTO
- type AppDetailDTO
- type AppInstalledCheck
- type AppInstalledDTO
- type AppParam
- type AppRes
- type AppService
- type AppUpdateRes
- type DatabaseConn
- type DirSizeRes
- type FileInfo
- type FileProcessKeys
- type FileTree
- type FileWgetRes
- type HostToolConfig
- type HostToolRes
- type IgnoredApp
- type NginxAntiLeechRes
- type NginxAuthRes
- type NginxFile
- type NginxParam
- type NginxRedirectConfig
- type NginxRewriteRes
- type NginxStatus
- type NodeModule
- type PHPConfig
- type PackageScripts
- type ProcessStatus
- type RuntimeDTO
- type Supervisor
- type SupervisorProcessConfig
- type TagDTO
- type UploadInfo
- type WebsiteAcmeAccountDTO
- type WebsiteDNSRes
- type WebsiteDTO
- type WebsiteDirConfig
- type WebsiteDnsAccountDTO
- type WebsiteHTTPS
- type WebsiteLog
- type WebsiteNginxConfig
- type WebsitePreInstallCheck
- type WebsiteSSLDTO
- type WebsiteWafConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶ added in v1.3.0
type AppConfig struct {
	Params []AppParam `json:"params"`
	request.AppContainerConfig
}
    type AppDetailDTO ¶
type AppInstalledCheck ¶
type AppInstalledCheck struct {
	IsExist       bool      `json:"isExist"`
	Name          string    `json:"name"`
	App           string    `json:"app"`
	Version       string    `json:"version"`
	Status        string    `json:"status"`
	CreatedAt     time.Time `json:"createdAt"`
	LastBackupAt  string    `json:"lastBackupAt"`
	AppInstallID  uint      `json:"appInstallId"`
	ContainerName string    `json:"containerName"`
	InstallPath   string    `json:"installPath"`
	HttpPort      int       `json:"httpPort"`
	HttpsPort     int       `json:"httpsPort"`
}
    type AppInstalledDTO ¶
type AppParam ¶
type AppParam struct {
	Value     interface{} `json:"value"`
	Edit      bool        `json:"edit"`
	Key       string      `json:"key"`
	Rule      string      `json:"rule"`
	LabelZh   string      `json:"labelZh"`
	LabelEn   string      `json:"labelEn"`
	Type      string      `json:"type"`
	Values    interface{} `json:"values"`
	ShowValue string      `json:"showValue"`
	Required  bool        `json:"required"`
	Multiple  bool        `json:"multiple"`
}
    type AppService ¶
type AppUpdateRes ¶
type DatabaseConn ¶ added in v1.1.0
type DirSizeRes ¶
type DirSizeRes struct {
	Size float64 `json:"size" validate:"required"`
}
    type FileProcessKeys ¶
type FileProcessKeys struct {
	Keys []string `json:"keys"`
}
    type FileWgetRes ¶
type FileWgetRes struct {
	Key string `json:"key"`
}
    type HostToolConfig ¶ added in v1.5.0
type HostToolConfig struct {
	Content string `json:"content"`
}
    type HostToolRes ¶ added in v1.5.0
type HostToolRes struct {
	Type   string      `json:"type"`
	Config interface{} `json:"config"`
}
    type IgnoredApp ¶ added in v1.4.0
type NginxAntiLeechRes ¶ added in v1.3.0
type NginxAntiLeechRes struct {
	Enable      bool     `json:"enable"`
	Extends     string   `json:"extends"`
	Return      string   `json:"return"`
	ServerNames []string `json:"serverNames"`
	Cache       bool     `json:"cache"`
	CacheTime   int      `json:"cacheTime"`
	CacheUint   string   `json:"cacheUint"`
	NoneRef     bool     `json:"noneRef"`
	LogEnable   bool     `json:"logEnable"`
	Blocked     bool     `json:"blocked"`
}
    type NginxAuthRes ¶ added in v1.2.0
type NginxParam ¶
type NginxRedirectConfig ¶ added in v1.5.0
type NginxRedirectConfig struct {
	WebsiteID    uint     `json:"websiteID"`
	Name         string   `json:"name"`
	Domains      []string `json:"domains"`
	KeepPath     bool     `json:"keepPath"`
	Enable       bool     `json:"enable"`
	Type         string   `json:"type"`
	Redirect     string   `json:"redirect"`
	Path         string   `json:"path"`
	Target       string   `json:"target"`
	FilePath     string   `json:"filePath"`
	Content      string   `json:"content"`
	RedirectRoot bool     `json:"redirectRoot"`
}
    type NginxRewriteRes ¶ added in v1.1.1
type NginxRewriteRes struct {
	Content string `json:"content"`
}
    type NginxStatus ¶
type NodeModule ¶ added in v1.7.0
type PackageScripts ¶ added in v1.7.0
type ProcessStatus ¶ added in v1.5.0
type RuntimeDTO ¶ added in v1.7.0
type RuntimeDTO struct {
	ID          uint                   `json:"id"`
	Name        string                 `json:"name"`
	Resource    string                 `json:"resource"`
	AppDetailID uint                   `json:"appDetailID"`
	AppID       uint                   `json:"appID"`
	Source      string                 `json:"source"`
	Status      string                 `json:"status"`
	Type        string                 `json:"type"`
	Image       string                 `json:"image"`
	Params      map[string]interface{} `json:"params"`
	Message     string                 `json:"message"`
	Version     string                 `json:"version"`
	CreatedAt   time.Time              `json:"createdAt"`
	CodeDir     string                 `json:"codeDir"`
	AppParams   []AppParam             `json:"appParams"`
	Port        int                    `json:"port"`
	Path        string                 `json:"path"`
}
    func NewRuntimeDTO ¶ added in v1.7.0
func NewRuntimeDTO(runtime model.Runtime) RuntimeDTO
type Supervisor ¶ added in v1.5.0
type Supervisor struct {
	ConfigPath  string `json:"configPath"`
	IncludeDir  string `json:"includeDir"`
	LogPath     string `json:"logPath"`
	IsExist     bool   `json:"isExist"`
	Init        bool   `json:"init"`
	Msg         string `json:"msg"`
	Version     string `json:"version"`
	Status      string `json:"status"`
	CtlExist    bool   `json:"ctlExist"`
	ServiceName string `json:"serviceName"`
}
    type SupervisorProcessConfig ¶ added in v1.5.0
type UploadInfo ¶
type WebsiteAcmeAccountDTO ¶
type WebsiteAcmeAccountDTO struct {
	model.WebsiteAcmeAccount
}
    type WebsiteDNSRes ¶
type WebsiteDTO ¶
type WebsiteDirConfig ¶ added in v1.6.0
type WebsiteDnsAccountDTO ¶
type WebsiteDnsAccountDTO struct {
	model.WebsiteDnsAccount
	Authorization map[string]string `json:"authorization"`
}
    type WebsiteHTTPS ¶
type WebsiteLog ¶
type WebsiteNginxConfig ¶
type WebsiteNginxConfig struct {
	Enable bool         `json:"enable"`
	Params []NginxParam `json:"params"`
}
    type WebsitePreInstallCheck ¶
type WebsiteSSLDTO ¶
type WebsiteSSLDTO struct {
	model.WebsiteSSL
}
    type WebsiteWafConfig ¶
 Click to show internal directories. 
   Click to hide internal directories.