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 Apr 30, 2024
1 parent ffa72a1 commit e834552
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 e834552

Please sign in to comment.