api: introduce sync_fs to diff.ApplyRequest

It's flag to synchronize the underlying filesystem containing files
created during Apply.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
Wei Fu
2023-11-20 22:24:39 +08:00
parent 75f72d6272
commit bd5c602c4d
3 changed files with 75 additions and 56 deletions

View File

@@ -44,6 +44,8 @@ message ApplyRequest {
repeated containerd.types.Mount mounts = 2;
map<string, google.protobuf.Any> payloads = 3;
// SyncFs is to synchronize the underlying filesystem containing files.
bool sync_fs = 4;
}
message ApplyResponse {