response

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Params []AppParam `json:"params"`
	request.AppContainerConfig
}

type AppDTO

type AppDTO struct {
	model.App
	Installed bool        `json:"installed"`
	Versions  []string    `json:"versions"`
	Tags      []model.Tag `json:"tags"`
}

type AppDetailDTO

type AppDetailDTO struct {
	model.AppDetail
	Enable bool        `json:"enable"`
	Params interface{} `json:"params"`
	Image  string      `json:"image"`
}

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"`
}

type AppInstalledDTO

type AppInstalledDTO struct {
	model.AppInstall
	Total     int    `json:"total"`
	Ready     int    `json:"ready"`
	AppName   string `json:"appName"`
	Icon      string `json:"icon"`
	CanUpdate bool   `json:"canUpdate"`
	Path      string `json:"path"`
}

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 AppRes

type AppRes struct {
	Items []*AppDTO `json:"items"`
	Total int64     `json:"total"`
}

type AppService

type AppService struct {
	Label  string      `json:"label"`
	Value  string      `json:"value"`
	Config interface{} `json:"config"`
}

type AppUpdateRes

type AppUpdateRes struct {
	CanUpdate            bool        `json:"canUpdate"`
	AppStoreLastModified int         `json:"appStoreLastModified"`
	List                 dto.AppList `json:"list"`
}

type DatabaseConn

type DatabaseConn struct {
	Password    string `json:"password"`
	ServiceName string `json:"serviceName"`
	Port        int64  `json:"port"`
}

type DirSizeRes

type DirSizeRes struct {
	Size float64 `json:"size" validate:"required"`
}

type FileInfo

type FileInfo struct {
	files.FileInfo
}

type FileProcessKeys

type FileProcessKeys struct {
	Keys []string `json:"keys"`
}

type FileTree

type FileTree struct {
	ID       string     `json:"id"`
	Name     string     `json:"name"`
	Path     string     `json:"path"`
	Children []FileTree `json:"children"`
}

type FileWgetRes

type FileWgetRes struct {
	Key string `json:"key"`
}

type NginxAuthRes

type NginxAuthRes struct {
	Enable bool            `json:"enable"`
	Items  []dto.NginxAuth `json:"items"`
}

type NginxParam

type NginxParam struct {
	Name   string   `json:"name"`
	Params []string `json:"params"`
}

type NginxRewriteRes

type NginxRewriteRes struct {
	Content string `json:"content"`
}

type NginxStatus

type NginxStatus struct {
	Active   string `json:"active"`
	Accepts  string `json:"accepts"`
	Handled  string `json:"handled"`
	Requests string `json:"requests"`
	Reading  string `json:"reading"`
	Writing  string `json:"writing"`
	Waiting  string `json:"waiting"`
}

type PHPConfig

type PHPConfig struct {
	Params map[string]string `json:"params"`
}

type RuntimeRes

type RuntimeRes struct {
	model.Runtime
	AppParams []AppParam `json:"appParams"`
	AppID     uint       `json:"appId"`
}

type TagDTO

type TagDTO struct {
	model.Tag
}

type UploadInfo

type UploadInfo struct {
	Name      string `json:"name"`
	Size      int    `json:"size"`
	CreatedAt string `json:"createdAt"`
}

type WebsiteAcmeAccountDTO

type WebsiteAcmeAccountDTO struct {
	model.WebsiteAcmeAccount
}

type WebsiteDNSRes

type WebsiteDNSRes struct {
	Key    string `json:"resolve"`
	Value  string `json:"value"`
	Domain string `json:"domain"`
	Err    string `json:"err"`
}

type WebsiteDTO

type WebsiteDTO struct {
	model.Website
	ErrorLogPath  string `json:"errorLogPath"`
	AccessLogPath string `json:"accessLogPath"`
	SitePath      string `json:"sitePath"`
	AppName       string `json:"appName"`
	RuntimeName   string `json:"runtimeName"`
}

type WebsiteDnsAccountDTO

type WebsiteDnsAccountDTO struct {
	model.WebsiteDnsAccount
	Authorization map[string]string `json:"authorization"`
}

type WebsiteHTTPS

type WebsiteHTTPS struct {
	Enable      bool             `json:"enable"`
	HttpConfig  string           `json:"httpConfig"`
	SSL         model.WebsiteSSL `json:"SSL"`
	SSLProtocol []string         `json:"SSLProtocol"`
	Algorithm   string           `json:"algorithm"`
}

type WebsiteLog

type WebsiteLog struct {
	Enable  bool   `json:"enable"`
	Content string `json:"content"`
}

type WebsiteNginxConfig

type WebsiteNginxConfig struct {
	Enable bool         `json:"enable"`
	Params []NginxParam `json:"params"`
}

type WebsitePreInstallCheck

type WebsitePreInstallCheck struct {
	Name    string `json:"name"`
	Status  string `json:"status"`
	Version string `json:"version"`
	AppName string `json:"appName"`
}

type WebsiteSSLDTO

type WebsiteSSLDTO struct {
	model.WebsiteSSL
}

type WebsiteWafConfig

type WebsiteWafConfig struct {
	Enable   bool   `json:"enable"`
	FilePath string `json:"filePath"`
	Content  string `json:"content"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL