mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-07 10:31:58 +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>
29 lines
737 B
Protocol Buffer
Executable File
29 lines
737 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package talos.resource.definitions.time;
|
|
|
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/time";
|
|
option java_package = "dev.talos.api.resource.definitions.time";
|
|
|
|
import "google/protobuf/duration.proto";
|
|
|
|
// AdjtimeStatusSpec describes Linux internal adjtime state.
|
|
message AdjtimeStatusSpec {
|
|
google.protobuf.Duration offset = 1;
|
|
double frequency_adjustment_ratio = 2;
|
|
google.protobuf.Duration max_error = 3;
|
|
google.protobuf.Duration est_error = 4;
|
|
string status = 5;
|
|
int64 constant = 6;
|
|
bool sync_status = 7;
|
|
string state = 8;
|
|
}
|
|
|
|
// StatusSpec describes time sync state.
|
|
message StatusSpec {
|
|
bool synced = 1;
|
|
int64 epoch = 2;
|
|
bool sync_disabled = 3;
|
|
}
|
|
|