mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
41 lines
1.1 KiB
Go
41 lines
1.1 KiB
Go
package cluster_dto
|
|
|
|
//type Create struct {
|
|
// Id string `json:"id,omitempty"`
|
|
// Name string `json:"name,omitempty"`
|
|
// Description string `json:"description,omitempty"`
|
|
// Prefix string `json:"prefix,omitempty"`
|
|
// Url string `json:"url,omitempty"`
|
|
// ManagerAddress string `json:"manager_address,omitempty"`
|
|
//}
|
|
//type Edit struct {
|
|
// Name *string `json:"name,omitempty"`
|
|
// Description *string `json:"description,omitempty"`
|
|
// Prefix *string `json:"prefix,omitempty"`
|
|
// Url *string `json:"url,omitempty"`
|
|
//}
|
|
|
|
//type SaveMonitorConfig struct {
|
|
// Driver string `json:"driver"`
|
|
// DefaultConfig map[string]interface{} `json:"config"`
|
|
//}
|
|
|
|
//type MonitorConfig struct {
|
|
// Driver string `json:"driver"`
|
|
// DefaultConfig map[string]interface{} `json:"config"`
|
|
//}
|
|
|
|
//type MonitorPartition struct {
|
|
// Id string `json:"id"`
|
|
// Name string `json:"name"`
|
|
// EnableMonitor bool `json:"enable_monitor"`
|
|
//}
|
|
|
|
type ResetCluster struct {
|
|
ManagerAddress string `json:"manager_address"`
|
|
}
|
|
|
|
type CheckCluster struct {
|
|
Address string `json:"address"`
|
|
}
|