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: implement powering machines on/off #5

Merged
merged 1 commit into from
Dec 13, 2024
Merged
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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-12-06T14:06:35Z by kres 1ebe796.
# Generated on 2024-12-11T22:07:40Z by kres 8183c20.

# common variables

Expand Down Expand Up @@ -159,7 +159,7 @@ local-%: ## Builds the specified target defined in the Dockerfile using the loc
echo $$platform; \
directory="$${platform//\//_}"; \
if [[ -d "$$DEST/$$directory" ]]; then \
mv "$$DEST/$$directory/"* $$DEST; \
mv -f "$$DEST/$$directory/"* $$DEST; \
rmdir "$$DEST/$$directory/"; \
fi; \
done'
Expand Down
121 changes: 87 additions & 34 deletions api/specs/specs.pb.go

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

4 changes: 4 additions & 0 deletions api/specs/specs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ message MachineStatusSpec {
// It is used to track the last reboot time of the machine, and to enforce the MinRebootInterval.
google.protobuf.Timestamp last_reboot_timestamp = 5;
}

message PowerStatusSpec {
PowerState power_state = 1;
}
Loading