GetScheduledBackupList gathers the current list of scheduledBackup in namespace
( ctx context.Context, crudClient client.Client, namespace string, )
| 386 | |
| 387 | // GetScheduledBackupList gathers the current list of scheduledBackup in namespace |
| 388 | func GetScheduledBackupList( |
| 389 | ctx context.Context, |
| 390 | crudClient client.Client, |
| 391 | namespace string, |
| 392 | ) (*apiv1.ScheduledBackupList, error) { |
| 393 | scheduledBackupList := &apiv1.ScheduledBackupList{} |
| 394 | err := crudClient.List( |
| 395 | ctx, scheduledBackupList, client.InNamespace(namespace), |
| 396 | ) |
| 397 | return scheduledBackupList, err |
| 398 | } |
no test coverage detected