Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartManager ¶
func StartManager( scheme *runtime.Scheme, operatorOpts Options, logOpts zap.Options, clusterReconciler *controllers.FoundationDBClusterReconciler, backupReconciler *controllers.FoundationDBBackupReconciler, restoreReconciler *controllers.FoundationDBRestoreReconciler, logr logr.Logger, watchedObjects ...client.Object) (manager.Manager, *os.File)
StartManager will start the FoundationDB operator manager. Each reconciler that is not nil will be added to the list of reconcilers For all reconcilers the Client, Recorder and if appropriate the namespace will be set.
Types ¶
type Options ¶
type Options struct {
EnableLeaderElection bool
CleanUpOldLogFile bool
CompressOldFiles bool
PrintVersion bool
EnableRestartIncompatibleProcesses bool
ServerSideApply bool
EnableRecoveryState bool
CacheDatabaseStatus bool
MetricsAddr string
LeaderElectionID string
LogFile string
LogFilePermission string
LabelSelector string
WatchNamespace string
CliTimeout int
MaxConcurrentReconciles int
LogFileMaxSize int
LogFileMaxAge int
MaxNumberOfOldLogFiles int
LogFileMinAge time.Duration
GetTimeout time.Duration
PostTimeout time.Duration
DeprecationOptions internal.DeprecationOptions
}
Options provides all configuration Options for the operator
Click to show internal directories.
Click to hide internal directories.