Former-commit-id: a7f859e30d993e00eef59162c2ce19f76d2244d4
This commit is contained in:
tzwang 2024-07-26 15:37:26 +08:00
commit 8434ba3a7c
2 changed files with 15 additions and 14 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ configs/tenanter.yaml
log/
/cache/
/vendor/

View File

@ -35,20 +35,20 @@ type (
}
AiInferDeployInstance struct {
Id int64 `db:"id"`
InstanceId string `db:"instance_id"`
InstanceName string `db:"instance_name"`
AdapterId int64 `db:"adapter_id"`
AdapterName string `db:"adapter_name"`
ClusterId int64 `db:"cluster_id"`
ClusterName string `db:"cluster_name"`
ModelName string `db:"model_name"`
ModelType string `db:"model_type"`
InferCard string `db:"infer_card"`
Status string `db:"status"`
CreateTime string `db:"create_time"`
UpdateTime string `db:"update_time"`
ClusterType string `db:"cluster_type"`
Id int64 `db:"id" json:"id,string"`
InstanceId string `db:"instance_id" json:"instanceId"`
InstanceName string `db:"instance_name" json:"instanceName"`
AdapterId int64 `db:"adapter_id" json:"adapterId,string"`
AdapterName string `db:"adapter_name" json:"adapterName" `
ClusterId int64 `db:"cluster_id" json:"clusterId,string"`
ClusterName string `db:"cluster_name" json:"clusterName"`
ModelName string `db:"model_name" json:"modelName"`
ModelType string `db:"model_type" json:"modelType"`
InferCard string `db:"infer_card" json:"inferCard"`
Status string `db:"status" json:"status"`
CreateTime string `db:"create_time" json:"createTime"`
UpdateTime string `db:"update_time" json:"updateTime"`
ClusterType string `db:"cluster_type" json:"clusterType"`
}
)