fc-sync

command
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Command fc-sync is the declarative-reconciliation example. It builds a DefinitionSet describing what one application "owns" (roles, event types, dispatch pools, connections, subscriptions, processes, scheduled jobs, principals, documentation pages), then hands it to a Synchronizer that calls the per-category sync endpoints in dependency order.

One platform call per category (per client for scheduled jobs). RemoveUnlisted=true asks the platform to archive SDK-sourced rows that aren't in this set; UI-sourced rows are never touched. Documentation is always a full replace.

Run

FC_BASE_URL=https://api.flowcatalyst.io  \
FC_TOKEN=eyJ...                          \
go run ./examples/fc-sync

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL