forked from TrueCloudLab/frostfs-rest-gw
[#2] Rename internals
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
e5e62a7d8b
commit
c9c85e9022
11 changed files with 35 additions and 35 deletions
|
@ -28,7 +28,7 @@ const (
|
|||
attributeFilePath = "FilePath"
|
||||
)
|
||||
|
||||
// PutObjects handler that uploads object to NeoFS.
|
||||
// PutObjects handler that uploads object to FrostFS.
|
||||
func (a *API) PutObjects(params operations.PutObjectParams, principal *models.Principal) middleware.Responder {
|
||||
errorResponse := operations.NewPutObjectBadRequest()
|
||||
ctx := params.HTTPRequest.Context()
|
||||
|
@ -180,7 +180,7 @@ func (a *API) GetObjectInfo(params operations.GetObjectInfoParams, principal *mo
|
|||
WithAccessControlAllowOrigin("*")
|
||||
}
|
||||
|
||||
// DeleteObject handler that removes object from NeoFS.
|
||||
// DeleteObject handler that removes object from FrostFS.
|
||||
func (a *API) DeleteObject(params operations.DeleteObjectParams, principal *models.Principal) middleware.Responder {
|
||||
errorResponse := operations.NewDeleteObjectBadRequest()
|
||||
ctx := params.HTTPRequest.Context()
|
||||
|
@ -211,7 +211,7 @@ func (a *API) DeleteObject(params operations.DeleteObjectParams, principal *mode
|
|||
WithAccessControlAllowOrigin("*")
|
||||
}
|
||||
|
||||
// SearchObjects handler that removes object from NeoFS.
|
||||
// SearchObjects handler that removes object from FrostFS.
|
||||
func (a *API) SearchObjects(params operations.SearchObjectsParams, principal *models.Principal) middleware.Responder {
|
||||
errorResponse := operations.NewSearchObjectsBadRequest()
|
||||
ctx := params.HTTPRequest.Context()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue