Skip to content

Commit

Permalink
Split ReadInfo into BMC and Machine parts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchbg committed May 3, 2024
1 parent 3389f3f commit 0a29963
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions internal/bmc/bmc.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,21 @@ type Credentials struct {
}

type Info struct {
Type string
Manufacturer string
SerialNumber string
FirmwareVersion string
Console string
Machines []Machine
}

type Machine struct {
UUID string
Type string
Capabilities []string
SerialNumber string
SKU string
Manufacturer string
LocatorLED LED
SKU string
SerialNumber string
Power Power
OS string
OSReason string
Console string
FWVersion string
LocatorLED LED
}

type LEDControl interface {
Expand Down

0 comments on commit 0a29963

Please sign in to comment.