This commit is contained in:
Chris Lu 2021-09-19 12:06:15 -07:00
parent ad5099e570
commit 84fdda85e7
3 changed files with 7 additions and 9 deletions

View file

@ -22,8 +22,8 @@ type RemoteGatewayOptions struct {
timeAgo *time.Duration timeAgo *time.Duration
createBucketAt *string createBucketAt *string
createBucketRandomSuffix *bool createBucketRandomSuffix *bool
include *string include *string
exclude *string exclude *string
mappings *remote_pb.RemoteStorageMapping mappings *remote_pb.RemoteStorageMapping
remoteConfs map[string]*remote_pb.RemoteConf remoteConfs map[string]*remote_pb.RemoteConf

View file

@ -13,12 +13,11 @@ import (
) )
type RemoteSyncOptions struct { type RemoteSyncOptions struct {
filerAddress *string filerAddress *string
grpcDialOption grpc.DialOption grpcDialOption grpc.DialOption
readChunkFromFiler *bool readChunkFromFiler *bool
timeAgo *time.Duration timeAgo *time.Duration
dir *string dir *string
} }
var _ = filer_pb.FilerClient(&RemoteSyncOptions{}) var _ = filer_pb.FilerClient(&RemoteSyncOptions{})

View file

@ -35,4 +35,3 @@ func (s3a *S3ApiServer) PutObjectLockConfigurationHandler(w http.ResponseWriter,
w.WriteHeader(http.StatusNoContent) w.WriteHeader(http.StatusNoContent)
} }