feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
This commit is contained in:
1 parent
272542b92a
commit
bf52b21150
131 files changed
+9222
-17
No files matched your search
@@ -0,0 +1,23 @@
|
||||
// Package render materializes prefix sets, creates config_revision rows, and builds BIRD text via internal/birdfmt.
|
||||
package render
|
||||
|
||||
import (
|
||||
"context"
|
||||
"log"
|
||||
"time"
|
||||
)
|
||||
|
||||
// Run blocks until ctx is cancelled. Reference deployment: worker process after ingest completes.
|
||||
func Run(ctx context.Context) {
|
||||
t := time.NewTicker(60 * time.Second)
|
||||
defer t.Stop()
|
||||
log.Printf("evobgp-render: started (stub; render jobs produce revisions and artifacts)")
|
||||
for {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
log.Printf("evobgp-render: stopped")
|
||||
return
|
||||
case <-t.C:
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user