Evgenii Stratonikov
8377372a40
All checks were successful
Tests and linters / Staticcheck (pull_request) Successful in 2m54s
Build / Build Components (1.22) (pull_request) Successful in 3m28s
Build / Build Components (1.21) (pull_request) Successful in 3m16s
Tests and linters / Lint (pull_request) Successful in 4m14s
Tests and linters / Tests with -race (pull_request) Successful in 8m2s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m41s
Tests and linters / Tests (1.22) (pull_request) Successful in 8m54s
Tests and linters / gopls check (pull_request) Successful in 2m53s
DCO action / DCO (pull_request) Successful in 46s
Vulncheck / Vulncheck (pull_request) Successful in 1m4s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m47s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
16 lines
631 B
Go
16 lines
631 B
Go
package container
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/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)
|
|
GetExtendedACL(context.Context, *container.GetExtendedACLRequest) (*container.GetExtendedACLResponse, error)
|
|
}
|