Documentation
¶
Index ¶
- type FinalizedComponentReport
- type FinalizedReport
- type RackOpReport
- func (rr *RackOpReport) Finalize() string
- func (rr *RackOpReport) UpdateBMCReport(id uuid.UUID, serialInfo deviceinfo.SerialInfo, macAddress string, ...)
- func (rr *RackOpReport) UpdateCompReport(id uuid.UUID, serialInfo deviceinfo.SerialInfo, report string)
- func (rr *RackOpReport) UpdateReport(report string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinalizedComponentReport ¶
type FinalizedComponentReport struct {
ComponentID string `json:"component_id"`
ComponentSerialInfo string `json:"component_serial_info"`
ComponentReport string `json:"component_report,omitempty"`
BMCReports map[string]string `json:"bmc_reports,omitempty"`
}
FinalizedComponentReport represents a component report in JSON format
type FinalizedReport ¶
type FinalizedReport struct {
RackID string `json:"rack_id"`
RackSerialInfo string `json:"rack_serial_info"`
RackReport string `json:"rack_report,omitempty"`
Components []FinalizedComponentReport `json:"components"`
}
FinalizedReport represents the complete rack operation report in JSON format
type RackOpReport ¶
type RackOpReport struct {
// contains filtered or unexported fields
}
func New ¶
func New(id uuid.UUID, serialInfo deviceinfo.SerialInfo) *RackOpReport
func (*RackOpReport) Finalize ¶
func (rr *RackOpReport) Finalize() string
func (*RackOpReport) UpdateBMCReport ¶
func (rr *RackOpReport) UpdateBMCReport( id uuid.UUID, serialInfo deviceinfo.SerialInfo, macAddress string, report string, )
func (*RackOpReport) UpdateCompReport ¶
func (rr *RackOpReport) UpdateCompReport( id uuid.UUID, serialInfo deviceinfo.SerialInfo, report string, )
func (*RackOpReport) UpdateReport ¶
func (rr *RackOpReport) UpdateReport(report string)
Click to show internal directories.
Click to hide internal directories.