Documentation
¶
Overview ¶
Package monitor acts as the core orchestrator for the GitOps agent. It coordinates polling intervals, webhook triggers, repository updates, SSH deployments, and notifications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor coordinates the reconciliation loop between the Git repository and the target deployment environment.
func NewMonitor ¶
func NewMonitor(cfg *config.Config, gitOps *gitops.Service, sshService *ssh.Service, storage *storage.Service, notification *notification.Service, triggerChan chan struct{}) *Monitor
NewMonitor initializes the Monitor with all necessary dependencies and the communication channel for webhook triggers.
Click to show internal directories.
Click to hide internal directories.