mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
22 lines
654 B
Go
22 lines
654 B
Go
package dynamic_module_dto
|
|
|
|
type CreateDynamicModule struct {
|
|
Id string `json:"id"`
|
|
Name string `json:"title"`
|
|
Driver string `json:"driver"`
|
|
Description string `json:"description"`
|
|
Config map[string]interface{} `json:"config"`
|
|
}
|
|
|
|
//type PartitionConfig map[string]interface{}
|
|
|
|
type EditDynamicModule struct {
|
|
Name *string `json:"title"`
|
|
Description *string `json:"description"`
|
|
Config *map[string]interface{} `json:"config"`
|
|
}
|
|
|
|
type ClusterInput struct {
|
|
Clusters []string `json:"clusters" aocheck:"cluster"`
|
|
}
|