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
↓ 4 callers
Method
AllTopologyAware
AllTopologyAware returns the subset of registered backends that implement TopologyAwareBackend, keyed by name.
operator/internal/scheduler/types.go:115
↓ 4 callers
Method
AllTopologyAware
AllTopologyAware returns the subset of registered backends that implement TopologyAwareBackend, keyed by name.
operator/internal/scheduler/registry/registry.go:87
↓ 4 callers
Method
ApplyYAMLData
ApplyYAMLData applies YAML data to Kubernetes.
operator/e2e/k8s/resources/resources.go:72
↓ 4 callers
Method
Close
()
operator/internal/utils/ioutil/ioutil_test.go:122
↓ 4 callers
Function
CountPodsByPhase
CountPodsByPhase counts pods by their phase and returns a PodPhaseCount.
operator/e2e/k8s/pods/pods.go:181
↓ 4 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastError.
operator/api/core/v1alpha1/zz_generated.deepcopy.go:197
↓ 4 callers
Method
Delete
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 callers
Method
DeletePCS
DeletePCS deletes a PodCliqueSet by name. NotFound errors are ignored.
operator/e2e/grove/workload/workload.go:91
↓ 4 callers
Method
Do
(req *http.Request)
operator/e2e/utils/pprof/pprof.go:71
↓ 4 callers
Method
ExpectCreations
ExpectCreations records resource creation expectations for uids for a controlled resource identified by a controlleeKey.
operator/internal/expect/expectations.go:74
↓ 4 callers
Function
FindPCSGConfigByName
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 callers
Function
GetAvailableIndices
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 callers
Method
GetClient
GetClient returns the unified K8s client struct
operator/e2e/setup/shared_cluster.go:515
↓ 4 callers
Method
GetDefault
()
operator/internal/scheduler/registry/registry.go:68
↓ 4 callers
Method
GetDescription
GetDescription returns the description from the reconcile step.
operator/internal/controller/common/flow.go:63
↓ 4 callers
Method
GetExistingResourceNames
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 callers
Method
GetLogger
GetLogger returns the logger registered with the fake manager
operator/test/utils/manager.go:42
↓ 4 callers
Method
GetOrDefault
(name string)
operator/internal/scheduler/registry/registry.go:72
↓ 4 callers
Function
GetPCLQPods
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 callers
Function
GetPodGang
GetPodGang fetches a PodGang by name and namespace.
operator/internal/controller/common/component/utils/podgang.go:40
↓ 4 callers
Method
Grove
()
operator/client/informers/externalversions/factory.go:261
↓ 4 callers
Method
HasAnyPackDomain
HasAnyPackDomain reports whether the constraint has any required or preferred pack domain.
operator/api/core/v1alpha1/podcliqueset.go:314
↓ 4 callers
Method
HasErrors
HasErrors returns true if any tasks encountered errors.
operator/internal/utils/concurrent.go:51
↓ 4 callers
Function
NewSetBy
NewSetBy converts a slice into a set using keyFunc to derive the key.
operator/internal/controller/common/component/utils/sets.go:32
↓ 4 callers
Function
RCName
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 callers
Method
RESTClient
()
operator/client/clientset/versioned/typed/core/v1alpha1/core_client.go:30
↓ 4 callers
Method
RecordErrors
RecordErrors records errors encountered during a reconcile run.
operator/internal/controller/common/reconcileerrorrecorder.go:40
↓ 4 callers
Function
Register
Register registers the webhooks with the controller manager.
operator/internal/webhook/register.go:37
↓ 4 callers
Method
SchedulerV1alpha1
()
scheduler/client/clientset/versioned/clientset.go:33
↓ 4 callers
Method
Setup
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 callers
Function
ShortCircuitReconcileFlow
ShortCircuitReconcileFlow returns true if the reconcile flow should be short-circuited and not continue.
operator/internal/controller/common/flow.go:114
↓ 4 callers
Function
ValidatePCSOnCreate
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 callers
Method
ValidatePodCliqueSet
ValidatePodCliqueSet runs scheduler-specific validations on the PodCliqueSet (e.g. TAS required but not supported).
operator/internal/scheduler/types.go:54
↓ 4 callers
Method
VerifyPCSGReplicasInTopologyDomain
VerifyPCSGReplicasInTopologyDomain verifies that each PCSG replica's pods are in the same topology domain.
operator/e2e/grove/topology/topology.go:181
↓ 4 callers
Method
WaitForCacheSync
WaitForCacheSync blocks until all started informers' caches were synced or the stop channel gets closed.
operator/client/informers/externalversions/factory.go:249
↓ 4 callers
Method
WaitForCount
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 callers
Function
availableUnknownCondition
()
operator/internal/utils/kubernetes/conditions_test.go:343
↓ 4 callers
Function
best_effort_git
(args: list[str], cwd: Path | None = None)
operator/hack/scale-history.py:425
↓ 4 callers
Method
buildResource
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 callers
Function
castToPodCliqueSet
castToPodCliqueSet attempts to cast a runtime.Object to a PodCliqueSet.
operator/internal/webhook/admission/pcs/validation/handler.go:151
↓ 4 callers
Function
cell
(text)
operator/hack/scale-dashboard/app.js:642
↓ 4 callers
Function
collect_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 callers
Function
containerHasGPU
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 callers
Method
createDeleteTasks
createDeleteTasks creates deletion tasks for PodCliques belonging to specific PCSG replica indices
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:182
↓ 4 callers
Function
createPlaceholderSecretIfNotExists
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 callers
Method
decode
(logger logr.Logger, req admission.Request)
operator/internal/webhook/admission/pcs/authorization/decoder.go:73
↓ 4 callers
Function
drainEvents
-- Helpers -- drainEvents reads all available events from the channel without blocking.
operator/internal/controller/clustertopology/reconciler_test.go:100
↓ 4 callers
Function
drawEmpty
(svg, message)
operator/hack/scale-dashboard/app.js:517
↓ 4 callers
Function
emptyPodClique
emptyPodClique creates a new empty PodClique resource with basic metadata
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:500
↓ 4 callers
Function
fakeBinaryProfile
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 callers
Function
getComputeDomain
--- 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 callers
Function
getOperatorNamespaceFromFile
getOperatorNamespaceFromFile reads the operator's namespace from the specified file path. This is extracted for testability.
operator/internal/controller/cert/cert.go:196
↓ 4 callers
Function
getPodsForClique
getPodsForClique returns the names of all pods belonging to the specified clique.
operator/e2e/tests/update/utils.go:118
↓ 4 callers
Function
getReadyConditionTransitionTime
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 callers
Function
groupPCLQsByLabel
groupPCLQsByLabel groups PodCliques by the value of the specified label key
operator/internal/controller/common/component/utils/podclique.go:132
↓ 4 callers
Function
log_error
(msg: str)
operator/hack/e2e-autoMNNVL/run_autoMNNVL_e2e_all.py:77
↓ 4 callers
Function
log_header
(msg: str)
operator/hack/e2e-autoMNNVL/run_autoMNNVL_e2e_all.py:81
↓ 4 callers
Function
newUpdateTracker
newUpdateTracker creates a new update tracker
operator/e2e/tests/update/tracker.go:49
↓ 4 callers
Method
notifyIfAllParentsReady
notifyIfAllParentsReady will notify consumers if all PCLQ pods are ready.
operator/initc/internal/wait.go:265
↓ 4 callers
Function
pcsgName
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 callers
Function
pcsgScaleOutPodRefs
pcsgScaleOutPodRefs: 4 pods (sga=3).
operator/e2e/tests/resource_sharing_test.go:234
↓ 4 callers
Function
phaseByName
(run, name)
operator/hack/scale-dashboard/app.js:467
↓ 4 callers
Function
phaseLabel
(name)
operator/hack/scale-dashboard/app.js:679
↓ 4 callers
Function
readyUnknownCondition
()
operator/internal/utils/kubernetes/conditions_test.go:331
↓ 4 callers
Method
reconcileStatus
reconcileStatus updates the PodCliqueScalingGroup status with current replica counts and conditions
operator/internal/controller/podcliquescalinggroup/reconcilestatus.go:45
↓ 4 callers
Method
recordError
recordError adds an error to the sync flow result
operator/internal/controller/podclique/components/pod/syncflow.go:475
↓ 4 callers
Method
refreshReadyPodsOfPodClique
refreshReadyPodsOfPodClique updates the ready pod count for the PodClique that owns the given pod.
operator/initc/internal/wait.go:237
↓ 4 callers
Function
requireClusterConfig
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 callers
Function
rollbackNodeLabels
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 callers
Function
runScaleTest
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 callers
Function
showTooltip
(event, rows)
operator/hack/scale-dashboard/app.js:605
↓ 4 callers
Method
skipUnless
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 callers
Method
start
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 callers
Function
tooltipRows
(run, rows)
operator/hack/scale-dashboard/app.js:624
↓ 4 callers
Method
triggerDeletionOfPodCliques
triggerDeletionOfPodCliques executes concurrent deletion tasks for PodCliques and handles any resulting errors
operator/internal/controller/podcliquescalinggroup/components/podclique/podclique.go:166
↓ 4 callers
Function
truncateString
(s string, maxLen int)
operator/e2e/diagnostics/collector.go:404
↓ 4 callers
Function
validateConcurrentSyncs
(concurrentSyncs *int, fldPath *field.Path)
operator/api/config/validation/validation.go:148
↓ 4 callers
Method
validatePodCliqueSetWithBackend
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 callers
Method
validateResourceSharingSpecs
validateResourceSharingSpecs validates the common fields (Name, Namespace, Scope) across all levels.
operator/internal/webhook/admission/pcs/validation/podcliqueset.go:206
↓ 4 callers
Function
verifySinglePCSReplicaUpdatedFirst
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 callers
Function
waitForOnDeleteUpdateCompleteWithTimeout
(tc *testctx.TestContext, timeout time.Duration)
operator/e2e/tests/update/utils.go:1242
↓ 4 callers
Function
yScale
(value)
operator/hack/scale-dashboard/app.js:196
↓ 3 callers
Method
AddDependencies
AddDependencies adds all the `to` PodCliques that depend on the `from` PodClique.
operator/internal/webhook/admission/pcs/validation/podcliquedeps.go:36
↓ 3 callers
Function
BuildSchedulerReferenceMap
BuildSchedulerReferenceMap builds a map from scheduler name to SchedulerTopologyReference pointer.
operator/internal/clustertopology/clustertopology.go:67
↓ 3 callers
Function
CleanupStalePerReplicaRCs
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 callers
Function
CreateOperatorRegistry
CreateOperatorRegistry initializes the operator registry for the PodCliqueSet reconciler
operator/internal/controller/podcliqueset/components/registry.go:42
↓ 3 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodCliqueScalingGroup.
operator/api/core/v1alpha1/zz_generated.deepcopy.go:386
↓ 3 callers
Method
DeleteExpectations
DeleteExpectations removes all expectations stored against a controlleeKey from the store.
operator/internal/expect/expectations.go:89
↓ 3 callers
Function
DeleteResourceClaim
DeleteResourceClaim deletes a ResourceClaim by name. NotFound errors are ignored.
operator/internal/resourceclaim/reconcile.go:124
↓ 3 callers
Function
EnsureResourceClaim
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 callers
Function
GenerateBasePodGangName
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 callers
Method
GetBase
()
operator/internal/resourceclaim/reconcile.go:43
↓ 3 callers
Function
GetConditionStatus
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 callers
Function
GetContainerStatusIfTerminatedErroneously
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 callers
Method
GetKAIPodGroupsForPCS
GetKAIPodGroupsForPCS retrieves all KAI PodGroups for a given PodCliqueSet by label selector.
operator/e2e/grove/podgroup/podgroup.go:133
↓ 3 callers
Method
GetLogs
GetLogs returns a log stream request for a pod container.
operator/e2e/k8s/k8sclient/client.go:104
↓ 3 callers
Method
GetOrDefault
GetOrDefault returns the backend registered under name, or the default backend if name is empty.
operator/internal/scheduler/types.go:109
↓ 3 callers
Function
IsEmptyStringType
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 callers
Function
IsManagedByGrove
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 callers
Function
IsResourceTerminating
IsResourceTerminating checks if a deletion timestamp is set. If it is set it returns true else false.
operator/internal/utils/kubernetes/objectmeta.go:62
← previous
next →
301–400 of 2,929, ranked by callers