package agent
import (
"errors"
"github.com/henrygd/beszel/internal/entities/systemd"
)
type systemdManager struct {
hasFreshStats bool
logsEnabled bool
}
func newSystemdManager() (*systemdManager, error) {
return &systemdManager{}, nil
}
func (sm *systemdManager) getServiceStats(conn any, refresh bool) []*systemd.Service {
return nil
}
func (sm *systemdManager) getServiceStatsCount() int {
return 0
}
func (sm *systemdManager) getFailedServiceCount() uint16 {
return 0
}
func (sm *systemdManager) getServiceDetails(string) (systemd.ServiceDetails, error) {
return nil, errors.New("systemd manager unavailable")
}
func (sm *systemdManager) getServiceLogs(string) (string, error) {
return "", errors.New("systemd manager unavailable")
}