Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCombinedSyncer ¶
func NewCombinedSyncer( ctx context.Context, keystoneAPI keystone.KeystoneAPI, config conf.SyncOpenStackConfig, monitor sync.Monitor, db db.DB, mqttClient mqtt.Client, ) sync.Datasource
Create a new combined syncer that runs multiple syncers in parallel.
Types ¶
type CombinedSyncer ¶
type CombinedSyncer struct {
// contains filtered or unexported fields
}
Combined syncer that combines multiple syncers.
func (CombinedSyncer) Init ¶
func (s CombinedSyncer) Init(ctx context.Context)
Create all needed database tables if they do not exist.
func (CombinedSyncer) Sync ¶
func (s CombinedSyncer) Sync(context context.Context)
Sync all objects from OpenStack to the database.
Click to show internal directories.
Click to hide internal directories.