You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
929 B
28 lines
929 B
4 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package envoy.extensions.key_value.file_based.v3;
|
||
|
|
||
|
import "google/protobuf/duration.proto";
|
||
|
|
||
|
import "udpa/annotations/status.proto";
|
||
|
import "validate/validate.proto";
|
||
|
|
||
|
option java_package = "io.envoyproxy.envoy.extensions.key_value.file_based.v3";
|
||
|
option java_outer_classname = "ConfigProto";
|
||
|
option java_multiple_files = true;
|
||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE;
|
||
|
|
||
|
// [#protodoc-title: File Based Key Value Store storage plugin]
|
||
|
|
||
|
// [#alpha:]
|
||
|
// [#extension: envoy.key_value.file_based]
|
||
|
// This is configuration to flush a key value store out to disk.
|
||
|
message FileBasedKeyValueStoreConfig {
|
||
|
// The filename to read the keys and values from, and write the keys and
|
||
|
// values to.
|
||
|
string filename = 1 [(validate.rules).string = {min_len: 1}];
|
||
|
|
||
|
// The interval at which the key value store should be flushed to the file.
|
||
|
google.protobuf.Duration flush_interval = 2;
|
||
|
}
|