Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrCurrentPrimaryDatabaseNotFound error = errors.New("current primary database not found")
var ErrCurrentPrimaryDatabaseNotReady error = errors.New("current primary database not ready")
var ErrSidbWithMutipleReplicas error = errors.New("SingleInstanceDatabase with multiple replicas is not supported")
Functions ¶
func GetDatabasesInDataGuardConfigurationWithRole ¶
func GetDatabasesInDataGuardConfigurationWithRole(r *DataguardBrokerReconciler, broker *dbapi.DataguardBroker, ctx context.Context, req ctrl.Request) ([]string, error)
#############################################################################
Get databases in dataguard configuration along with their roles
#############################################################################
func GetFSFOTargets ¶
#####################################################################################################
Get the avail FSFO targets for a given singleinstancedatabase sid
#####################################################################################################
Types ¶
type DataguardBrokerReconciler ¶
type DataguardBrokerReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Config *rest.Config
Recorder record.EventRecorder
}
DataguardBrokerReconciler reconciles a DataguardBroker object
func (*DataguardBrokerReconciler) SetupWithManager ¶
func (r *DataguardBrokerReconciler) SetupWithManager(mgr ctrl.Manager) error
#############################################################################################################################
Setup the controller with the Manager
#############################################################################################################################