2021-03-15 13:53:08 +03:00
|
|
|
package netmap
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2023-03-07 16:38:26 +03:00
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/netmap"
|
2021-03-15 13:53:08 +03:00
|
|
|
)
|
|
|
|
|
2023-02-05 18:59:38 +03:00
|
|
|
// Server is an interface of the FrostFS API Netmap service server.
|
2021-03-15 13:53:08 +03:00
|
|
|
type Server interface {
|
|
|
|
LocalNodeInfo(context.Context, *netmap.LocalNodeInfoRequest) (*netmap.LocalNodeInfoResponse, error)
|
|
|
|
NetworkInfo(context.Context, *netmap.NetworkInfoRequest) (*netmap.NetworkInfoResponse, error)
|
2022-09-17 16:37:01 +04:00
|
|
|
Snapshot(context.Context, *netmap.SnapshotRequest) (*netmap.SnapshotResponse, error)
|
2021-03-15 13:53:08 +03:00
|
|
|
}
|