Airat Arifullin
a17c470fdf
* 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>
14 lines
475 B
Go
14 lines
475 B
Go
package netmap
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/api/netmap"
|
|
)
|
|
|
|
// Server is an interface of the FrostFS API Netmap service server.
|
|
type Server interface {
|
|
LocalNodeInfo(context.Context, *netmap.LocalNodeInfoRequest) (*netmap.LocalNodeInfoResponse, error)
|
|
NetworkInfo(context.Context, *netmap.NetworkInfoRequest) (*netmap.NetworkInfoResponse, error)
|
|
Snapshot(context.Context, *netmap.SnapshotRequest) (*netmap.SnapshotResponse, error)
|
|
}
|