Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RamenDR/ramen
/ functions
Functions
3,442 in github.com/RamenDR/ramen
⨍
Functions
3,442
◇
Types & classes
274
↓ 11 callers
Method
AddFinalizer
(finalizerName string)
internal/controller/util/misc.go:116
↓ 11 callers
Method
FindManifestWorkByType
(mwType, managedCluster string)
internal/controller/util/mw_util.go:81
↓ 11 callers
Method
GetObjectMeta
()
internal/controller/hooks/scale_hook.go:33
↓ 11 callers
Function
HasLabel
(obj client.Object, key string)
internal/controller/util/misc.go:228
↓ 11 callers
Function
RamenOperandsNamespace
(config ramendrv1alpha1.RamenConfig)
internal/controller/ramenconfig.go:532
↓ 11 callers
Function
getDRPCCondition
(status *rmn.DRPlacementControlStatus, conditionType string)
internal/controller/drplacementcontrol_controller_test.go:1356
↓ 11 callers
Function
load_env
(args)
test/drenv/__main__.py:266
↓ 11 callers
Function
verifyDRClusterConfigMW
nolint:unparam
internal/controller/controllers_utils_test.go:389
↓ 11 callers
Method
verifyVRGCondition
( inst *globalVRGInstance, condType string, expectedStatus metav1.ConditionStatus, expectedReason string, )
internal/controller/vrg_volgrouprep_global_test.go:359
↓ 10 callers
Method
GenerateManifest
(obj interface{})
internal/controller/util/mw_util.go:632
↓ 10 callers
Function
ListPVCsByPVCSelector
nolint:funlen
internal/controller/util/pvcs_util.go:42
↓ 10 callers
Method
WithTimeout
WithTimeout returns a derived context with a deadline. Call cancel to release resources associated with the context as soon as the operation running i
e2e/app/context.go:51
↓ 10 callers
Method
cleanupProtected
()
internal/controller/vrg_volrep_test.go:2727
↓ 10 callers
Function
configMapUpdate
( ctx context.Context, c client.Client, userConfigMap *corev1.ConfigMap, desiredRamenConfig *ramendrv1alph
internal/controller/ramenconfig.go:376
↓ 10 callers
Function
createNamespace
(ns *corev1.Namespace)
internal/controller/drplacementcontrol_controller_test.go:696
↓ 10 callers
Method
kubeObjectsCaptureStatusFalse
(reason, message string)
internal/controller/vrg_kubeobjects.go:577
↓ 10 callers
Function
ownerMatches
(obj metav1.Object, ownerName, ownerKind string, ownerIsController bool)
internal/controller/volsync/vshandler_test.go:1964
↓ 10 callers
Function
processAwsError
(errMsgPrefix, err error)
internal/controller/s3utils.go:411
↓ 10 callers
Function
runRelocateAction
(placementObj client.Object, fromCluster string, isSyncDR bool, manualUnfence bool)
internal/controller/drplacementcontrol_controller_test.go:1409
↓ 10 callers
Method
s3KeyPrefix
s3KeyPrefix returns the S3 key prefix of cluster data of this VRG.
internal/controller/vrg_volrep.go:2385
↓ 10 callers
Function
setVRGAutoCleanupCondition
(conditions *[]metav1.Condition, observedGeneration int64, status metav1.ConditionStatus, reason, message str
internal/controller/status.go:512
↓ 10 callers
Function
toPointerSlice
(items []T)
internal/controller/hooks/hooks_util.go:287
↓ 9 callers
Method
BuildManifestWorkName
(mwType string)
internal/controller/util/mw_util.go:73
↓ 9 callers
Method
GetPods
(log logr.Logger)
internal/controller/hooks/exec_pod_lister.go:13
↓ 9 callers
Function
NewPodLister
NewPodLister returns the appropriate PodLister implementation based on SelectResource.
internal/controller/hooks/exec_pod_lister.go:17
↓ 9 callers
Method
RemoveSecretFromCluster
RemoveSecretFromCluster removes the secret (secretName) in namespace, from clusterName in the format requested. If this was the last cluster that requ
internal/controller/util/secrets_util.go:746
↓ 9 callers
Function
checkExit
(t *testing.T, exit, want int)
test/timestamp/main_test.go:147
↓ 9 callers
Method
findProtectedPVC
findProtectedPVC returns the &VRG.Status.ProtectedPVC[x] for the given pvcName
internal/controller/vrg_status_pvcs.go:13
↓ 9 callers
Function
format_duration
Format duration in human-readable format (e.g., 7h 51m, 4m 42s).
test/drenv/stress/report.py:156
↓ 9 callers
Function
getPodSpec
(name string)
internal/controller/hooks/exec_hook_test.go:40
↓ 9 callers
Method
globalVGRKey
--- Test helpers ---
internal/controller/vrg_volgrouprep_global_test.go:217
↓ 9 callers
Method
hasGlobalVGRLabel
()
internal/controller/vrg_volgrouprep_global.go:28
↓ 9 callers
Function
isDiscoveredApp
(drpc *rmn.DRPlacementControl)
internal/controller/drplacementcontrol.go:1342
↓ 9 callers
Function
verifyDRPCStateAndProgression
(expectedAction rmn.DRAction, expectedPhase rmn.DRState, expectedPorgression rmn.ProgressionStatus, )
internal/controller/drplacementcontrol_controller_test.go:2909
↓ 8 callers
Function
ConfigMapGet
( ctx context.Context, apiReader client.Reader, )
internal/controller/ramenconfig.go:431
↓ 8 callers
Function
ConvertSchedulingIntervalToCronSpec
Convert from schedulingInterval which is in the format of <num><m,h,d> to the format VolSync expects, which is cronspec: https://en.wikipedia.org/wiki
internal/controller/volsync/vshandler.go:2519
↓ 8 callers
Method
DeleteLabel
(key string)
internal/controller/util/misc.go:78
↓ 8 callers
Method
DeleteManifestWork
(mwName, mwNamespace string)
internal/controller/util/mw_util.go:778
↓ 8 callers
Method
Deployer
()
e2e/types/types.go:103
↓ 8 callers
Function
ProtectedPVCNamespacedName
(pvc ramen.ProtectedPVC)
internal/controller/util/objectmeta.go:30
↓ 8 callers
Function
RequestProcessingErrorCreate
(s string)
internal/controller/kubeobjects/requests.go:153
↓ 8 callers
Function
Sleep
Sleep pauses the current goroutine for at least the duration d. If the context was canceled or its deadline has exceeded it will return early with a c
e2e/util/timeout.go:77
↓ 8 callers
Function
UnifiedDiff
(t *testing.T, expected, actual any)
e2e/helpers/helpers.go:25
↓ 8 callers
Function
_lookup_app_resource
(kind)
test/drenv/test.py:351
↓ 8 callers
Method
cleanupStatusAbsent
()
internal/controller/vrg_volrep_test.go:2715
↓ 8 callers
Function
createManagedClusters
(managedClusters []*spokeClusterV1.ManagedCluster)
internal/controller/drplacementcontrol_controller_test.go:712
↓ 8 callers
Function
deleteUserPlacementRule
nolint:unparam
internal/controller/drplacementcontrol_controller_test.go:581
↓ 8 callers
Function
execute
Execute func in parallel for every profile. func is invoked with profile and **options. It must have this signature: def func(profi
test/drenv/__main__.py:500
↓ 8 callers
Function
genericUpdateProtectedForCondition
genericUpdateProtectedForCondition is a common helper that processes passed in VRG condition with varying VRG reasons to determine DRPC Protected cond
internal/controller/protected_condition.go:281
↓ 8 callers
Function
getExecPodSpec
(container string, cmd []string, pod *corev1.Pod)
internal/controller/hooks/exec_hook.go:294
↓ 8 callers
Function
getOpHookSpec
()
internal/controller/hooks/exec_hook_test.go:60
↓ 8 callers
Function
isVRGPrimary
(vrg *rmn.VolumeReplicationGroup)
internal/controller/drplacementcontrol.go:2574
↓ 8 callers
Method
recordFailure
(ctx context.Context, drpc *rmn.DRPlacementControl, placementObj client.Object, reason, msg string, log logr.
internal/controller/drplacementcontrol_controller.go:281
↓ 8 callers
Function
selectVRGNamespace
( client client.Client, log logr.Logger, drpc *rmn.DRPlacementControl, placementObj client.Object, )
internal/controller/drplacementcontrol_controller.go:2261
↓ 8 callers
Function
setup
(t *testing.T)
internal/controller/hooks/exec_hook_test.go:21
↓ 8 callers
Method
updateVRGConditionsAndStatus
(result ctrl.Result)
internal/controller/volumereplicationgroup_controller.go:1863
↓ 8 callers
Function
verifyActionResultForPlacement
(placement *clrapiv1beta1.Placement, homeCluster string, plType PlacementType)
internal/controller/drplacementcontrol_controller_test.go:1665
↓ 7 callers
Method
CleanVolumeGroupSnapshot
Only cleanup restored pvc and volumegoupsnapshot
internal/controller/cephfscg/volumegroupsourcehandler.go:60
↓ 7 callers
Method
DeleteRD
(pvcName, pvcNamespace string, skipPVCDisownership bool)
internal/controller/volsync/vshandler.go:1624
↓ 7 callers
Method
FilterDRCluster
FilterDRCluster filters for DRPC resources that should be reconciled due to a DRCluster watch event
internal/controller/drplacementcontrol_watcher.go:443
↓ 7 callers
Function
Generate
(ctx types.TestContext, recipeConfig *config.Recipe)
e2e/recipes/recipes.go:52
↓ 7 callers
Method
GetAppName
()
e2e/workloads/deploy.go:47
↓ 7 callers
Function
GetCurrentCluster
GetCurrentCluster retrieves the cluster object where the workload is currently placed by looking up the cluster name from the PlacementDecision and re
e2e/util/placement.go:24
↓ 7 callers
Function
GetDRPolicy
(ctx context.Context, client client.Client, drpc *rmn.DRPlacementControl, log logr.Logger, )
internal/controller/drplacementcontrol_controller.go:668
↓ 7 callers
Function
GetRID
()
internal/controller/util/misc.go:451
↓ 7 callers
Function
InitialDeploymentAsync
(namespace, placementName, homeCluster string, plType PlacementType)
internal/controller/drplacementcontrol_controller_test.go:1005
↓ 7 callers
Function
IsReplicationGroupDestinationReady
( ctx context.Context, k8sClient client.Client, rgd *ramendrv1alpha1.ReplicationGroupDestination, )
internal/controller/util/cephfs_cg.go:34
↓ 7 callers
Method
ManagedClusters
ManagedClusters returns the list of managed clusters from the env.
e2e/types/env.go:24
↓ 7 callers
Method
ReconcileRD
returns replication destination only if create/update is successful and the RD is considered available. Callers should assume getting a nil replicatio
internal/controller/volsync/vshandler.go:167
↓ 7 callers
Method
RestoreVolumesFromVolumeGroupSnapshot
( ctx context.Context, owner metav1.Object, )
internal/controller/cephfscg/volumegroupsourcehandler.go:41
↓ 7 callers
Method
Synchronize
nolint:cyclop,funlen
internal/controller/cephfscg/replicationgroupdestination.go:89
↓ 7 callers
Function
WaitWorkloadHealth
(ctx types.TestContext, cluster *types.Cluster)
e2e/deployers/retry.go:49
↓ 7 callers
Function
_run
(cmd, *args, env=None, context=None)
test/drenv/kubectl.py:240
↓ 7 callers
Function
_watch
(cmd, *args, input=None, timeout=None, context=None, log=print)
test/drenv/kubectl.py:248
↓ 7 callers
Function
_watch
(*args, stdin=None, env=None, context="lima")
test/drenv/providers/lima/__init__.py:324
↓ 7 callers
Method
addProtectedPVC
(pvcNamespace, pvcName string)
internal/controller/vrg_status_pvcs.go:23
↓ 7 callers
Method
cleanup
( pvcPreDeleteVerify pvcPreDeleteVerify, )
internal/controller/vrg_volrep_test.go:2731
↓ 7 callers
Method
cleanupNamespace
()
internal/controller/vrg_volrep_test.go:3010
↓ 7 callers
Method
cleanupSC
()
internal/controller/vrg_volrep_test.go:2947
↓ 7 callers
Method
cleanupVRC
()
internal/controller/vrg_volrep_test.go:2951
↓ 7 callers
Function
createDRPC
(placementName, name, namespace, drPolicyName, preferredCluster string)
internal/controller/drplacementcontrol_controller_test.go:552
↓ 7 callers
Method
createOrUpdateManifestWork
( mw *ocmworkv1.ManifestWork, managedClusternamespace string, )
internal/controller/util/mw_util.go:669
↓ 7 callers
Function
dRPolicySupportsMetro
dRPolicySupportsMetro returns a boolean indicating that the policy supports a Metro(Sync) DR capability, and a list of list of strings, where each lis
internal/controller/drplacementcontrol.go:2415
↓ 7 callers
Function
deleteDRClustersAsync
()
internal/controller/drplacementcontrol_controller_test.go:864
↓ 7 callers
Function
ensureNamespaceMWsDeletedFromAllClusters
(namespace string)
internal/controller/drplacementcontrol_controller_test.go:596
↓ 7 callers
Function
genPeerClass
(replicationID, storageClassName string, storageIDs []string, grouping bool, )
internal/controller/vrg_volrep_test.go:3670
↓ 7 callers
Method
getClusterDecision
(placementObj interface{}, )
internal/controller/drplacementcontrol_controller.go:1808
↓ 7 callers
Function
getDRPC
(ctx types.TestContext, namespace, name string)
e2e/dractions/crud.go:49
↓ 7 callers
Function
getReplicationSourceName
(pvcName string)
internal/controller/volsync/vshandler.go:2671
↓ 7 callers
Method
getStorageClass
(storageClassName *string)
internal/controller/volsync/vshandler.go:2449
↓ 7 callers
Method
isCGEnabled
(pvc *corev1.PersistentVolumeClaim)
internal/controller/vrg_volgrouprep.go:663
↓ 7 callers
Method
listMCVsWithLabel
(cluster string, matchLabels map[string]string)
internal/controller/util/mcv_util.go:220
↓ 7 callers
Function
namespaceCreate
(name string)
internal/controller/suite_test.go:104
↓ 7 callers
Method
newManifestWork
(name string, mcNamespace string, labels map[string]string, manifests []ocmworkv1.Manifest, annotations map[s
internal/controller/util/mw_util.go:644
↓ 7 callers
Function
newRandomNamespaceSuffix
we want the math rand version here and not the crypto rand. This way we can debug the tests by repeating the seed. nolint:gosec
internal/controller/vrg_volrep_test.go:1866
↓ 7 callers
Function
newVRGAsDataProtectedUnusedCondition
(observedGeneration int64, message string)
internal/controller/status.go:204
↓ 7 callers
Method
recordInvocation
(key string, args []interface{})
hack/fakes/fake_volume_group_source_handler.go:594
↓ 7 callers
Function
run
(*args)
test/drenv/drenv_test.py:166
↓ 7 callers
Function
run
(t *testing.T, program string, args ...string)
test/timestamp/main_test.go:119
↓ 7 callers
Function
runFailoverAction
nolint:unparam
internal/controller/drplacementcontrol_controller_test.go:1371
← previous
next →
101–200 of 3,442, ranked by callers