diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-07-27 01:16:28 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-07-27 01:16:28 -0700 |
| commit | 4b94b03d90a97dfd6fecc55e7091055bf5fc329c (patch) | |
| tree | ea449e802e467af46af16641a7c480b8add52f98 /other/java | |
| parent | 99b599aa8a674ccd584d612e8e871fdca7670620 (diff) | |
| download | seaweedfs-4b94b03d90a97dfd6fecc55e7091055bf5fc329c.tar.xz seaweedfs-4b94b03d90a97dfd6fecc55e7091055bf5fc329c.zip | |
directory to remote storage mapping
Diffstat (limited to 'other/java')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index 23c841f18..12f9a8505 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -344,7 +344,9 @@ message LocateBrokerResponse { repeated Resource resources = 2; } +///////////////////////// // Key-Value operations +///////////////////////// message KvGetRequest { bytes key = 1; } @@ -360,7 +362,9 @@ message KvPutResponse { string error = 1; } +///////////////////////// // path-based configurations +///////////////////////// message FilerConf { int32 version = 1; message PathConf { @@ -376,6 +380,9 @@ message FilerConf { repeated PathConf locations = 2; } +///////////////////////// +// Remote Storage related +///////////////////////// message RemoteConf { string type = 1; string name = 2; @@ -384,3 +391,11 @@ message RemoteConf { string s3_region = 6; string s3_endpoint = 7; } + +message RemoteStorageMappingList { + repeated RemoteStorageMapping mappings = 1; +} +message RemoteStorageMapping { + string dir = 1; + string remote_storage_name = 2; +} |
