openstack

package
v0.0.0-...-09e306e Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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
	// Config for the reconciler.
	Conf conf.Config
}

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) 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