{"modulePath":"github.com/bborbe/agent-task-controller","version":"v0.38.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sync\n\n## Types\n\n```go\ntype SyncLoop interface {\n\tRun(ctx context.Context) error\n\tTrigger()\n}\n```\nSyncLoop orchestrates scanning and publishing of task events.\n\n```go\nfunc NewSyncLoop(\n\tscanner scanner.VaultScanner,\n\tpublisher publisher.TaskPublisher,\n\ttrigger chan struct{},\n\tmetrics metrics.Metrics,\n) SyncLoop\n```\nNewSyncLoop creates a SyncLoop that connects scanner results to publisher calls.\n\n","path":"github.com/bborbe/agent-task-controller/pkg/sync","name":"sync","synopsis":"","isRedistributable":true}
