feat: add cores
Some checks failed
CI / build (push) Failing after 3m25s
CI / lint (push) Failing after 2m45s
CI / pkl-validate (push) Successful in 10s
CI / integration-tests (push) Has been skipped
CI / conformance-tests (latest) (push) Has been skipped

This commit is contained in:
2026-02-01 18:01:40 +01:00
parent 8fb5730e6d
commit e93eecc143
4 changed files with 15 additions and 3 deletions

View File

@@ -12,6 +12,7 @@ type LXCProperties struct {
Hostname string `json:"hostname"`
Description string `json:"description,omitempty"`
OSTemplate string `json:"ostemplate,omitempty"`
Cores int `json:"cores"`
}
type ReadRequest struct {
@@ -61,6 +62,7 @@ type StatusGeneralResponse struct {
type StatusLXCConfig struct {
Arch string `json:"arch"`
Cores int `json:"cores"`
OSType string `json:"ostype"`
RootFS string `json:"rootfs"`
Hostname string `json:"hostname"`