Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ai-dynamo/grove
/ functions
Functions
2,929 in github.com/ai-dynamo/grove
⨍
Functions
2,929
◇
Types & classes
420
↳
Endpoints
1
↓ 6 callers
Function
OnlyOneIsNil
OnlyOneIsNil returns true if only one of the Objects is nil else it will return false.
operator/internal/utils/miscellaneous.go:27
↓ 6 callers
Method
PreparePod
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 callers
Function
ResolveTemplateSpec
ResolveTemplateSpec resolves a ResourceSharingSpec to its ResourceClaimTemplateSpec. Resolution order: internal PCS-level resourceClaimTemplates first
operator/internal/resourceclaim/resolve.go:31
↓ 6 callers
Method
ScalePCSG
ScalePCSG scales a PodCliqueScalingGroup to the specified replica count.
operator/e2e/testctx/context.go:283
↓ 6 callers
Method
Start
(stopCh <-chan struct{})
operator/client/informers/externalversions/internalinterfaces/factory_interfaces.go:35
↓ 6 callers
Method
Sync
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 callers
Method
Sync
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 callers
Function
SynchronizeTopology
SynchronizeTopology synchronizes scheduler-specific topology resources at operator startup. Lists all existing ClusterTopologyBinding resources and en
operator/internal/clustertopology/clustertopology.go:33
↓ 6 callers
Method
VerifyPodsArePendingWithUnschedulableEvents
VerifyPodsArePendingWithUnschedulableEvents verifies that pods are pending with Unschedulable events.
operator/e2e/testctx/context.go:318
↓ 6 callers
Method
WaitForPodCountAndPhases
WaitForPodCountAndPhases waits for pods to reach specific total count and phase counts.
operator/e2e/testctx/context.go:215
↓ 6 callers
Method
WithPodSpec
WithPodSpec sets a custom PodSpec for the PodCliqueTemplateSpec.
operator/test/utils/pclqTemplate.go:124
↓ 6 callers
Function
WithPollInterval
WithPollInterval sets the milestone polling interval.
operator/e2e/measurement/measurement.go:119
↓ 6 callers
Function
buildHierarchyViolationMsg
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 callers
Function
createFakeManager
(cl client.Client)
operator/internal/webhook/admission/pcs/authorization/handler_test.go:541
↓ 6 callers
Function
createUnstructuredObject
(gvk schema.GroupVersionKind, namespace, name string)
operator/internal/webhook/admission/pcs/authorization/decoder_test.go:219
↓ 6 callers
Function
createValidPCSWithCliqueAnnotations
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 callers
Function
deletePodAndWaitForTermination
deletePodAndWaitForTermination deletes a pod and waits until it is fully terminated.
operator/e2e/tests/update/utils.go:97
↓ 6 callers
Method
getEvents
getEvents returns a copy of all recorded events
operator/e2e/tests/update/tracker.go:119
↓ 6 callers
Function
getPodCliqueSelectorLabels
getPodCliqueSelectorLabels returns labels for selecting all PodCliques of a PodCliqueSet.
operator/internal/controller/podcliqueset/components/podclique/podclique.go:379
↓ 6 callers
Function
getPodsByCliquePattern
Helper function to get pods by clique name pattern.
operator/e2e/tests/startup_ordering_test.go:504
↓ 6 callers
Function
hasEnvVar
Helper function to check if an env var exists in a slice
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique_test.go:783
↓ 6 callers
Function
hasHierarchyViolation
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 callers
Function
log_success
(msg: str)
operator/hack/e2e-cluster/config-cluster.py:70
↓ 6 callers
Function
markStandalonePCLQConverged
(t testing.TB, pcs *grovecorev1alpha1.PodCliqueSet, pclq *grovecorev1alpha1.PodClique, generationHash string)
operator/internal/controller/podcliqueset/reconcilestatus_test.go:896
↓ 6 callers
Function
newPCLQ
newPCLQ returns a PCLQ object with the standard labels expected by the component.
operator/internal/controller/podclique/components/resourceclaim/resourceclaim_test.go:84
↓ 6 callers
Function
newPCS
(replicas int32, refs []grovecorev1alpha1.PCSResourceSharingSpec, templates []grovecorev1alpha1.ResourceClaimT
operator/internal/controller/podcliqueset/components/resourceclaim/resourceclaim_test.go:70
↓ 6 callers
Function
newSimpleCondition
Test helper functions
operator/internal/utils/kubernetes/conditions_test.go:315
↓ 6 callers
Function
newTestHandler
()
operator/internal/webhook/admission/clustertopology/validation/validation_test.go:32
↓ 6 callers
Function
resolvePodViaEndpoints
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 callers
Function
run
Run a shell command, streaming output unless *capture* is True.
operator/hack/e2e-cluster/config-cluster.py:89
↓ 6 callers
Function
to_bool
Convert various value types to boolean.
operator/hack/e2e-cluster/create-e2e-cluster.py:613
↓ 6 callers
Function
verifyPodState
verifyPodState waits for the expected pod count and verifies RC references in pod specs.
operator/e2e/tests/resource_sharing_test.go:490
↓ 6 callers
Function
withContainerStatus
(started *bool, ready bool)
operator/internal/controller/podclique/components/pod/rollingupdate_test.go:125
↓ 5 callers
Method
Build
Build creates a test client.Client with the configured reactions to errors.
operator/test/utils/client.go:189
↓ 5 callers
Method
CheckTopologyDrift
CheckTopologyDrift compares the scheduler-specific topology resource named by ref.TopologyReference against the ClusterTopologyBinding's levels. Retur
operator/internal/scheduler/types.go:88
↓ 5 callers
Method
ClusterTopologyBindings
ClusterTopologyBindings returns a ClusterTopologyBindingInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:28
↓ 5 callers
Function
ComputeHash
ComputeHash computes a hash given one or more corev1.PodTemplateSpec.
operator/internal/utils/kubernetes/pod.go:138
↓ 5 callers
Method
CreateClusterTopology
CreateClusterTopology creates a ClusterTopologyBinding CR with the given name and levels.
operator/e2e/grove/topology/topology.go:221
↓ 5 callers
Method
Export
(r *measurement.TrackerResult)
operator/e2e/measurement/exporter/exporter.go:31
↓ 5 callers
Function
FilterPodsByLabel
FilterPodsByLabel filters pods by a specific label key-value pair.
operator/e2e/grove/topology/topology.go:113
↓ 5 callers
Function
FindPCSGConfig
FindPCSGConfig finds the matching PodCliqueScalingGroupConfig for a given PCSG from the PCS template.
operator/internal/resourceclaim/reconcile.go:238
↓ 5 callers
Method
Get
(name string)
operator/internal/scheduler/registry/registry.go:64
↓ 5 callers
Method
GetCreateExpectations
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 callers
Method
GetDeleteExpectations
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 callers
Function
GetPodGangSelectorLabels
GetPodGangSelectorLabels creates the label selector to list all the PodGangs for a PodCliqueSet.
operator/internal/controller/common/component/utils/podgang.go:31
↓ 5 callers
Method
Informer
()
operator/client/informers/externalversions/generic.go:32
↓ 5 callers
Method
InformerFor
(obj runtime.Object, newFunc NewInformerFunc)
operator/client/informers/externalversions/internalinterfaces/factory_interfaces.go:36
↓ 5 callers
Method
Init
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 callers
Function
InjectResourceClaimRefs
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 callers
Method
Matches
Matches matches the errorType to the passed field.ErrorList
operator/test/utils/errormatcher.go:37
↓ 5 callers
Function
NewExpectationsStore
NewExpectationsStore creates a new expectations store.
operator/internal/expect/expectations.go:67
↓ 5 callers
Function
NewHandler
NewHandler creates a new handler for the auhtorizer webhook.
operator/internal/webhook/admission/pcs/authorization/handler.go:51
↓ 5 callers
Method
PodCliqueScalingGroups
PodCliqueScalingGroups returns a PodCliqueScalingGroupInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:32
↓ 5 callers
Method
PodCliqueSets
PodCliqueSets returns a PodCliqueSetInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:34
↓ 5 callers
Method
PodCliques
PodCliques returns a PodCliqueInformer.
operator/client/informers/externalversions/core/v1alpha1/interface.go:30
↓ 5 callers
Method
PodGangs
PodGangs returns a PodGangInformer.
scheduler/client/informers/externalversions/core/v1alpha1/interface.go:28
↓ 5 callers
Method
QueryPrefix
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 callers
Method
RecordErrorForObjectsMatchingLabels
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 callers
Method
ReferencedDomains
ReferencedDomains returns the unique required and preferred domains referenced by the constraint.
operator/api/core/v1alpha1/podcliqueset.go:338
↓ 5 callers
Method
RegisterWithManager
RegisterWithManager registers the backend controller with the manager
operator/internal/controller/podgang/register.go:31
↓ 5 callers
Method
RegisterWithManager
RegisterWithManager registers the webhook with the manager.
operator/internal/webhook/admission/pcs/validation/register.go:33
↓ 5 callers
Function
RemoveAndPatchFinalizer
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 callers
Function
ResourceClaimLabels
ResourceClaimLabels returns the standard Grove labels for a ResourceClaim owned by a PCS.
operator/internal/resourceclaim/reconcile.go:174
↓ 5 callers
Method
SyncPodGang
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 callers
Method
UncordonNode
UncordonNode marks a node as schedulable.
operator/e2e/testctx/context.go:248
↓ 5 callers
Method
V1alpha1
V1alpha1 provides access to shared informers for resources in V1alpha1.
operator/client/informers/externalversions/core/interface.go:29
↓ 5 callers
Method
WaitForKAITopology
WaitForKAITopology polls until the KAI Topology exists with the expected level keys and owner reference.
operator/e2e/grove/topology/topology.go:299
↓ 5 callers
Method
WaitForPCSCondition
WaitForPCSCondition polls until the PodCliqueSet has a condition matching the expected type, status, and reason.
operator/e2e/grove/topology/topology.go:363
↓ 5 callers
Method
WaitForPodConditions
WaitForPodConditions polls until the expected pod state is reached.
operator/e2e/testctx/context.go:393
↓ 5 callers
Method
Write
(p []byte)
operator/e2e/log/logger.go:158
↓ 5 callers
Function
addEnvironmentVariables
addEnvironmentVariables adds Grove-specific environment variables to all containers and init-containers.
operator/internal/controller/podclique/components/pod/pod.go:331
↓ 5 callers
Function
addText
(parent, x, y, text, className, anchor)
operator/hack/scale-dashboard/app.js:658
↓ 5 callers
Function
buildFakeClient
buildFakeClient creates a fake client with apiextensionsv1 scheme registered.
operator/internal/crdinstaller/installer_test.go:38
↓ 5 callers
Function
createTestCDs
createTestCDs creates a slice of test ComputeDomains with proper labels and finalizers.
operator/internal/mnnvl/computedomain/computedomain_test.go:775
↓ 5 callers
Function
createTestClient
createTestClient creates a test client with testScheme that supports ComputeDomain operations.
operator/internal/mnnvl/computedomain/computedomain_test.go:747
↓ 5 callers
Function
createTestClusterTopology
createTestClusterTopology creates a ClusterTopologyBinding with the given name and topology levels.
operator/internal/clustertopology/clustertopology_test.go:308
↓ 5 callers
Function
createTopologyPackConstraint
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 callers
Function
dep_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 callers
Function
extractIndexFromHostname
extractIndexFromHostname extracts the numeric index from a pod hostname.
operator/internal/index/tracker.go:86
↓ 5 callers
Function
extractUsedIndices
extractUsedIndices extracts and validates indices from existing pods.
operator/internal/index/tracker.go:46
↓ 5 callers
Function
findAvailableIndices
findAvailableIndices finds the next count available indices starting from 0.
operator/internal/index/tracker.go:72
↓ 5 callers
Function
getFirstPodForClique
getFirstPodForClique returns the name of the first pod belonging to the specified clique.
operator/e2e/tests/update/utils.go:140
↓ 5 callers
Method
getRecordedObjectError
---------------------------------- Helper methods ----------------------------------
operator/test/utils/client.go:304
↓ 5 callers
Function
initializeControlleeExpectations
(expStore *ExpectationsStore, controlleeKey string, uidsToAdd, uidsToDelete []types.UID)
operator/internal/expect/expectations_test.go:236
↓ 5 callers
Method
isExistingPodGang
(podGangName string)
operator/internal/controller/podcliqueset/components/podgang/syncflow.go:671
↓ 5 callers
Function
makePCSWithTopology
makePCSWithTopology creates a minimal PCS with an optional topology constraint.
operator/internal/controller/podcliqueset/components/podgang/syncflow_test.go:1798
↓ 5 callers
Method
mapBackendTopologyToCT
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 callers
Function
newKAIBackendMap
(t *testing.T, cl client.Client)
operator/internal/clustertopology/clustertopology_test.go:299
↓ 5 callers
Function
newRC
(name string, labels map[string]string)
operator/internal/controller/podcliqueset/components/resourceclaim/resourceclaim_test.go:86
↓ 5 callers
Function
pcsgScaleOutRCNames
pcsgScaleOutRCNames: sga 1→3. Total: 14 RCs.
operator/e2e/tests/resource_sharing_test.go:117
↓ 5 callers
Function
readyFalseCondition
()
operator/internal/utils/kubernetes/conditions_test.go:327
↓ 5 callers
Function
readyTrueCondition
Common condition builders
operator/internal/utils/kubernetes/conditions_test.go:323
↓ 5 callers
Function
run_or_warn
Run a command and log a warning if it fails (instead of raising).
operator/hack/e2e-cluster/config-cluster.py:105
↓ 5 callers
Function
scalePCS
scalePCS scales a PCS to the specified number of replicas
operator/e2e/tests/auto-mnnvl/testutils.go:263
↓ 5 callers
Function
setSchedulerTopologyDriftCondition
setSchedulerTopologyDriftCondition sets the SchedulerTopologyDrift condition on the ClusterTopologyBinding based on the aggregated scheduler topology
operator/internal/controller/clustertopology/reconciler.go:150
↓ 5 callers
Function
triggerRollingUpdate
============================================================================ RollingRecreate strategy utilities ======================================
operator/e2e/tests/update/utils.go:470
↓ 5 callers
Function
validateQueueExistsAndIsOpen
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 callers
Function
verifyComputeDomainContent
verifyComputeDomainContent verifies that a ComputeDomain exists with correct metadata and spec.
operator/e2e/tests/auto-mnnvl/supported_and_enabled_test.go:376
↓ 5 callers
Function
verifyPodCliqueStartupOrder
verifyPodCliqueStartupOrder combines pod fetching, filtering, count verification, and startup order verification.
operator/e2e/tests/startup_ordering_test.go:435
↓ 4 callers
Function
AddEnvVarsToContainers
AddEnvVarsToContainers adds the given environment variables to the Pod containers.
operator/internal/controller/common/component/utils/pod.go:115
← previous
next →
201–300 of 2,929, ranked by callers