Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mgmt endpoint & cli command for infra machine reboot #826

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
399 changes: 260 additions & 139 deletions client/api/omni/management/management.pb.go

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions client/api/omni/management/management.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions client/api/omni/management/management.proto
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ message ReadAuditLogResponse {
bytes audit_log = 1;
}

message RebootMachineRequest {
string machine_id = 1;
}

message RebootMachineResponse {
string reboot_id = 1;
google.protobuf.Timestamp last_reboot_timestamp = 3;
}

service ManagementService {
rpc Kubeconfig(KubeconfigRequest) returns (KubeconfigResponse);
rpc Talosconfig(TalosconfigRequest) returns (TalosconfigResponse);
Expand All @@ -187,4 +196,5 @@ service ManagementService {
rpc CreateSchematic(CreateSchematicRequest) returns (CreateSchematicResponse);
rpc GetSupportBundle(GetSupportBundleRequest) returns (stream GetSupportBundleResponse);
rpc ReadAuditLog(ReadAuditLogRequest) returns (stream ReadAuditLogResponse);
rpc RebootMachine(RebootMachineRequest) returns (RebootMachineResponse);
}
38 changes: 38 additions & 0 deletions client/api/omni/management/management_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading