summaryrefslogtreecommitdiffstats
path: root/proto/lib/config/versioningconfiguration.proto
blob: e1c4952e6cd067a172a980ee1f95bb2c7cc73456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
syntax = "proto3";

package config;

import "lib/fs/types.proto";

import "ext.proto";

// VersioningConfiguration is used in the code and for JSON serialization
message VersioningConfiguration {
    string              type               = 1[(ext.xml) = "type,attr"];
    map<string, string> parameters         = 2 [(ext.goname) = "Params", (ext.json) = "params"];
    int32               cleanup_interval_s = 3 [(ext.default) = "3600"];
    string              fs_path            = 4 [(ext.goname) = "FSPath"];
    fs.FilesystemType   fs_type            = 5 [(ext.goname) = "FSType"];
}