Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthCheckHandler ¶
func HealthCheckHandler(w http.ResponseWriter, r *http.Request)
func ListDatabaseHandler ¶
func ListDatabaseHandler(w http.ResponseWriter, r *http.Request)
func RetrieveDatabaseHandler ¶
func RetrieveDatabaseHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type ListDatabaseInfo ¶
type MemoryStats ¶
type RetrieveDatabaseInfo ¶
type RetrieveDatabaseInfo struct { ID string `json:"id"` Name string `json:"name"` Image string `json:"image"` Status string `json:"status"` CPUUsage float64 `json:"cpu_usage"` MemoryUsage MemoryStats `json:"memory_usage"` StorageUsage StorageStats `json:"storage_usage"` Ports map[string]string `json:"ports,omitempty"` Volumes []VolumeInfo `json:"volumes,omitempty"` }
type StorageStats ¶
type VolumeInfo ¶
Click to show internal directories.
Click to hide internal directories.