Skip to content

Commit bd5c602

Browse files
committed
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 <[email protected]>
1 parent 75f72d6 commit bd5c602

3 files changed

Lines changed: 75 additions & 56 deletions

File tree

api/next.pb.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3821,6 +3821,13 @@ file {
38213821
type_name: ".containerd.services.diff.v1.ApplyRequest.PayloadsEntry"
38223822
json_name: "payloads"
38233823
}
3824+
field {
3825+
name: "sync_fs"
3826+
number: 4
3827+
label: LABEL_OPTIONAL
3828+
type: TYPE_BOOL
3829+
json_name: "syncFs"
3830+
}
38243831
nested_type {
38253832
name: "PayloadsEntry"
38263833
field {

api/services/diff/v1/diff.pb.go

Lines changed: 66 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/services/diff/v1/diff.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ message ApplyRequest {
4444
repeated containerd.types.Mount mounts = 2;
4545

4646
map<string, google.protobuf.Any> payloads = 3;
47+
// SyncFs is to synchronize the underlying filesystem containing files.
48+
bool sync_fs = 4;
4749
}
4850

4951
message ApplyResponse {

0 commit comments

Comments
 (0)