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/
/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"`
}
)