|
|
|
@@ -176,4 +176,38 @@ type ( |
|
|
|
GetDeployTasksByTypeResp { |
|
|
|
List interface{} `json:"list"` |
|
|
|
} |
|
|
|
|
|
|
|
CreateDeployTaskReq { |
|
|
|
TaskName string `form:"taskName"` |
|
|
|
TaskDesc string `form:"taskDesc"` |
|
|
|
ModelName string `form:"modelName"` |
|
|
|
ModelType string `form:"modelType"` |
|
|
|
AdapterClusterMap map[string]string `form:"adapterClusterMap"` |
|
|
|
} |
|
|
|
|
|
|
|
CreateDeployTaskResp { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
GetAdaptersByModelReq { |
|
|
|
ModelName string `form:"modelName"` |
|
|
|
ModelType string `form:"modelType"` |
|
|
|
} |
|
|
|
|
|
|
|
GetAdaptersByModelResp { |
|
|
|
Adapters []AdapterAvail `json:"adapters"` |
|
|
|
} |
|
|
|
|
|
|
|
AdapterAvail { |
|
|
|
AdapterId string `json:"adapterId"` |
|
|
|
AdapterName string `json:"taskName"` |
|
|
|
Clusters []ClusterAvail `json:"clusters"` |
|
|
|
} |
|
|
|
|
|
|
|
ClusterAvail { |
|
|
|
ClusterId string `json:"clusterId"` |
|
|
|
ClusterName string `json:"clusterName"` |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
) |