Documentation ¶
Index ¶
- type Server
- func (s *Server) Delete(ctx context.Context, req *containerGRPC.DeleteRequest) (*containerGRPC.DeleteResponse, error)
- func (s *Server) Get(ctx context.Context, req *containerGRPC.GetRequest) (*containerGRPC.GetResponse, error)
- func (s *Server) GetExtendedACL(ctx context.Context, req *containerGRPC.GetExtendedACLRequest) (*containerGRPC.GetExtendedACLResponse, error)
- func (s *Server) List(ctx context.Context, req *containerGRPC.ListRequest) (*containerGRPC.ListResponse, error)
- func (s *Server) Put(ctx context.Context, req *containerGRPC.PutRequest) (*containerGRPC.PutResponse, error)
- func (s *Server) SetExtendedACL(ctx context.Context, req *containerGRPC.SetExtendedACLRequest) (*containerGRPC.SetExtendedACLResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.12.0
type Server struct {
// contains filtered or unexported fields
}
Server wraps NeoFS API Container service and provides gRPC Container service server interface.
func (*Server) Delete ¶ added in v0.12.0
func (s *Server) Delete(ctx context.Context, req *containerGRPC.DeleteRequest) (*containerGRPC.DeleteResponse, error)
Delete converts gRPC DeleteRequest message and passes it to internal Container service.
func (*Server) Get ¶ added in v0.12.0
func (s *Server) Get(ctx context.Context, req *containerGRPC.GetRequest) (*containerGRPC.GetResponse, error)
Get converts gRPC GetRequest message and passes it to internal Container service.
func (*Server) GetExtendedACL ¶ added in v0.12.0
func (s *Server) GetExtendedACL(ctx context.Context, req *containerGRPC.GetExtendedACLRequest) (*containerGRPC.GetExtendedACLResponse, error)
GetExtendedACL converts gRPC GetExtendedACLRequest message and passes it to internal Container service.
func (*Server) List ¶ added in v0.12.0
func (s *Server) List(ctx context.Context, req *containerGRPC.ListRequest) (*containerGRPC.ListResponse, error)
List converts gRPC ListRequest message and passes it to internal Container service.
func (*Server) Put ¶ added in v0.12.0
func (s *Server) Put(ctx context.Context, req *containerGRPC.PutRequest) (*containerGRPC.PutResponse, error)
Put converts gRPC PutRequest message and passes it to internal Container service.
func (*Server) SetExtendedACL ¶ added in v0.12.0
func (s *Server) SetExtendedACL(ctx context.Context, req *containerGRPC.SetExtendedACLRequest) (*containerGRPC.SetExtendedACLResponse, error)
SetExtendedACL converts gRPC SetExtendedACLRequest message and passes it to internal Container service.