added isFileExist rpc
This commit is contained in:
parent
a61107c056
commit
151ed1f965
|
@ -59,6 +59,7 @@ GetQueueNames: "/hpc/openapi/v2/queuenames/users/{username}" #查询用户可
|
|||
GetFileList : "/openapi/v2/file/list"
|
||||
GetFile: "/openapi/v2/file/download"
|
||||
UploadFile : "/openapi/v2/file/upload"
|
||||
ExistFile : "/efile/openapi/v2/file/exist"
|
||||
|
||||
# 容器
|
||||
GetInstanceAi : "/sothisai/api/instance-service"
|
||||
|
|
|
@ -51,6 +51,7 @@ type FileConf struct {
|
|||
GetFileList string
|
||||
GetFile string
|
||||
UploadFile string
|
||||
ExistFile string
|
||||
}
|
||||
|
||||
// 曙光用户资源
|
||||
|
|
|
@ -1052,6 +1052,20 @@ message UploadFileResp {
|
|||
|
||||
message UploadFileData {
|
||||
}
|
||||
|
||||
message IsExistFileReq {
|
||||
string path = 1;
|
||||
}
|
||||
|
||||
message IsExistFileResp {
|
||||
string code = 1;
|
||||
Exist data = 2;
|
||||
string msg = 3;
|
||||
}
|
||||
|
||||
message Exist {
|
||||
bool exist = 1;
|
||||
}
|
||||
/******************曙光文件接口 End*************************/
|
||||
|
||||
/******************曙光容器 Start*************************/
|
||||
|
@ -1349,6 +1363,7 @@ service hpcAC {
|
|||
rpc GetFileList (GetFileListReq) returns (GetFileListResp);
|
||||
rpc GetFile (GetFileReq) returns (GetFileResp);
|
||||
rpc UploadFile (UploadFileReq) returns (UploadFileResp);
|
||||
rpc IsExistFile (IsExistFileReq) returns (IsExistFileResp);
|
||||
|
||||
|
||||
//用户资源
|
||||
|
|
Loading…
Reference in New Issue