rackopreport

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL