mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-03 03:31:12 +02: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>
33 lines
756 B
Protocol Buffer
Executable File
33 lines
756 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package talos.resource.definitions.siderolink;
|
|
|
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/siderolink";
|
|
option java_package = "dev.talos.api.resource.definitions.siderolink";
|
|
|
|
import "common/common.proto";
|
|
|
|
// ConfigSpec describes Siderolink configuration.
|
|
message ConfigSpec {
|
|
string api_endpoint = 1;
|
|
string host = 2;
|
|
string join_token = 3;
|
|
bool insecure = 4;
|
|
bool tunnel = 5;
|
|
}
|
|
|
|
// StatusSpec describes Siderolink status.
|
|
message StatusSpec {
|
|
string host = 1;
|
|
bool connected = 2;
|
|
}
|
|
|
|
// TunnelSpec describes Siderolink GRPC Tunnel configuration.
|
|
message TunnelSpec {
|
|
string api_endpoint = 1;
|
|
string link_name = 2;
|
|
int64 mtu = 3;
|
|
common.NetIPPort node_address = 4;
|
|
}
|
|
|