Airat Arifullin
9b13a18aac
* Update version within go.mod; * Fix deprecated frostfs-api-go/v2 package and use frostfs-sdk-go/api instead. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
15 lines
522 B
Go
15 lines
522 B
Go
package container
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/container"
|
|
)
|
|
|
|
// Server is an interface of the FrostFS API Container service server.
|
|
type Server interface {
|
|
Put(context.Context, *container.PutRequest) (*container.PutResponse, error)
|
|
Get(context.Context, *container.GetRequest) (*container.GetResponse, error)
|
|
Delete(context.Context, *container.DeleteRequest) (*container.DeleteResponse, error)
|
|
List(context.Context, *container.ListRequest) (*container.ListResponse, error)
|
|
}
|