Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

851 B
Raw Blame
package monitoring

import "github.com/rcourtman/pulse-go-rewrite/internal/config"

// GuestMetadataStore returns the live guest metadata store used by resource
// projection, migration, and monitoring decisions.
func (m *Monitor) GuestMetadataStore() *config.GuestMetadataStore {
	if m == nil {
		return nil
	}
	return m.guestMetadataStore
}

// DockerMetadataStore returns the live Docker metadata store used by resource
// projection, migration, and monitoring decisions.
func (m *Monitor) DockerMetadataStore() *config.DockerMetadataStore {
	if m == nil {
		return nil
	}
	return m.dockerMetadataStore
}

// HostMetadataStore returns the live host metadata store used by resource
// projection and monitoring decisions.
func (m *Monitor) HostMetadataStore() *config.HostMetadataStore {
	if m == nil {
		return nil
	}
	return m.hostMetadataStore
}