{"modulePath":"github.com/cobaltcore-dev/cortex/sync","version":"v0.0.0-20251017131637-8f6c52d097bc","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package openstack\n\n## Functions\n\n```go\nfunc NewCombinedSyncer(\n\tctx context.Context,\n\tkeystoneAPI keystone.KeystoneAPI,\n\tconfig conf.SyncOpenStackConfig,\n\tmonitor sync.Monitor,\n\tdb db.DB,\n\tmqttClient mqtt.Client,\n) sync.Datasource\n```\nCreate a new combined syncer that runs multiple syncers in parallel.\n\n## Types\n\n```go\ntype CombinedSyncer struct {\n\t// contains filtered or unexported fields\n}\n```\nCombined syncer that combines multiple syncers.\n\n```go\nfunc (s CombinedSyncer) Init(ctx context.Context)\n```\nCreate all needed database tables if they do not exist.\n\n```go\nfunc (s CombinedSyncer) Sync(context context.Context)\n```\nSync all objects from OpenStack to the database.\n\n```go\ntype Syncer interface {\n\tInit(context.Context)\n\tSync(context.Context) error\n}\n```\n\n","path":"github.com/cobaltcore-dev/cortex/sync/internal/openstack","name":"openstack","synopsis":"","isRedistributable":true}
