openstack

package
v0.0.0-...-ccb81e8 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 28 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Index = map[v1alpha1.OpenStackDatasourceType]func(
	datasource v1alpha1.Datasource,
	authenticatedDB *db.DB,
	authenticatedKeystone keystone.KeystoneClient,
	monitor datasources.Monitor,
) Syncer{}

Index of all supported OpenStack syncers, keyed by datasource type. Each syncer registers itself here through a func init() in its own package.

Functions

This section is empty.

Types

type OpenStackDatasourceReconciler

type OpenStackDatasourceReconciler struct {
	// Client for the kubernetes API.
	client.Client
	// Kubernetes scheme to use for the deschedulings.
	Scheme *runtime.Scheme
	// Datasources monitor.
	Monitor datasources.Monitor
	// contains filtered or unexported fields
}

func (*OpenStackDatasourceReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*OpenStackDatasourceReconciler) SetupWithManager

func (r *OpenStackDatasourceReconciler) SetupWithManager(mgr manager.Manager, mcl *multicluster.Client) error

type Syncer

type Syncer interface {
	// Init the syncer, e.g. create the database tables.
	Init(context.Context) error
	// Sync the datasource and return the number of objects + an error if any.
	Sync(context.Context) (int64, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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