There's a cyclic dependency on siderolink library which imports talos machinery back. We will fix that after we get talos pushed under a new name. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
27 lines
675 B
Protocol Buffer
27 lines
675 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package resource.config;
|
|
|
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/config";
|
|
|
|
// MessageConfigSpec is the spec for the config.MachineConfig resource.
|
|
message MachineConfigSpec {
|
|
// Contains YAML marshalled machine configuration.
|
|
//
|
|
// Byte representation is preserved as the machine configuration was submitted to the node.
|
|
bytes yaml_marshalled = 1;
|
|
}
|
|
|
|
// MachineType matches machine.Type constants.
|
|
enum MachineType {
|
|
UNKNOWN = 0;
|
|
INIT = 1;
|
|
CONTROL_PLANE = 2;
|
|
WORKER = 3;
|
|
}
|
|
|
|
// MachineTypeSpec is the spec for the config.MachineType resource.
|
|
message MachineTypeSpec {
|
|
MachineType machine_type = 1;
|
|
}
|