feat(agent): add service monitor interface and docker implementation
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package monitor
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"gitea.d3m0k1d.ru/d3m0k1d/HellreigN/agent/internal/models"
|
||||
)
|
||||
|
||||
type ServiceMonitor interface {
|
||||
CheckServices(ctx context.Context) ([]models.Service, error)
|
||||
}
|
||||
Reference in New Issue
Block a user