MCPcopy Create free account

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

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

↓ 6 callersFunctionOnlyOneIsNil
OnlyOneIsNil returns true if only one of the Objects is nil else it will return false.
operator/internal/utils/miscellaneous.go:27
↓ 6 callersMethodPreparePod
PreparePod adds scheduler-backend-specific configuration to the given Pod object prior to its creation (schedulerName, annotations, etc.).
operator/internal/scheduler/types.go:51
↓ 6 callersFunctionResolveTemplateSpec
ResolveTemplateSpec resolves a ResourceSharingSpec to its ResourceClaimTemplateSpec. Resolution order: internal PCS-level resourceClaimTemplates first
operator/internal/resourceclaim/resolve.go:31
↓ 6 callersMethodScalePCSG
ScalePCSG scales a PodCliqueScalingGroup to the specified replica count.
operator/e2e/testctx/context.go:283
↓ 6 callersMethodStart
(stopCh <-chan struct{})
operator/client/informers/externalversions/internalinterfaces/factory_interfaces.go:35
↓ 6 callersMethodSync
Sync creates or patches PCS-level ResourceClaims (AllReplicas + PerReplica) and cleans up stale RCs from previous scale-in operations.
operator/internal/controller/podcliqueset/components/resourceclaim/resourceclaim.go:78
↓ 6 callersMethodSync
Sync creates or patches PCLQ-level ResourceClaims (AllReplicas + PerReplica) and cleans up stale PerReplica RCs from previous scale-in operations. The
operator/internal/controller/podclique/components/resourceclaim/resourceclaim.go:84
↓ 6 callersFunctionSynchronizeTopology
SynchronizeTopology synchronizes scheduler-specific topology resources at operator startup. Lists all existing ClusterTopologyBinding resources and en
operator/internal/clustertopology/clustertopology.go:33
↓ 6 callersMethodVerifyPodsArePendingWithUnschedulableEvents
VerifyPodsArePendingWithUnschedulableEvents verifies that pods are pending with Unschedulable events.
operator/e2e/testctx/context.go:318
↓ 6 callersMethodWaitForPodCountAndPhases
WaitForPodCountAndPhases waits for pods to reach specific total count and phase counts.
operator/e2e/testctx/context.go:215
↓ 6 callersMethodWithPodSpec
WithPodSpec sets a custom PodSpec for the PodCliqueTemplateSpec.
operator/test/utils/pclqTemplate.go:124
↓ 6 callersFunctionWithPollInterval
WithPollInterval sets the milestone polling interval.
operator/e2e/measurement/measurement.go:119
↓ 6 callersFunctionbuildHierarchyViolationMsg
buildHierarchyViolationMsg generates an error message when a parent constraint is narrower than a child constraint.
operator/internal/webhook/admission/pcs/validation/topologyconstraints.go:196
↓ 6 callersFunctioncreateFakeManager
(cl client.Client)
operator/internal/webhook/admission/pcs/authorization/handler_test.go:541
↓ 6 callersFunctioncreateUnstructuredObject
(gvk schema.GroupVersionKind, namespace, name string)
operator/internal/webhook/admission/pcs/authorization/decoder_test.go:219
↓ 6 callersFunctioncreateValidPCSWithCliqueAnnotations
createValidPCSWithCliqueAnnotations creates a fully valid PCS with clique-level annotations for testing spec-level validation.
operator/internal/webhook/admission/pcs/validation/handler_mnnvl_test.go:329
↓ 6 callersFunctiondeletePodAndWaitForTermination
deletePodAndWaitForTermination deletes a pod and waits until it is fully terminated.
operator/e2e/tests/update/utils.go:97
↓ 6 callersMethodgetEvents
getEvents returns a copy of all recorded events
operator/e2e/tests/update/tracker.go:119
↓ 6 callersFunctiongetPodCliqueSelectorLabels
getPodCliqueSelectorLabels returns labels for selecting all PodCliques of a PodCliqueSet.
operator/internal/controller/podcliqueset/components/podclique/podclique.go:379
↓ 6 callersFunctiongetPodsByCliquePattern
Helper function to get pods by clique name pattern.
operator/e2e/tests/startup_ordering_test.go:504
↓ 6 callersFunctionhasEnvVar
Helper function to check if an env var exists in a slice
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique_test.go:783
↓ 6 callersFunctionhasHierarchyViolation
hasHierarchyViolation reports whether the parent domain is narrower than the child domain, which violates the constraint hierarchy. Returns false when
operator/internal/webhook/admission/pcs/validation/topologyconstraints.go:177
↓ 6 callersFunctionlog_success
(msg: str)
operator/hack/e2e-cluster/config-cluster.py:70
↓ 6 callersFunctionmarkStandalonePCLQConverged
(t testing.TB, pcs *grovecorev1alpha1.PodCliqueSet, pclq *grovecorev1alpha1.PodClique, generationHash string)
operator/internal/controller/podcliqueset/reconcilestatus_test.go:896
↓ 6 callersFunctionnewPCLQ
newPCLQ returns a PCLQ object with the standard labels expected by the component.
operator/internal/controller/podclique/components/resourceclaim/resourceclaim_test.go:84
↓ 6 callersFunctionnewPCS
(replicas int32, refs []grovecorev1alpha1.PCSResourceSharingSpec, templates []grovecorev1alpha1.ResourceClaimT
operator/internal/controller/podcliqueset/components/resourceclaim/resourceclaim_test.go:70
↓ 6 callersFunctionnewSimpleCondition
Test helper functions
operator/internal/utils/kubernetes/conditions_test.go:315
↓ 6 callersFunctionnewTestHandler
()
operator/internal/webhook/admission/clustertopology/validation/validation_test.go:32
↓ 6 callersFunctionresolvePodViaEndpoints
resolvePodViaEndpoints returns the name of the first ready pod backing the given service, using the Endpoints API (returns only Ready pods from Subset
operator/e2e/utils/portforward/portforward.go:182
↓ 6 callersFunctionrun
Run a shell command, streaming output unless *capture* is True.
operator/hack/e2e-cluster/config-cluster.py:89
↓ 6 callersFunctionto_bool
Convert various value types to boolean.
operator/hack/e2e-cluster/create-e2e-cluster.py:613
↓ 6 callersFunctionverifyPodState
verifyPodState waits for the expected pod count and verifies RC references in pod specs.
operator/e2e/tests/resource_sharing_test.go:490
↓ 6 callersFunctionwithContainerStatus
(started *bool, ready bool)
operator/internal/controller/podclique/components/pod/rollingupdate_test.go:125
↓ 5 callersMethodBuild
Build creates a test client.Client with the configured reactions to errors.
operator/test/utils/client.go:189
↓ 5 callersMethodCheckTopologyDrift
CheckTopologyDrift compares the scheduler-specific topology resource named by ref.TopologyReference against the ClusterTopologyBinding's levels. Retur
operator/internal/scheduler/types.go:88
↓ 5 callersMethodClusterTopologyBindings
ClusterTopologyBindings returns a ClusterTopologyBindingInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:28
↓ 5 callersFunctionComputeHash
ComputeHash computes a hash given one or more corev1.PodTemplateSpec.
operator/internal/utils/kubernetes/pod.go:138
↓ 5 callersMethodCreateClusterTopology
CreateClusterTopology creates a ClusterTopologyBinding CR with the given name and levels.
operator/e2e/grove/topology/topology.go:221
↓ 5 callersMethodExport
(r *measurement.TrackerResult)
operator/e2e/measurement/exporter/exporter.go:31
↓ 5 callersFunctionFilterPodsByLabel
FilterPodsByLabel filters pods by a specific label key-value pair.
operator/e2e/grove/topology/topology.go:113
↓ 5 callersFunctionFindPCSGConfig
FindPCSGConfig finds the matching PodCliqueScalingGroupConfig for a given PCSG from the PCS template.
operator/internal/resourceclaim/reconcile.go:238
↓ 5 callersMethodGet
(name string)
operator/internal/scheduler/registry/registry.go:64
↓ 5 callersMethodGetCreateExpectations
GetCreateExpectations is a convenience method which gives a slice of resource UIDs for which creation has not yet been synced in the informer cache.
operator/internal/expect/expectations.go:140
↓ 5 callersMethodGetDeleteExpectations
GetDeleteExpectations is a convenience method which gives a slice of resource UIDs for which deletion has not yet been synced in the informer cache.
operator/internal/expect/expectations.go:149
↓ 5 callersFunctionGetPodGangSelectorLabels
GetPodGangSelectorLabels creates the label selector to list all the PodGangs for a PodCliqueSet.
operator/internal/controller/common/component/utils/podgang.go:31
↓ 5 callersMethodInformer
()
operator/client/informers/externalversions/generic.go:32
↓ 5 callersMethodInformerFor
(obj runtime.Object, newFunc NewInformerFunc)
operator/client/informers/externalversions/internalinterfaces/factory_interfaces.go:36
↓ 5 callersMethodInit
Init provides a hook to initialize/setup one-time scheduler resources, called at the startup of grove operator.
operator/internal/scheduler/types.go:43
↓ 5 callersFunctionInjectResourceClaimRefs
InjectResourceClaimRefs appends ResourceClaim references to a PodSpec for entries that match the given scope and filter. It adds both the pod-level cl
operator/internal/resourceclaim/reconcile.go:198
↓ 5 callersMethodMatches
Matches matches the errorType to the passed field.ErrorList
operator/test/utils/errormatcher.go:37
↓ 5 callersFunctionNewExpectationsStore
NewExpectationsStore creates a new expectations store.
operator/internal/expect/expectations.go:67
↓ 5 callersFunctionNewHandler
NewHandler creates a new handler for the auhtorizer webhook.
operator/internal/webhook/admission/pcs/authorization/handler.go:51
↓ 5 callersMethodPodCliqueScalingGroups
PodCliqueScalingGroups returns a PodCliqueScalingGroupInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:32
↓ 5 callersMethodPodCliqueSets
PodCliqueSets returns a PodCliqueSetInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:34
↓ 5 callersMethodPodCliques
PodCliques returns a PodCliqueInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:30
↓ 5 callersMethodPodGangs
PodGangs returns a PodGangInformer.
scheduler/client/informers/externalversions/core/v1alpha1/interface.go:28
↓ 5 callersMethodQueryPrefix
QueryPrefix returns the Pyroscope metric selector prefix for this profile type. Single source of truth — switch-based, not a mutable package-level map
operator/e2e/utils/pprof/pprof.go:55
↓ 5 callersMethodRecordErrorForObjectsMatchingLabels
RecordErrorForObjectsMatchingLabels records an error for a specific client.Client method and object keys matching the given labels for a given GVK.
operator/test/utils/client.go:174
↓ 5 callersMethodReferencedDomains
ReferencedDomains returns the unique required and preferred domains referenced by the constraint.
operator/api/core/v1alpha1/podcliqueset.go:338
↓ 5 callersMethodRegisterWithManager
RegisterWithManager registers the backend controller with the manager
operator/internal/controller/podgang/register.go:31
↓ 5 callersMethodRegisterWithManager
RegisterWithManager registers the webhook with the manager.
operator/internal/webhook/admission/pcs/validation/register.go:33
↓ 5 callersFunctionRemoveAndPatchFinalizer
RemoveAndPatchFinalizer uses merge-patch strategy to patch the given object thereby resulting in removal of the given finalizer.
operator/internal/controller/utils/finalizer.go:38
↓ 5 callersFunctionResourceClaimLabels
ResourceClaimLabels returns the standard Grove labels for a ResourceClaim owned by a PCS.
operator/internal/resourceclaim/reconcile.go:174
↓ 5 callersMethodSyncPodGang
SyncPodGang synchronizes (creates/updates) scheduler-specific resources for a PodGang reacting to a creation or update of a PodGang resource.
operator/internal/scheduler/types.go:47
↓ 5 callersMethodUncordonNode
UncordonNode marks a node as schedulable.
operator/e2e/testctx/context.go:248
↓ 5 callersMethodV1alpha1
V1alpha1 provides access to shared informers for resources in V1alpha1.
operator/client/informers/externalversions/core/interface.go:29
↓ 5 callersMethodWaitForKAITopology
WaitForKAITopology polls until the KAI Topology exists with the expected level keys and owner reference.
operator/e2e/grove/topology/topology.go:299
↓ 5 callersMethodWaitForPCSCondition
WaitForPCSCondition polls until the PodCliqueSet has a condition matching the expected type, status, and reason.
operator/e2e/grove/topology/topology.go:363
↓ 5 callersMethodWaitForPodConditions
WaitForPodConditions polls until the expected pod state is reached.
operator/e2e/testctx/context.go:393
↓ 5 callersMethodWrite
(p []byte)
operator/e2e/log/logger.go:158
↓ 5 callersFunctionaddEnvironmentVariables
addEnvironmentVariables adds Grove-specific environment variables to all containers and init-containers.
operator/internal/controller/podclique/components/pod/pod.go:331
↓ 5 callersFunctionaddText
(parent, x, y, text, className, anchor)
operator/hack/scale-dashboard/app.js:658
↓ 5 callersFunctionbuildFakeClient
buildFakeClient creates a fake client with apiextensionsv1 scheme registered.
operator/internal/crdinstaller/installer_test.go:38
↓ 5 callersFunctioncreateTestCDs
createTestCDs creates a slice of test ComputeDomains with proper labels and finalizers.
operator/internal/mnnvl/computedomain/computedomain_test.go:775
↓ 5 callersFunctioncreateTestClient
createTestClient creates a test client with testScheme that supports ComputeDomain operations.
operator/internal/mnnvl/computedomain/computedomain_test.go:747
↓ 5 callersFunctioncreateTestClusterTopology
createTestClusterTopology creates a ClusterTopologyBinding with the given name and topology levels.
operator/internal/clustertopology/clustertopology_test.go:308
↓ 5 callersFunctioncreateTopologyPackConstraint
createTopologyPackConstraint creates a TopologyPackConstraint based on the sync context and provided parameters for a resource. PackConstraints are de
operator/internal/controller/podcliqueset/components/podgang/syncflow.go:353
↓ 5 callersFunctiondep_value
Safely traverse the DEPENDENCIES dict by key path. Args: *keys: Sequence of dictionary keys to traverse. default: Value to return
operator/hack/infra_manager/constants.py:44
↓ 5 callersFunctionextractIndexFromHostname
extractIndexFromHostname extracts the numeric index from a pod hostname.
operator/internal/index/tracker.go:86
↓ 5 callersFunctionextractUsedIndices
extractUsedIndices extracts and validates indices from existing pods.
operator/internal/index/tracker.go:46
↓ 5 callersFunctionfindAvailableIndices
findAvailableIndices finds the next count available indices starting from 0.
operator/internal/index/tracker.go:72
↓ 5 callersFunctiongetFirstPodForClique
getFirstPodForClique returns the name of the first pod belonging to the specified clique.
operator/e2e/tests/update/utils.go:140
↓ 5 callersMethodgetRecordedObjectError
---------------------------------- Helper methods ----------------------------------
operator/test/utils/client.go:304
↓ 5 callersFunctioninitializeControlleeExpectations
(expStore *ExpectationsStore, controlleeKey string, uidsToAdd, uidsToDelete []types.UID)
operator/internal/expect/expectations_test.go:236
↓ 5 callersMethodisExistingPodGang
(podGangName string)
operator/internal/controller/podcliqueset/components/podgang/syncflow.go:671
↓ 5 callersFunctionmakePCSWithTopology
makePCSWithTopology creates a minimal PCS with an optional topology constraint.
operator/internal/controller/podcliqueset/components/podgang/syncflow_test.go:1798
↓ 5 callersMethodmapBackendTopologyToCT
mapBackendTopologyToCT returns a MapFunc that maps a backend topology resource event to the ClusterTopologyBinding that should be reconciled. For aut
operator/internal/controller/clustertopology/register.go:68
↓ 5 callersFunctionnewKAIBackendMap
(t *testing.T, cl client.Client)
operator/internal/clustertopology/clustertopology_test.go:299
↓ 5 callersFunctionnewRC
(name string, labels map[string]string)
operator/internal/controller/podcliqueset/components/resourceclaim/resourceclaim_test.go:86
↓ 5 callersFunctionpcsgScaleOutRCNames
pcsgScaleOutRCNames: sga 1→3. Total: 14 RCs.
operator/e2e/tests/resource_sharing_test.go:117
↓ 5 callersFunctionreadyFalseCondition
()
operator/internal/utils/kubernetes/conditions_test.go:327
↓ 5 callersFunctionreadyTrueCondition
Common condition builders
operator/internal/utils/kubernetes/conditions_test.go:323
↓ 5 callersFunctionrun_or_warn
Run a command and log a warning if it fails (instead of raising).
operator/hack/e2e-cluster/config-cluster.py:105
↓ 5 callersFunctionscalePCS
scalePCS scales a PCS to the specified number of replicas
operator/e2e/tests/auto-mnnvl/testutils.go:263
↓ 5 callersFunctionsetSchedulerTopologyDriftCondition
setSchedulerTopologyDriftCondition sets the SchedulerTopologyDrift condition on the ClusterTopologyBinding based on the aggregated scheduler topology
operator/internal/controller/clustertopology/reconciler.go:150
↓ 5 callersFunctiontriggerRollingUpdate
============================================================================ RollingRecreate strategy utilities ======================================
operator/e2e/tests/update/utils.go:470
↓ 5 callersFunctionvalidateQueueExistsAndIsOpen
validateQueueExistsAndIsOpen verifies that the resolved Volcano queue exists in the cluster and that its status is Open before admitting the workload.
operator/internal/scheduler/volcano/queue.go:124
↓ 5 callersFunctionverifyComputeDomainContent
verifyComputeDomainContent verifies that a ComputeDomain exists with correct metadata and spec.
operator/e2e/tests/auto-mnnvl/supported_and_enabled_test.go:376
↓ 5 callersFunctionverifyPodCliqueStartupOrder
verifyPodCliqueStartupOrder combines pod fetching, filtering, count verification, and startup order verification.
operator/e2e/tests/startup_ordering_test.go:435
↓ 4 callersFunctionAddEnvVarsToContainers
AddEnvVarsToContainers adds the given environment variables to the Pod containers.
operator/internal/controller/common/component/utils/pod.go:115
← previousnext →201–300 of 2,929, ranked by callers