statusreporter

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: EPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppliedRuntimeClasses added in v1.1.0

func GetAppliedRuntimeClasses() (out []models.RuntimeClassStatus)

GetAppliedRuntimeClasses returns applied RuntimeClasses for status (sorted by name). Docker and podman report an empty list.

func GetAvailableCDIDevices added in v1.1.0

func GetAvailableCDIDevices() (devices []string)

GetAvailableCDIDevices returns unique sorted fully-qualified CDI device names.

func GetAvailableRuntimes

func GetAvailableRuntimes() []string

GetAvailableRuntimes returns deterministic runtime names exposed by current engine mode.

Types

type StatusReporter

type StatusReporter struct {
	// contains filtered or unexported fields
}

StatusReporter aggregates and reports status from all modules

func GetInstance

func GetInstance() *StatusReporter

GetInstance returns the singleton StatusReporter instance

func (*StatusReporter) DaemonOperational

func (sr *StatusReporter) DaemonOperational() bool

DaemonOperational reports whether the supervisor is running or degraded-but-operational.

func (*StatusReporter) GetFieldAgentStatus

func (sr *StatusReporter) GetFieldAgentStatus() *models.FieldAgentStatus

GetFieldAgentStatus returns the field agent status

func (*StatusReporter) GetLocalAPIStatus

func (sr *StatusReporter) GetLocalAPIStatus() *models.EdgeletAPIStatus

GetLocalAPIStatus returns the local API status

func (*StatusReporter) GetModuleIndex

func (sr *StatusReporter) GetModuleIndex() int

GetModuleIndex returns the module index

func (*StatusReporter) GetName

func (sr *StatusReporter) GetName() string

GetName returns the module name

func (*StatusReporter) GetProcessManagerStatus

func (sr *StatusReporter) GetProcessManagerStatus() *models.ProcessManagerStatus

GetProcessManagerStatus returns the process manager status

func (*StatusReporter) GetResourceConsumptionManagerStatus

func (sr *StatusReporter) GetResourceConsumptionManagerStatus() *models.ResourceConsumptionManagerStatus

GetResourceConsumptionManagerStatus returns the resource consumption manager status

func (*StatusReporter) GetSSHProxyManagerStatus

func (sr *StatusReporter) GetSSHProxyManagerStatus() *models.SSHProxyManagerStatus

GetSSHProxyManagerStatus returns the SSH proxy manager status

func (*StatusReporter) GetStatusReport

func (sr *StatusReporter) GetStatusReport() string

GetStatusReport returns a formatted status report string (for CLI)

func (*StatusReporter) GetStatusReporterStatus

func (sr *StatusReporter) GetStatusReporterStatus() *models.StatusReporterStatus

GetStatusReporterStatus returns the status reporter status

func (*StatusReporter) GetSupervisorStatus

func (sr *StatusReporter) GetSupervisorStatus() *models.SupervisorStatus

GetSupervisorStatus returns the supervisor status

func (*StatusReporter) GetVolumeMountManagerStatus

func (sr *StatusReporter) GetVolumeMountManagerStatus() *models.VolumeMountManagerStatus

GetVolumeMountManagerStatus returns the volume mount manager status

func (*StatusReporter) PruneProcessManagerStatus

func (sr *StatusReporter) PruneProcessManagerStatus(predicate func(uuid string, status *models.MicroserviceStatus) bool)

PruneProcessManagerStatus removes process-manager entries matching predicate.

func (*StatusReporter) ResetProcessManagerStatus

func (sr *StatusReporter) ResetProcessManagerStatus()

ResetProcessManagerStatus clears all process-manager status data.

func (*StatusReporter) Start

func (sr *StatusReporter) Start() error

Start starts the StatusReporter

func (*StatusReporter) Stop

func (sr *StatusReporter) Stop() error

Stop stops the StatusReporter

func (*StatusReporter) UpdateFieldAgentStatus

func (sr *StatusReporter) UpdateFieldAgentStatus(fn func(*models.FieldAgentStatus))

UpdateFieldAgentStatus updates the field agent status securely

func (*StatusReporter) UpdateLocalAPIStatus

func (sr *StatusReporter) UpdateLocalAPIStatus(fn func(*models.EdgeletAPIStatus))

UpdateLocalAPIStatus updates the local API status securely

func (*StatusReporter) UpdateProcessManagerStatus

func (sr *StatusReporter) UpdateProcessManagerStatus(fn func(*models.ProcessManagerStatus))

UpdateProcessManagerStatus updates the process manager status securely

func (*StatusReporter) UpdateResourceConsumptionManagerStatus

func (sr *StatusReporter) UpdateResourceConsumptionManagerStatus(fn func(*models.ResourceConsumptionManagerStatus))

UpdateResourceConsumptionManagerStatus updates the resource consumption manager status securely

func (*StatusReporter) UpdateSSHProxyManagerStatus

func (sr *StatusReporter) UpdateSSHProxyManagerStatus(fn func(*models.SSHProxyManagerStatus))

UpdateSSHProxyManagerStatus updates the SSH proxy manager status securely

func (*StatusReporter) UpdateStatusReporterStatus

func (sr *StatusReporter) UpdateStatusReporterStatus(fn func(*models.StatusReporterStatus))

UpdateStatusReporterStatus updates the status reporter status securely

func (*StatusReporter) UpdateSupervisorStatus

func (sr *StatusReporter) UpdateSupervisorStatus(fn func(*models.SupervisorStatus))

UpdateSupervisorStatus updates the supervisor status securely

func (*StatusReporter) UpdateVolumeMountManagerStatus

func (sr *StatusReporter) UpdateVolumeMountManagerStatus(activeMounts int64, lastUpdate int64)

UpdateVolumeMountManagerStatus updates the volume mount manager status

Jump to

Keyboard shortcuts

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