MCPcopy Create free account

hub / github.com/ai-dynamo/grove / functions

Functions2,929 in github.com/ai-dynamo/grove

↓ 12 callersFunctionlog_info
(msg: str)
operator/hack/e2e-autoMNNVL/run_autoMNNVL_e2e_all.py:65
↓ 12 callersMethodprepareSyncFlow
prepareSyncFlow computes the required state for synchronizing PodGang resources.
operator/internal/controller/podcliqueset/components/podgang/syncflow.go:46
↓ 11 callersMethodClose
()
operator/e2e/diagnostics/collector.go:420
↓ 11 callersMethodGetAllOperators
GetAllOperators returns all components operators.
operator/internal/controller/common/component/types.go:95
↓ 11 callersMethodGetScheme
()
operator/internal/controller/podcliqueset/components/registry_test.go:175
↓ 11 callersMethodWithPodCliqueParameters
WithPodCliqueParameters is a convenience function that creates a PodCliqueTemplateSpec given the parameters and adds it to the PodCliqueSet.
operator/test/utils/pcs.go:53
↓ 11 callersFunctionassertContains
(t *testing.T, s string, want string)
operator/e2e/measurement/exporter/exporter_test.go:222
↓ 11 callersFunctioncreateTestClusterTopology
(name string, levels []grovecorev1alpha1.TopologyLevel)
operator/internal/scheduler/kai/topology_test.go:416
↓ 11 callersFunctiondefaultTASConfig
---------------------------- Helper Functions ---------------------------- defaultTASConfig returns a default TAS configuration with TAS disabled. Thi
operator/internal/webhook/admission/pcs/validation/podcliqueset_test.go:1888
↓ 11 callersFunctiongetDriftCondition
(ct *grovecorev1alpha1.ClusterTopologyBinding)
operator/internal/controller/clustertopology/reconciler_test.go:134
↓ 11 callersFunctionhandleErrorAndExit
handleErrorAndExit gracefully handles errors before exiting the program.
operator/cmd/main.go:156
↓ 11 callersFunctionnewPCS
newPCS returns a minimal PCS with one clique template ("worker") that has the given ResourceSharing specs and ResourceClaimTemplates.
operator/internal/controller/podclique/components/resourceclaim/resourceclaim_test.go:65
↓ 11 callersMethodnewPodManager
--- Convenience methods that delegate to managers with suite-scoped defaults --- newPodManager creates a PodManager for internal use by convenience me
operator/e2e/testctx/context.go:172
↓ 11 callersFunctionnewResourceType
newResourceType creates a resourceType from a GroupVersionKind. Resource (plural) is derived from Kind, display name is Kind + "s".
operator/e2e/setup/gvk.go:43
↓ 11 callersFunctionnewTASBackend
(t *testing.T, cl client.Client)
operator/internal/scheduler/kai/topology_test.go:400
↓ 11 callersFunctionwaitForComputeDomainCount
waitForComputeDomainCount waits for the specified number of ComputeDomains for a PCS
operator/e2e/tests/auto-mnnvl/testutils.go:268
↓ 10 callersMethodApplyYAMLFile
ApplyYAMLFile applies a YAML file to the cluster.
operator/e2e/testctx/context.go:288
↓ 10 callersMethodClose
Close tears down the port-forward. Safe to call multiple times.
operator/e2e/utils/portforward/portforward.go:49
↓ 10 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
scheduler/api/core/v1alpha1/zz_generated.deepcopy.go:46
↓ 10 callersMethodDeleteAllOf
(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption)
operator/test/utils/client.go:245
↓ 10 callersMethodGetDefault
GetDefault returns the backend marked as default in OperatorConfiguration (scheduler.defaultProfileName).
operator/internal/scheduler/types.go:105
↓ 10 callersFunctionNew
New creates a new ComputeDomain operator for managing ComputeDomain resources within PodCliqueSets.
operator/internal/mnnvl/computedomain/computedomain.go:60
↓ 10 callersMethodRecordErrorForObjects
RecordErrorForObjects records an error for a specific client.Client method and object keys.
operator/test/utils/client.go:158
↓ 10 callersMethodVerifyAllPodsArePendingWithSleep
VerifyAllPodsArePendingWithSleep verifies all pods are pending after a fixed delay.
operator/e2e/testctx/context.go:384
↓ 10 callersMethodWatch
(ctx context.Context, opts v1.ListOptions)
operator/client/clientset/versioned/typed/core/v1alpha1/podclique.go:48
↓ 10 callersMethodWithLogger
WithLogger sets the logger for diagnostic messages during polling.
operator/e2e/waiter/waiter.go:102
↓ 10 callersFunctionapplyMNNVLYAML
applyMNNVLYAML reads a YAML fixture, overrides the PCS metadata.name to the given pcsName (so every test gets a unique resource), and applies it.
operator/e2e/tests/auto-mnnvl/testutils.go:241
↓ 10 callersFunctionbuildTestPCS
buildTestPCS constructs a PodCliqueSet for testing based on provided parameters. If cliques is nil or empty, a default worker clique will be added.
operator/internal/webhook/admission/pcs/validation/topologyconstraints_test.go:734
↓ 10 callersFunctioncaptureExistingPodNames
captureExistingPodNames returns a map of all current pod names for the workload.
operator/e2e/tests/update/utils.go:60
↓ 10 callersFunctioncreateManagerOptions
createManagerOptions constructs controller-runtime Manager options from operator configuration.
operator/internal/controller/manager.go:92
↓ 10 callersMethodcreateOrUpdatePodGangs
createOrUpdatePodGangs creates or updates all expected PodGangs. PodGangs are created with empty podReferences, Initialized=False. Once all pods are c
operator/internal/controller/podcliqueset/components/podgang/syncflow.go:480
↓ 10 callersFunctioncreatePCSWithGPU
createPCSWithGPU creates a PCS with GPU requirements and specified replicas
operator/internal/mnnvl/computedomain/computedomain_test.go:737
↓ 10 callersFunctiondefaultTopologyLevels
()
operator/internal/scheduler/kai/topology_test.go:409
↓ 10 callersFunctionnewTestPod
newTestPod creates a pod with the given name, template hash label, and options applied.
operator/internal/controller/podclique/components/pod/rollingupdate_test.go:97
↓ 10 callersFunctionnewTestScheme
()
operator/internal/resourceclaim/resolve_test.go:31
↓ 9 callersMethodGetClient
()
operator/internal/controller/podclique/components/registry_test.go:78
↓ 9 callersFunctionNew
New creates a new Service operator for managing Service resources within PodCliqueSets
operator/internal/controller/podcliqueset/components/service/service.go:51
↓ 9 callersFunctionNewHandler
NewHandler creates a new handler for PodCliqueSet Webhook. It reads TopologyAwareScheduling, Network, and Scheduler from the operator configuration. o
operator/internal/webhook/admission/pcs/validation/handler.go:58
↓ 9 callersMethodScalePCSGInstanceAndWait
ScalePCSGInstanceAndWait scales a specific PCSG instance and waits for expected pod conditions.
operator/e2e/testctx/context.go:414
↓ 9 callersMethodUncordonNodesAndWaitForPods
UncordonNodesAndWaitForPods uncordons nodes and waits for pods to be ready.
operator/e2e/testctx/context.go:375
↓ 9 callersMethodWithAnnotations
WithAnnotations sets the annotations for the PodCliqueSet.
operator/test/utils/pcs.go:164
↓ 9 callersMethodWithCliqueNames
WithCliqueNames sets the CliqueNames field for the PodCliqueScalingGroup.
operator/test/utils/pcsg.go:70
↓ 9 callersMethodWithContainer
WithContainer adds a container to the PodSpec.
operator/test/utils/pclqTemplate.go:136
↓ 9 callersFunctionaddEl
(parent, name, attrs, text)
operator/hack/scale-dashboard/app.js:648
↓ 9 callersFunctionavailableTrueCondition
()
operator/internal/utils/kubernetes/conditions_test.go:335
↓ 9 callersFunctiondeletePCS
deletePCS deletes a PCS by name
operator/e2e/tests/auto-mnnvl/testutils.go:255
↓ 9 callersMethodhasErrors
hasErrors returns true if any errors occurred during sync.
operator/internal/controller/podcliqueset/components/podgang/syncflow.go:759
↓ 9 callersFunctionload_setup_config
Load a SetupConfig from a YAML file with optional overlay YAMLs and --set overrides. Precedence (low → high): 1. Base YAML (base_path)
operator/hack/infra_manager/config.py:309
↓ 9 callersFunctionnewOwnerReference
Test helper functions
operator/internal/controller/utils/managedresource_test.go:33
↓ 9 callersFunctionnewRC
(name string, labels map[string]string, ownerName string, ownerUID types.UID)
operator/internal/controller/podclique/components/resourceclaim/resourceclaim_test.go:125
↓ 9 callersFunctionrequired_str
(obj: dict[str, Any], key: str)
operator/hack/scale-history.py:444
↓ 9 callersFunctionrun_kubectl
Run a kubectl command via subprocess and return (success, stdout, stderr). Uses subprocess instead of sh because kubectl output parsing requires
operator/hack/infra_manager/utils.py:140
↓ 9 callersFunctionwithPhase
(phase corev1.PodPhase)
operator/internal/controller/podclique/components/pod/rollingupdate_test.go:113
↓ 8 callersMethodFetchFunc
FetchFunc returns a FetchFunc that lists pods in the given namespace with the given label selector.
operator/e2e/k8s/pods/predicates.go:33
↓ 8 callersMethodGetErrors
GetErrors returns the errors from the reconcile step.
operator/internal/controller/common/flow.go:58
↓ 8 callersMethodGetExpectations
GetExpectations gets the recorded expectations against a controlleeKey.
operator/internal/expect/expectations.go:104
↓ 8 callersFunctionNew
New creates a Volcano scheduler backend from the given scheduler profile.
operator/internal/scheduler/volcano/backend.go:52
↓ 8 callersFunctionNew
New creates an instance of RoleBinding components operator.
operator/internal/controller/podcliqueset/components/rolebinding/rolebinding.go:53
↓ 8 callersFunctionNew
New creates an instance of Secret components operator.
operator/internal/controller/podcliqueset/components/satokensecret/satokensecret.go:52
↓ 8 callersFunctionNew
New creates an instance of Role components operator.
operator/internal/controller/podcliqueset/components/role/role.go:52
↓ 8 callersFunctionNew
New creates an instance of ServiceAccount components operator.
operator/internal/controller/podcliqueset/components/serviceaccount/serviceaccount.go:52
↓ 8 callersMethodScalePCS
ScalePCS scales a PodCliqueSet to the specified replica count.
operator/e2e/testctx/context.go:278
↓ 8 callersMethodScalePCSAndWait
ScalePCSAndWait scales a PCS and waits for the expected pod conditions.
operator/e2e/testctx/context.go:399
↓ 8 callersFunctioncreateValidPCSWithPCSGConfigAnnotations
createValidPCSWithPCSGConfigAnnotations creates a fully valid PCS with a PCSG config carrying the given annotations, for testing spec-level validation
operator/internal/webhook/admission/pcs/validation/handler_mnnvl_test.go:346
↓ 8 callersFunctiongetDefaultTASConfig
---------------------------- Helper Functions ---------------------------- getDefaultTASConfig returns a default TAS configuration with TAS disabled.
operator/internal/webhook/admission/pcs/validation/handler_test.go:534
↓ 8 callersFunctionnewTestClusterTopology
( levels []grovecorev1alpha1.TopologyLevel, refs []grovecorev1alpha1.SchedulerTopologyBinding, )
operator/internal/webhook/admission/clustertopology/validation/validation_test.go:44
↓ 8 callersFunctionpclqResourceClaimLabels
pclqResourceClaimLabels returns the standard RC labels plus grove.io/podclique so that PCLQ-level RCs can be listed by a single label selector.
operator/internal/controller/podclique/components/resourceclaim/resourceclaim.go:184
↓ 8 callersFunctionpodCliqueSetWithGenerationAndAnnotations
(generation int64, annotations map[string]string)
operator/internal/controller/podcliqueset/register_test.go:151
↓ 8 callersFunctionrun_cmd
Run a command, handling errors gracefully. Returns (exit_code, output). Pass _ok_code=[0, 1, ...] to suppress exceptions for expected exit codes.
operator/hack/e2e-cluster/create-e2e-cluster.py:155
↓ 8 callersFunctionsliceMustHaveUniqueElements
sliceMustHaveUniqueElements validates that all elements in a string slice are unique.
operator/internal/webhook/admission/pcs/validation/util.go:60
↓ 8 callersFunctionwaitForPCLQ
waitForPCLQ waits for a PCLQ to exist and returns it
operator/e2e/tests/auto-mnnvl/testutils.go:293
↓ 8 callersFunctionwaitForRollingUpdateComplete
waitForRollingUpdateComplete waits for rolling update to complete by checking UpdatedReplicas. Uses tc.Workload.Name as the PCS name and tc.Timeout fo
operator/e2e/tests/update/utils.go:349
↓ 7 callersFunctionGetExistingPodGangs
GetExistingPodGangs fetches all existing PodGangs that are managed by Grove in the given namespace.
operator/internal/controller/common/component/utils/podgang.go:50
↓ 7 callersMethodGetScheme
()
operator/internal/controller/podclique/components/registry_test.go:82
↓ 7 callersMethodGetWebhookServer
()
operator/internal/controller/manager_test.go:505
↓ 7 callersFunctionNewOperatorRegistry
NewOperatorRegistry creates a new OperatorRegistry.
operator/internal/controller/common/component/types.go:103
↓ 7 callersFunctionResourceSharersFromPCLQ
ResourceSharersFromPCLQ converts PCLQ-level specs to the common ResourceSharer interface.
operator/internal/resourceclaim/reconcile.go:66
↓ 7 callersMethodSyncTopology
SyncTopology creates or updates the scheduler-specific topology resource for the given ClusterTopologyBinding. Called for backends not listed in the C
operator/internal/scheduler/types.go:77
↓ 7 callersMethodWait
Wait blocks until all async after-phase hooks have completed. Call this after Run() returns to ensure no background goroutines are truncated.
operator/e2e/measurement/measurement.go:214
↓ 7 callersMethodWithCondition
WithCondition adds a condition to the Pod's status.
operator/test/utils/pod.go:106
↓ 7 callersMethodWithPodCliqueScalingGroupConfig
WithPodCliqueScalingGroupConfig adds a PodCliqueScalingGroupConfig to the PodCliqueSet.
operator/test/utils/pcs.go:69
↓ 7 callersMethodWithTopologyConstraint
WithTopologyConstraint sets the TopologyConstraint for the PodCliqueSet template.
operator/test/utils/pcs.go:158
↓ 7 callersFunctionbuildHealthyClique
Test helpers
operator/internal/controller/podcliquescalinggroup/reconcilestatus_test.go:606
↓ 7 callersFunctioncreatePCSWithMNNVLEnabled
createPCSWithMNNVLEnabled creates a PCS with MNNVL enabled via mnnvl-group annotation
operator/internal/mnnvl/computedomain/computedomain_test.go:718
↓ 7 callersFunctioncreateScalingGroupConfig
createScalingGroupConfig creates a basic PodCliqueScalingGroupConfig for testing.
operator/internal/webhook/admission/pcs/validation/podcliqueset_test.go:1919
↓ 7 callersFunctioncreateTestClusterTopology
()
operator/internal/webhook/admission/pcs/validation/podcliqueset_test.go:1926
↓ 7 callersFunctioncreateTestKAITopology
(levels []kaitopologyv1alpha1.TopologyLevel, owner *grovecorev1alpha1.ClusterTopologyBinding)
operator/internal/scheduler/kai/topology_test.go:428
↓ 7 callersFunctioneffectiveQueueFromAnnotations
effectiveQueueFromAnnotations returns the effective Volcano queue for the given annotations. If the queue annotation is missing or empty, it defaults
operator/internal/scheduler/volcano/queue.go:47
↓ 7 callersFunctiongetDefaultNetworkConfig
getDefaultNetworkConfig returns a default network configuration with MNNVL disabled.
operator/internal/webhook/admission/pcs/validation/handler_test.go:541
↓ 7 callersFunctionlog_header
(msg: str)
operator/hack/e2e-cluster/config-cluster.py:82
↓ 7 callersFunctionrun_quiet
Run a command suppressing stdout and stderr. Returns the result.
operator/hack/e2e-cluster/config-cluster.py:113
↓ 7 callersMethodvalidateUpdate
---------------------------- validate update of PodCliqueSet ----------------------------------------------- validateUpdate validates the update to a
operator/internal/webhook/admission/pcs/validation/podcliqueset.go:645
↓ 7 callersFunctionverifyNoAutomaticDeletionAfterUpdate
( tc *testctx.TestContext, tracker *updateTracker, existingPodNames map[string]bool, expectedPods int, ve
operator/e2e/tests/update/utils.go:1248
↓ 7 callersFunctionverifyRCState
verifyRCState waits for the expected RC count and verifies exact RC names.
operator/e2e/tests/resource_sharing_test.go:467
↓ 6 callersFunctionAddAndPatchFinalizer
AddAndPatchFinalizer uses merge-patch strategy to patch the given object with the given finalizer.
operator/internal/controller/utils/finalizer.go:27
↓ 6 callersFunctionCloseQuietly
CloseQuietly safely closes an io.Closer, ignoring and suppressing any error during the close operation.
operator/internal/utils/ioutil/ioutil.go:22
↓ 6 callersMethodDeleteClusterTopology
DeleteClusterTopology deletes a ClusterTopologyBinding CR by name.
operator/e2e/grove/topology/topology.go:288
↓ 6 callersMethodDownloadForPhase
DownloadForPhase downloads pprof profiles for a completed phase in parallel: - CPU profile spanning [start, end] (full phase window) - Memory snapshot
operator/e2e/utils/pprof/pprof.go:144
↓ 6 callersFunctionManageWebhookCerts
ManageWebhookCerts manages webhook certificates based on the CertProvisionMode configuration. When mode=auto: uses cert-controller for automatic certi
operator/internal/controller/cert/cert.go:52
↓ 6 callersFunctionNewTimelineTracker
NewTimelineTracker constructs a new timeline tracker with required metadata.
operator/e2e/measurement/measurement.go:169
← previousnext →101–200 of 2,929, ranked by callers