Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAppExist ¶
func ReloadAppConfig ¶
func ReloadAppConfig()
func SaveAppConfig ¶
Types ¶
type App ¶
type App struct { Name string `json:"name"` CaddyConfig caddyManager.APPConfig `json:"caddyConfig" binding:"required"` Type Type `json:"type" binding:"required"` BackendType BackendType `json:"backendType"` BackendConfigRaw json.RawMessage `json:"backendConfig"` Version string `json:"version"` // Deprecated: use ExecBackendConfig instead. To be removed in 1.0.0 release. AutoReboot bool `json:"autoReboot,omitempty"` // Deprecated: use ExecBackendConfig instead. To be removed in 1.0.0 release. Path string `json:"path,omitempty"` // Deprecated: use ExecBackendConfig instead. To be removed in 1.0.0 release. BootArgument string `json:"bootArgument,omitempty"` }
func LoadAppConfig ¶
type BackendType ¶
type BackendType string
const ( NoneBackend BackendType = "none" ExecBackend BackendType = "exec" )
type ContainerConfig ¶
type ContainerConfig struct {
ID string `json:"id"`
}
type ExecBackendConfig ¶
Click to show internal directories.
Click to hide internal directories.