Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions protect/control/v1/control.proto
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,10 @@ message KernelVariant {
// local image cache, as a sequence of `chunk`s with `last_chunk` set on the final one.
// The first message must carry `image`, `digest` and `format`, identifying the image
// and selecting the packed format to unpack it into.
//
// `local_path` replaces the `chunk` stream for a caller that shares a filesystem with
// the daemon: it names a local OCI-layout directory for the daemon to read directly, in
// a single request.
message ImportImageRequest {
string digest = 1;
string image = 2;
Expand All @@ -695,6 +699,7 @@ message ImportImageRequest {
bool last_chunk = 5;
bool overwrite_cache = 6;
bool want_metadata = 7;
string local_path = 8;
}

// Streamed reply for `ImportImage`. `accepted` indicates whether the daemon will consume
Expand Down