MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / Backup

Method Backup

bitmap/pb.pb.go:6215–6222  ·  view source on GitHub ↗
(ctx context.Context, in *BackupRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

6213}
6214
6215func (c *workerClient) Backup(ctx context.Context, in *BackupRequest, opts ...grpc.CallOption) (*BackupResponse, error) {
6216 out := new(BackupResponse)
6217 err := c.cc.Invoke(ctx, "/pb.Worker/Backup", in, out, opts...)
6218 if err != nil {
6219 return nil, err
6220 }
6221 return out, nil
6222}
6223
6224func (c *workerClient) Restore(ctx context.Context, in *RestoreRequest, opts ...grpc.CallOption) (*Status, error) {
6225 out := new(Status)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected