mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-06 01:51:14 +01:00
This option must be defined at the proto level in order to have an import path that is reasonably usable Signed-off-by: Eddie Zaneski <eddiezane@gmail.com> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
25 lines
616 B
Protocol Buffer
Executable File
25 lines
616 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package talos.resource.definitions.proto;
|
|
|
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/proto";
|
|
option java_package = "dev.talos.api.resource.definitions.proto";
|
|
|
|
// LinuxIDMapping specifies UID/GID mappings.
|
|
message LinuxIDMapping {
|
|
uint32 container_id = 1;
|
|
uint32 host_id = 2;
|
|
uint32 size = 3;
|
|
}
|
|
|
|
// Mount specifies a mount for a container.
|
|
message Mount {
|
|
string destination = 1;
|
|
string type = 2;
|
|
string source = 3;
|
|
repeated string options = 4;
|
|
repeated LinuxIDMapping uid_mappings = 5;
|
|
repeated LinuxIDMapping gid_mappings = 6;
|
|
}
|
|
|