Eddie Zaneski 5ba1df4695
chore: add java package to protos
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>
2024-08-26 15:23:21 +04:00

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;
}