Signed-off-by: jagger <cossjie@foxmail.com>

Former-commit-id: 3448a8c4e004f8be3e663e9de5bff3754707bd56
This commit is contained in:
jagger 2024-07-26 11:15:54 +08:00
parent da6f5c3170
commit 7ac9ad4914
2 changed files with 15 additions and 14 deletions

1
.gitignore vendored
View File

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

View File

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