Documentation ¶
Index ¶
- Variables
- func GetBackupServicePodList(k8sClient client.Client, name, namespace string) (*corev1.PodList, error)
- func GetConfigSection(config map[string]interface{}, section string) (map[string]interface{}, error)
- func ReloadBackupServiceConfigInPods(k8sClient client.Client, log logr.Logger, backupSvc *v1beta1.BackupService) error
- type ReconcileResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UpdateOption = &client.UpdateOptions{ FieldManager: "aerospike-operator", } CreateOption = &client.CreateOptions{ FieldManager: "aerospike-operator", } )
View Source
var MaxConcurrentReconciles = runtime.NumCPU() * 2
MaxConcurrentReconciles is the Number of Reconcile threads to run Reconcile operations
Functions ¶
func GetBackupServicePodList ¶
func GetConfigSection ¶
func GetConfigSection(config map[string]interface{}, section string) (map[string]interface{}, error)
GetConfigSection returns the section of the config with the given name.
Types ¶
type ReconcileResult ¶
func ReconcileError ¶
func ReconcileError(e error) ReconcileResult
func ReconcileRequeueAfter ¶
func ReconcileRequeueAfter(secs int) ReconcileResult
func ReconcileSuccess ¶
func ReconcileSuccess() ReconcileResult
Click to show internal directories.
Click to hide internal directories.