Documentation
¶
Overview ¶
Package everest contains a set of controllers for everest
Package everest contains a set of controllers for everest ¶
Package everest contains the DataImportJobReconciler which manages DataImportJob resources.
Package everest contains a set of controllers for everest ¶
Package everest contains a set of controllers for everest
Index ¶
- Constants
- type BackupStorageReconciler
- type DataImportJobReconciler
- type DatabaseClusterBackupReconciler
- type DatabaseClusterReconciler
- type DatabaseClusterRestoreReconciler
- type DatabaseController
- type DatabaseEngineReconciler
- type LoadBalancerConfigReconciler
- type MonitoringConfigReconciler
- type PodSchedulingPolicyReconciler
Constants ¶
const (
// SplitHorizonDNSConfigNameField is used to find all DatabaseClusters that reference a specific SplitHorizonDNSConfig.
SplitHorizonDNSConfigNameField = ".spec.engineFeatures.psmdb.splitHorizonDnsConfigName"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupStorageReconciler ¶
BackupStorageReconciler reconciles a BackupStorage object.
func (*BackupStorageReconciler) Reconcile ¶
func (r *BackupStorageReconciler) Reconcile(ctx context.Context, req ctrl.Request) (rr ctrl.Result, rerr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Modify the Reconcile function to compare the state specified by the DatabaseClusterBackup object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*BackupStorageReconciler) SetupWithManager ¶
func (r *BackupStorageReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DataImportJobReconciler ¶
DataImportJobReconciler reconciles DataImportJob resources.
func (*DataImportJobReconciler) Reconcile ¶
func (r *DataImportJobReconciler) Reconcile( ctx context.Context, req ctrl.Request, ) (rr ctrl.Result, rerr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*DataImportJobReconciler) SetupWithManager ¶
func (r *DataImportJobReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatabaseClusterBackupReconciler ¶
type DatabaseClusterBackupReconciler struct {
client.Client
APIReader client.Reader
Scheme *runtime.Scheme
Cache cache.Cache
// contains filtered or unexported fields
}
DatabaseClusterBackupReconciler reconciles a DatabaseClusterBackup object.
func (*DatabaseClusterBackupReconciler) Reconcile ¶
func (r *DatabaseClusterBackupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Modify the Reconcile function to compare the state specified by the DatabaseClusterBackup object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*DatabaseClusterBackupReconciler) ReconcileWatchers ¶
func (r *DatabaseClusterBackupReconciler) ReconcileWatchers(ctx context.Context) error
ReconcileWatchers reconciles the watchers for the DatabaseClusterBackup controller.
func (*DatabaseClusterBackupReconciler) SetupWithManager ¶
func (r *DatabaseClusterBackupReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatabaseClusterReconciler ¶
type DatabaseClusterReconciler struct {
client.Client
Cache cache.Cache
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
DatabaseClusterReconciler reconciles a DatabaseCluster object.
func (*DatabaseClusterReconciler) Reconcile ¶
func (r *DatabaseClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*DatabaseClusterReconciler) ReconcileWatchers ¶
func (r *DatabaseClusterReconciler) ReconcileWatchers(ctx context.Context) error
ReconcileWatchers reconciles the watchers for the DatabaseCluster controller.
func (*DatabaseClusterReconciler) SetupWithManager ¶
func (r *DatabaseClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatabaseClusterRestoreReconciler ¶
type DatabaseClusterRestoreReconciler struct {
client.Client
Scheme *runtime.Scheme
Cache cache.Cache
// contains filtered or unexported fields
}
DatabaseClusterRestoreReconciler reconciles a DatabaseClusterRestore object.
func (*DatabaseClusterRestoreReconciler) Reconcile ¶
func (r *DatabaseClusterRestoreReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*DatabaseClusterRestoreReconciler) ReconcileWatchers ¶
func (r *DatabaseClusterRestoreReconciler) ReconcileWatchers(ctx context.Context) error
ReconcileWatchers reconciles the watchers for the DatabaseClusterRestore controller.
func (*DatabaseClusterRestoreReconciler) SetupWithManager ¶
func (r *DatabaseClusterRestoreReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type DatabaseController ¶
DatabaseController provides an abstraction for the DatabaseEngine controller to orchestrate operations across various database controllers (like DBCluster, DBBackup, etc.).
type DatabaseEngineReconciler ¶
type DatabaseEngineReconciler struct {
client.Client
Scheme *runtime.Scheme
Controllers []DatabaseController
// contains filtered or unexported fields
}
DatabaseEngineReconciler reconciles a DatabaseEngine object.
func (*DatabaseEngineReconciler) Reconcile ¶
func (r *DatabaseEngineReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile
func (*DatabaseEngineReconciler) SetupWithManager ¶
func (r *DatabaseEngineReconciler) SetupWithManager(mgr ctrl.Manager, namespaces []string) error
SetupWithManager sets up the controller with the Manager.
type LoadBalancerConfigReconciler ¶
LoadBalancerConfigReconciler reconciles a LoadBalancerConfig object.
func (*LoadBalancerConfigReconciler) Reconcile ¶
func (r *LoadBalancerConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (rr ctrl.Result, rerr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Modify the Reconcile function to compare the state specified by the LoadBalancerConfig object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*LoadBalancerConfigReconciler) SetupWithManager ¶
func (r *LoadBalancerConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type MonitoringConfigReconciler ¶
type MonitoringConfigReconciler struct {
client.Client
Scheme *runtime.Scheme
// contains filtered or unexported fields
}
MonitoringConfigReconciler reconciles a MonitoringConfig object.
func (*MonitoringConfigReconciler) Reconcile ¶
func (r *MonitoringConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (rr ctrl.Result, rerr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Modify the Reconcile function to compare the state specified by the DatabaseClusterBackup object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*MonitoringConfigReconciler) SetupWithManager ¶
func (r *MonitoringConfigReconciler) SetupWithManager(mgr ctrl.Manager, monitoringNamespace string) error
SetupWithManager sets up the controller with the Manager.
type PodSchedulingPolicyReconciler ¶
PodSchedulingPolicyReconciler reconciles a PodSchedulingPolicy object.
func (*PodSchedulingPolicyReconciler) Reconcile ¶
func (r *PodSchedulingPolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (rr ctrl.Result, rerr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. Modify the Reconcile function to compare the state specified by the PodSchedulingPolicy object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*PodSchedulingPolicyReconciler) SetupWithManager ¶
func (r *PodSchedulingPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
- backupstorage_controller.go
- controller_watcher_registry.go
- databasecluster_controller.go
- databaseclusterbackup_controller.go
- databaseclusterrestore_controller.go
- databaseengine_controller.go
- dataimportjob_controller.go
- loadbalancerconfig_controller.go
- monitoringconfig_controller.go
- podschedulingpolicy_controller.go
- users.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package common contains common utilities for the everest-operator.
|
Package common contains common utilities for the everest-operator. |
|
Package providers contains the providers for the DB operators supported by everest.
|
Package providers contains the providers for the DB operators supported by everest. |
|
pg
Package pg contains the Percona PostgreSQL provider code.
|
Package pg contains the Percona PostgreSQL provider code. |
|
psmdb
Package psmdb contains the provider for Percona Server for MongoDB.
|
Package psmdb contains the provider for Percona Server for MongoDB. |
|
pxc
Package pxc contains the provider for Percona XtraDB Cluster.
|
Package pxc contains the provider for Percona XtraDB Cluster. |
|
Package version provides a wrapper around github.com/hashicorp/go-version that provides additional functions on top of Percona's version service.
|
Package version provides a wrapper around github.com/hashicorp/go-version that provides additional functions on top of Percona's version service. |