MCPcopy Create free account

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

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

↓ 4 callersMethodAllTopologyAware
AllTopologyAware returns the subset of registered backends that implement TopologyAwareBackend, keyed by name.
operator/internal/scheduler/types.go:115
↓ 4 callersMethodAllTopologyAware
AllTopologyAware returns the subset of registered backends that implement TopologyAwareBackend, keyed by name.
operator/internal/scheduler/registry/registry.go:87
↓ 4 callersMethodApplyYAMLData
ApplyYAMLData applies YAML data to Kubernetes.
operator/e2e/k8s/resources/resources.go:72
↓ 4 callersMethodClose
()
operator/internal/utils/ioutil/ioutil_test.go:122
↓ 4 callersFunctionCountPodsByPhase
CountPodsByPhase counts pods by their phase and returns a PodPhaseCount.
operator/e2e/k8s/pods/pods.go:181
↓ 4 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastError.
operator/api/core/v1alpha1/zz_generated.deepcopy.go:197
↓ 4 callersMethodDelete
Delete explicitly deletes all PCLQ-level ResourceClaims owned by this PodClique. This is required because the PCLQ finalizer's verifyNoResourcesAwaits
operator/internal/controller/podclique/components/resourceclaim/resourceclaim.go:195
↓ 4 callersMethodDeletePCS
DeletePCS deletes a PodCliqueSet by name. NotFound errors are ignored.
operator/e2e/grove/workload/workload.go:91
↓ 4 callersMethodDo
(req *http.Request)
operator/e2e/utils/pprof/pprof.go:71
↓ 4 callersMethodExpectCreations
ExpectCreations records resource creation expectations for uids for a controlled resource identified by a controlleeKey.
operator/internal/expect/expectations.go:74
↓ 4 callersFunctionFindPCSGConfigByName
FindPCSGConfigByName finds the matching PodCliqueScalingGroupConfig by PCSG name without requiring the full PCSG object. This is useful in contexts (e
operator/internal/resourceclaim/reconcile.go:249
↓ 4 callersFunctionGetAvailableIndices
GetAvailableIndices returns the `requiredIndicesCount` available indices for pods. Extracts indices from active pod hostnames and returns the availabl
operator/internal/index/tracker.go:37
↓ 4 callersMethodGetClient
GetClient returns the unified K8s client struct
operator/e2e/setup/shared_cluster.go:515
↓ 4 callersMethodGetDefault
()
operator/internal/scheduler/registry/registry.go:68
↓ 4 callersMethodGetDescription
GetDescription returns the description from the reconcile step.
operator/internal/controller/common/flow.go:63
↓ 4 callersMethodGetExistingResourceNames
GetExistingResourceNames returns the names of PCLQ-level ResourceClaims by selecting on the grove.io/podclique label that Sync stamps on each RC.
operator/internal/controller/podclique/components/resourceclaim/resourceclaim.go:60
↓ 4 callersMethodGetLogger
GetLogger returns the logger registered with the fake manager
operator/test/utils/manager.go:42
↓ 4 callersMethodGetOrDefault
(name string)
operator/internal/scheduler/registry/registry.go:72
↓ 4 callersFunctionGetPCLQPods
GetPCLQPods lists all Pods controlled by the given PodClique. It queries the podControllerUIDIndexField field index (registered by RegisterPodControll
operator/internal/controller/common/component/utils/pod.go:92
↓ 4 callersFunctionGetPodGang
GetPodGang fetches a PodGang by name and namespace.
operator/internal/controller/common/component/utils/podgang.go:40
↓ 4 callersMethodGrove
()
operator/client/informers/externalversions/factory.go:261
↓ 4 callersMethodHasAnyPackDomain
HasAnyPackDomain reports whether the constraint has any required or preferred pack domain.
operator/api/core/v1alpha1/podcliqueset.go:314
↓ 4 callersMethodHasErrors
HasErrors returns true if any tasks encountered errors.
operator/internal/utils/concurrent.go:51
↓ 4 callersFunctionNewSetBy
NewSetBy converts a slice into a set using keyFunc to derive the key.
operator/internal/controller/common/component/utils/sets.go:32
↓ 4 callersFunctionRCName
RCName returns the deterministic ResourceClaim name for a given base ref and optional replica index. Callers must ensure replicaIndex is non-nil when
operator/internal/resourceclaim/reconcile.go:182
↓ 4 callersMethodRESTClient
()
operator/client/clientset/versioned/typed/core/v1alpha1/core_client.go:30
↓ 4 callersMethodRecordErrors
RecordErrors records errors encountered during a reconcile run.
operator/internal/controller/common/reconcileerrorrecorder.go:40
↓ 4 callersFunctionRegister
Register registers the webhooks with the controller manager.
operator/internal/webhook/register.go:37
↓ 4 callersMethodSchedulerV1alpha1
()
scheduler/client/clientset/versioned/clientset.go:33
↓ 4 callersMethodSetup
Setup initializes the shared cluster by connecting to an existing Kubernetes cluster. The cluster must be created beforehand with: - Grove operator d
operator/e2e/setup/shared_cluster.go:129
↓ 4 callersFunctionShortCircuitReconcileFlow
ShortCircuitReconcileFlow returns true if the reconcile flow should be short-circuited and not continue.
operator/internal/controller/common/flow.go:114
↓ 4 callersFunctionValidatePCSOnCreate
ValidatePCSOnCreate validates all MNNVL annotations on a PodCliqueSet during creation: PCS-level metadata and each PodCliqueTemplateSpec in the spec.
operator/internal/mnnvl/webhook.go:32
↓ 4 callersMethodValidatePodCliqueSet
ValidatePodCliqueSet runs scheduler-specific validations on the PodCliqueSet (e.g. TAS required but not supported).
operator/internal/scheduler/types.go:54
↓ 4 callersMethodVerifyPCSGReplicasInTopologyDomain
VerifyPCSGReplicasInTopologyDomain verifies that each PCSG replica's pods are in the same topology domain.
operator/e2e/grove/topology/topology.go:181
↓ 4 callersMethodWaitForCacheSync
WaitForCacheSync blocks until all started informers' caches were synced or the stop channel gets closed.
operator/client/informers/externalversions/factory.go:249
↓ 4 callersMethodWaitForCount
WaitForCount waits for a specific number of pods to be created with the given label selector. Returns the pod list once the expected count is reached.
operator/e2e/k8s/pods/pods.go:109
↓ 4 callersFunctionavailableUnknownCondition
()
operator/internal/utils/kubernetes/conditions_test.go:343
↓ 4 callersFunctionbest_effort_git
(args: list[str], cwd: Path | None = None)
operator/hack/scale-history.py:425
↓ 4 callersMethodbuildResource
buildResource constructs a PodClique resource from templates, setting up metadata, labels, dependencies and environment variables. When pclqExists is
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:286
↓ 4 callersFunctioncastToPodCliqueSet
castToPodCliqueSet attempts to cast a runtime.Object to a PodCliqueSet.
operator/internal/webhook/admission/pcs/validation/handler.go:151
↓ 4 callersFunctioncell
(text)
operator/hack/scale-dashboard/app.js:642
↓ 4 callersFunctioncollect_grove_helm_overrides
Build helm override tuples from grove tuning options. Each tuple is ``(helm_flag, "key=value")`` where ``helm_flag`` is either ``"--set"`` (t
operator/hack/infra_manager/utils.py:69
↓ 4 callersFunctioncontainerHasGPU
containerHasGPU checks if a single container requests GPU resources. TODO: This check is incomplete - it only looks at Resources.Limits and Resources.
operator/internal/mnnvl/helpers.go:113
↓ 4 callersMethodcreateDeleteTasks
createDeleteTasks creates deletion tasks for PodCliques belonging to specific PCSG replica indices
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:182
↓ 4 callersFunctioncreatePlaceholderSecretIfNotExists
createPlaceholderSecretIfNotExists creates the webhook TLS secret if it does not already exist. This is needed because the upstream cert-controller (O
operator/internal/controller/cert/cert.go:150
↓ 4 callersMethoddecode
(logger logr.Logger, req admission.Request)
operator/internal/webhook/admission/pcs/authorization/decoder.go:73
↓ 4 callersFunctiondrainEvents
-- Helpers -- drainEvents reads all available events from the channel without blocking.
operator/internal/controller/clustertopology/reconciler_test.go:100
↓ 4 callersFunctiondrawEmpty
(svg, message)
operator/hack/scale-dashboard/app.js:517
↓ 4 callersFunctionemptyPodClique
emptyPodClique creates a new empty PodClique resource with basic metadata
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:500
↓ 4 callersFunctionfakeBinaryProfile
fakeBinaryProfile builds a minimal valid google.v1.Profile in binary protobuf. This mirrors what Pyroscope returns with Content-Type: application/prot
operator/e2e/utils/pprof/pprof_test.go:41
↓ 4 callersFunctiongetComputeDomain
--- Helper / assertion functions --- getComputeDomain attempts to get a ComputeDomain by name. Returns error if not found.
operator/e2e/tests/auto-mnnvl/supported_and_enabled_test.go:369
↓ 4 callersFunctiongetOperatorNamespaceFromFile
getOperatorNamespaceFromFile reads the operator's namespace from the specified file path. This is extracted for testability.
operator/internal/controller/cert/cert.go:196
↓ 4 callersFunctiongetPodsForClique
getPodsForClique returns the names of all pods belonging to the specified clique.
operator/e2e/tests/update/utils.go:118
↓ 4 callersFunctiongetReadyConditionTransitionTime
Helper function to get the Ready condition's LastTransitionTime from a pod According to the sample files, this is the correct timestamp to check for s
operator/e2e/tests/startup_ordering_test.go:276
↓ 4 callersFunctiongroupPCLQsByLabel
groupPCLQsByLabel groups PodCliques by the value of the specified label key
operator/internal/controller/common/component/utils/podclique.go:132
↓ 4 callersFunctionlog_error
(msg: str)
operator/hack/e2e-autoMNNVL/run_autoMNNVL_e2e_all.py:77
↓ 4 callersFunctionlog_header
(msg: str)
operator/hack/e2e-autoMNNVL/run_autoMNNVL_e2e_all.py:81
↓ 4 callersFunctionnewUpdateTracker
newUpdateTracker creates a new update tracker
operator/e2e/tests/update/tracker.go:49
↓ 4 callersMethodnotifyIfAllParentsReady
notifyIfAllParentsReady will notify consumers if all PCLQ pods are ready.
operator/initc/internal/wait.go:265
↓ 4 callersFunctionpcsgName
pcsgName returns the FQN for a PCSG owned by `testPCSName` at the given replica index, using the same scheme that componentutils.GetExpectedPCSGFQNsPe
operator/internal/controller/podcliqueset/reconcilestatus_test.go:968
↓ 4 callersFunctionpcsgScaleOutPodRefs
pcsgScaleOutPodRefs: 4 pods (sga=3).
operator/e2e/tests/resource_sharing_test.go:234
↓ 4 callersFunctionphaseByName
(run, name)
operator/hack/scale-dashboard/app.js:467
↓ 4 callersFunctionphaseLabel
(name)
operator/hack/scale-dashboard/app.js:679
↓ 4 callersFunctionreadyUnknownCondition
()
operator/internal/utils/kubernetes/conditions_test.go:331
↓ 4 callersMethodreconcileStatus
reconcileStatus updates the PodCliqueScalingGroup status with current replica counts and conditions
operator/internal/controller/podcliquescalinggroup/reconcilestatus.go:45
↓ 4 callersMethodrecordError
recordError adds an error to the sync flow result
operator/internal/controller/podclique/components/pod/syncflow.go:475
↓ 4 callersMethodrefreshReadyPodsOfPodClique
refreshReadyPodsOfPodClique updates the ready pod count for the PodClique that owns the given pod.
operator/initc/internal/wait.go:237
↓ 4 callersFunctionrequireClusterConfig
requireClusterConfig returns the cached cluster MNNVL configuration, detecting it on first call. This function is safe to call from multiple tests - d
operator/e2e/tests/auto-mnnvl/testutils.go:116
↓ 4 callersFunctionrollbackNodeLabels
rollbackNodeLabels reverses label mutations on the specified nodes: - Restores original values for labels that existed before mutation. - Removes labe
operator/e2e/grove/topology/node_labels.go:164
↓ 4 callersFunctionrunScaleTest
runScaleTest provides the shared scaffolding (cluster setup, tracker, pprof, output dir, result export) used by every scale test in this package.
operator/e2e/tests/scale/scale_test.go:95
↓ 4 callersFunctionshowTooltip
(event, rows)
operator/hack/scale-dashboard/app.js:605
↓ 4 callersMethodskipUnless
skipUnless skips the test if the cluster configuration doesn't match the required values. Usage: config.skipUnless(t, crdSupported, featureEnabled) Us
operator/e2e/tests/auto-mnnvl/testutils.go:89
↓ 4 callersMethodstart
start begins watching pod events and blocks until the watcher is ready. Uses tc.Ctx, tc.Client, tc.Namespace, and tc.Workload.GetLabelSelector() for w
operator/e2e/tests/update/tracker.go:55
↓ 4 callersFunctiontooltipRows
(run, rows)
operator/hack/scale-dashboard/app.js:624
↓ 4 callersMethodtriggerDeletionOfPodCliques
triggerDeletionOfPodCliques executes concurrent deletion tasks for PodCliques and handles any resulting errors
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:166
↓ 4 callersFunctiontruncateString
(s string, maxLen int)
operator/e2e/diagnostics/collector.go:404
↓ 4 callersFunctionvalidateConcurrentSyncs
(concurrentSyncs *int, fldPath *field.Path)
operator/api/config/validation/validation.go:148
↓ 4 callersMethodvalidatePodCliqueSetWithBackend
validatePodCliqueSetWithBackend resolves the scheduler backend for the PCS and runs backend-specific validation. All cliques share the same (resolved)
operator/internal/webhook/admission/pcs/validation/handler.go:134
↓ 4 callersMethodvalidateResourceSharingSpecs
validateResourceSharingSpecs validates the common fields (Name, Namespace, Scope) across all levels.
operator/internal/webhook/admission/pcs/validation/podcliqueset.go:206
↓ 4 callersFunctionverifySinglePCSReplicaUpdatedFirst
verifySinglePCSReplicaUpdatedFirst verifies that a single PCS replica is fully updated before another replica begins. This function ensures strict re
operator/e2e/tests/update/utils.go:790
↓ 4 callersFunctionwaitForOnDeleteUpdateCompleteWithTimeout
(tc *testctx.TestContext, timeout time.Duration)
operator/e2e/tests/update/utils.go:1242
↓ 4 callersFunctionyScale
(value)
operator/hack/scale-dashboard/app.js:196
↓ 3 callersMethodAddDependencies
AddDependencies adds all the `to` PodCliques that depend on the `from` PodClique.
operator/internal/webhook/admission/pcs/validation/podcliquedeps.go:36
↓ 3 callersFunctionBuildSchedulerReferenceMap
BuildSchedulerReferenceMap builds a map from scheduler name to SchedulerTopologyReference pointer.
operator/internal/clustertopology/clustertopology.go:67
↓ 3 callersFunctionCleanupStalePerReplicaRCs
CleanupStalePerReplicaRCs deletes stale PerReplica ResourceClaims in a single server-side DeleteCollection call. It builds a unified label selector th
operator/internal/resourceclaim/reconcile.go:300
↓ 3 callersFunctionCreateOperatorRegistry
CreateOperatorRegistry initializes the operator registry for the PodCliqueSet reconciler
operator/internal/controller/podcliqueset/components/registry.go:42
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCliqueScalingGroup.
operator/api/core/v1alpha1/zz_generated.deepcopy.go:386
↓ 3 callersMethodDeleteExpectations
DeleteExpectations removes all expectations stored against a controlleeKey from the store.
operator/internal/expect/expectations.go:89
↓ 3 callersFunctionDeleteResourceClaim
DeleteResourceClaim deletes a ResourceClaim by name. NotFound errors are ignored.
operator/internal/resourceclaim/reconcile.go:124
↓ 3 callersFunctionEnsureResourceClaim
EnsureResourceClaim ensures a ResourceClaim exists with the given spec, labels, and owner. ResourceClaim.spec is immutable in Kubernetes, so existing
operator/internal/resourceclaim/reconcile.go:76
↓ 3 callersFunctionGenerateBasePodGangName
GenerateBasePodGangName generates a base PodGang name for a PodCliqueSet replica. This is used for PodGangs that are not part of scaled scaling group
operator/api/common/namegen.go:82
↓ 3 callersMethodGetBase
()
operator/internal/resourceclaim/reconcile.go:43
↓ 3 callersFunctionGetConditionStatus
GetConditionStatus looks up the conditionType from a slice of conditions. If the condition is found then it returns the status else it will return nil
operator/internal/utils/kubernetes/conditions.go:56
↓ 3 callersFunctionGetContainerStatusIfTerminatedErroneously
GetContainerStatusIfTerminatedErroneously gets the first occurrence of corev1.ContainerStatus (across init, sidecar and main containers) that has a no
operator/internal/utils/kubernetes/pod.go:152
↓ 3 callersMethodGetKAIPodGroupsForPCS
GetKAIPodGroupsForPCS retrieves all KAI PodGroups for a given PodCliqueSet by label selector.
operator/e2e/grove/podgroup/podgroup.go:133
↓ 3 callersMethodGetLogs
GetLogs returns a log stream request for a pod container.
operator/e2e/k8s/k8sclient/client.go:104
↓ 3 callersMethodGetOrDefault
GetOrDefault returns the backend registered under name, or the default backend if name is empty.
operator/internal/scheduler/types.go:109
↓ 3 callersFunctionIsEmptyStringType
IsEmptyStringType returns true if value (which is a string or has an underline type string) is empty or contains only whitespace characters.
operator/internal/utils/miscellaneous.go:22
↓ 3 callersFunctionIsManagedByGrove
IsManagedByGrove checks if the pod is managed by Grove by inspecting its labels. All grove managed resources will have a standard set of default label
operator/internal/controller/utils/managedresource.go:39
↓ 3 callersFunctionIsResourceTerminating
IsResourceTerminating checks if a deletion timestamp is set. If it is set it returns true else false.
operator/internal/utils/kubernetes/objectmeta.go:62
← previousnext →301–400 of 2,929, ranked by callers