openstack

package
v0.0.0-...-954f58a Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

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.

type Syncer

type Syncer interface {
	Init(context.Context)
	Sync(context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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