rackopreport

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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