MCPcopy Create free account

hub / github.com/akash-network/provider / functions

Functions2,992 in github.com/akash-network/provider

FunctionTestShouldInject_MissingLabel
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:75
FunctionTestShouldInject_NoRuntimeClass
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:52
FunctionTestShouldInject_NonCCPod
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:40
FunctionTestShouldInject_TDXCPUOnly
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:100
FunctionTestShouldInject_TDXWithGPU
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:112
FunctionTestSidecarResourceSubtraction
(t *testing.T)
cluster/kube/builder/deployment_test.go:139
FunctionTestSortablePodsAlreadySorted
(t *testing.T)
cluster/kube/client_exec_test.go:50
FunctionTestSortablePodsSorting
(t *testing.T)
cluster/kube/client_exec_test.go:36
FunctionTestStateManager_IsApplied
(t *testing.T)
migrations/state_test.go:136
FunctionTestStateManager_Load_ExistingFile
(t *testing.T)
migrations/state_test.go:27
FunctionTestStateManager_Load_InvalidJSON
(t *testing.T)
migrations/state_test.go:60
FunctionTestStateManager_Load_NonExistentFile
(t *testing.T)
migrations/state_test.go:14
FunctionTestStateManager_MarkApplied
(t *testing.T)
migrations/state_test.go:172
FunctionTestStateManager_MarkApplied_Idempotent
(t *testing.T)
migrations/state_test.go:214
FunctionTestStateManager_Save
(t *testing.T)
migrations/state_test.go:84
FunctionTestStateManager_Save_CreatesDirectory
(t *testing.T)
migrations/state_test.go:116
FunctionTestStatusCodeFrom
(t *testing.T)
utils/httperror/httperror_test.go:11
FunctionTestStatusCodeFrom
(t *testing.T)
gateway/rest/router_test.go:732
FunctionTestStorage_AccountOperations
(t *testing.T)
tools/pconfig/bbolt_test.go:77
FunctionTestStorage_CertificateOperations
(t *testing.T)
tools/pconfig/bbolt_test.go:121
FunctionTestStorage_ConcurrentOperations
(t *testing.T)
tools/pconfig/bbolt_test.go:219
FunctionTestSubPodAllocatedResourcesLogsAndKeepsNegative
(t *testing.T)
operator/inventory/node-discovery_test.go:76
FunctionTestSubStorageAllocatedResourceLogsAndKeepsNegative
(t *testing.T)
operator/inventory/diagnostics_test.go:13
FunctionTestTryAdjustInterconnect_FabricPinMatchOK
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:75
FunctionTestTryAdjustInterconnect_FabricPinMismatchRejected
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:61
FunctionTestTryAdjustInterconnect_InsufficientCapacity
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:113
FunctionTestTryAdjustInterconnect_NoFabricPinAccepts
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:99
FunctionTestTryAdjustInterconnect_NoOptIn
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:37
FunctionTestTryAdjustInterconnect_NodeAdvertisesFabricButNoResourceName
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:129
FunctionTestTryAdjustInterconnect_NodeWithoutInterconnectRejected
(t *testing.T)
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:50
FunctionTestTryAdjustInterconnect_RequiredHonoredWithoutAttributes
TestTryAdjustInterconnect_RequiredHonoredWithoutAttributes covers the count > 1 case: tryAdjustGPU clobbered res.GPU.Attributes on a prior iteration,
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:150
FunctionTestUnwrappingRPCJSONError
(t *testing.T)
cmd/provider-services/cmd/helpers_test.go:16
FunctionTestUnwrappingURLError
(t *testing.T)
cmd/provider-services/cmd/helpers_test.go:31
FunctionTestUpdateNodeInfo_ClearsStaleInterconnectWhenResourceGone
CodeRabbit follow-up (PR #400 review 2026-06-15): updateNodeInfo must clear stale interconnect fields when the kubelet no longer publishes the matchin
operator/inventory/interconnect_resource_match_test.go:110
FunctionTestValidateProxyBufferSize
(t *testing.T)
cmd/provider-services/cmd/flags/flags_test.go:5
FunctionTestValidateRequestWrapsManifestError
import ( "context" "testing" "time" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/re
manifest/manager_test.go:441
FunctionTestVersionLessThan
(t *testing.T)
migrations/registry_test.go:564
FunctionTestWaiterContextCancelled
(t *testing.T)
operator/waiter/waiter_test.go:36
FunctionTestWaiterInputFailed
(t *testing.T)
operator/waiter/waiter_test.go:58
FunctionTestWaiterInputReady
(t *testing.T)
operator/waiter/waiter_test.go:47
FunctionTestWaiterNoInput
(t *testing.T)
operator/waiter/waiter_test.go:26
FunctionTestWatchdogBroadcastTimeout
(t *testing.T)
manifest/watchdog_test.go:194
FunctionTestWatchdogCloseBidIgnoresParentCancelOnceStarted
(t *testing.T)
manifest/watchdog_test.go:162
FunctionTestWatchdogStops
(t *testing.T)
manifest/watchdog_test.go:117
FunctionTestWatchdogStopsOnParent
(t *testing.T)
manifest/watchdog_test.go:140
FunctionTestWatchdogTimeout
(t *testing.T)
manifest/watchdog_test.go:93
FunctionTestWebsocketCloseCodeFrom
(t *testing.T)
gateway/rest/router_test.go:714
FunctionTestWorkloadAttachesRoCENetworks
RoCE-pinned services get the configured rail networks attached via the multus annotation — RoCEv2 QP setup resolves the remote rail IP through the pod
cluster/kube/builder/interconnect_test.go:156
FunctionTestWorkloadInjectsinterconnectResourceAndNCCLEnv
(t *testing.T)
cluster/kube/builder/interconnect_test.go:57
FunctionTestWorkloadInterconnectGroupAddsLabelAndAntiAffinity
(t *testing.T)
cluster/kube/builder/interconnect_test.go:221
FunctionTestWorkloadJoinsMultipleHCAPrefixes
AKT-492: mixed-vendor hosts publish every distinct HCA family. The workload builder joins them with commas — NCCL accepts that natively for NCCL_IB_HC
cluster/kube/builder/interconnect_test.go:97
FunctionTestWorkloadNoInterconnectGroupNoAntiAffinity
(t *testing.T)
cluster/kube/builder/interconnect_test.go:238
FunctionTestWorkloadNoNetworkAnnotationOnInfiniBand
InfiniBand is LID-addressed — no rail attachment even when networks are configured.
cluster/kube/builder/interconnect_test.go:169
FunctionTestWorkloadNoNetworkAnnotationWhenUnconfigured
RoCE with no networks configured: no annotation (nothing to attach).
cluster/kube/builder/interconnect_test.go:182
FunctionTestWorkloadNoNetworkAnnotationWithoutInterconnect
Non-interconnect services never get the annotation regardless of provider config.
cluster/kube/builder/interconnect_test.go:195
FunctionTestWorkloadNointerconnectNoEnvNoResource
(t *testing.T)
cluster/kube/builder/interconnect_test.go:206
FunctionTestWorkloadOmitsGIDIndexOnInfiniBand
(t *testing.T)
cluster/kube/builder/interconnect_test.go:125
FunctionTestWorkloadOmitsGIDIndexOnRoCE
NCCL_IB_GID_INDEX is never injected — on RoCE the pod's rail netdevs (multus-attached, see podAnnotations) register RoCEv2 GIDs at a pod-specific inde
cluster/kube/builder/interconnect_test.go:113
FunctionTestWorkloadPermissions_GetByType
(t *testing.T)
cluster/kube/builder/permissions_test.go:64
FunctionTestWorkloadPermissions_HasAny
(t *testing.T)
cluster/kube/builder/permissions_test.go:10
FunctionTestWorkloadPermissions_HasRead
(t *testing.T)
cluster/kube/builder/permissions_test.go:43
FunctionTestWorkloadRespectsSDLGIDIndexOnRoCE
A tenant who sets NCCL_IB_GID_INDEX in SDL env keeps it — the builder passes service.env through untouched.
cluster/kube/builder/interconnect_test.go:139
FunctionTestWorkloadRespectsSDLNCCLOverride
(t *testing.T)
cluster/kube/builder/interconnect_test.go:77
FunctionTestWorkloadRevisionDoesNotChangePodTemplate
(t *testing.T)
cluster/kube/builder/workload_revision_test.go:11
FunctionTestWriteRead
(t *testing.T)
pkg/apis/akash.network/v2beta2/k8s_integration_test.go:29
FunctionTest_BidOrderAndThenClosedUnreserve
(t *testing.T)
bidengine/order_test.go:343
FunctionTest_BidOrderAndThenLeaseCreated
(t *testing.T)
bidengine/order_test.go:402
FunctionTest_BidOrderAndThenLeaseCreatedForDifferentDeployment
(t *testing.T)
bidengine/order_test.go:440
FunctionTest_BidOrderAndUnreserve
(t *testing.T)
bidengine/order_test.go:254
FunctionTest_BidOrderAndUnreserveOnTimeout
(t *testing.T)
bidengine/order_test.go:280
FunctionTest_BidOrderFailsAndAborts
(t *testing.T)
bidengine/order_test.go:687
FunctionTest_BidOrderPriceTooHigh
(t *testing.T)
bidengine/order_test.go:319
FunctionTest_BidOrderUsesBidPricingStrategy
(t *testing.T)
bidengine/order_test.go:656
FunctionTest_Manifest_Deployment_recovers_reservation_cluster_params
Recovered deployments must carry ReservationClusterSettings (keyed by resource ID), matching what inventory.Adjust() produces for live reservations. R
pkg/apis/akash.network/v2beta2/types_test.go:37
FunctionTest_Manifest_encoding
(t *testing.T)
pkg/apis/akash.network/v2beta2/types_test.go:14
FunctionTest_OrderCloseBeforeReserveReturn
(t *testing.T)
bidengine/order_test.go:364
FunctionTest_ReservationCounterIncrements
Test_ReservationCounterIncrements guards that the reservation metrics are actually recorded. The success/fail counters were calling WithLabelValues wi
bidengine/order_metrics_test.go:20
FunctionTest_ScalePricingAcceptsOneForASingleScale
(t *testing.T)
bidengine/pricing_test.go:42
FunctionTest_ScalePricingByCountOfResources
(t *testing.T)
bidengine/pricing_test.go:266
FunctionTest_ScalePricingFailsOnOverflow
(t *testing.T)
bidengine/pricing_test.go:128
FunctionTest_ScalePricingForIPs
(t *testing.T)
bidengine/pricing_test.go:295
FunctionTest_ScalePricingOnCpu
(t *testing.T)
bidengine/pricing_test.go:148
FunctionTest_ScalePricingOnMemory
(t *testing.T)
bidengine/pricing_test.go:172
FunctionTest_ScalePricingOnMemoryLessThanOne
(t *testing.T)
bidengine/pricing_test.go:195
FunctionTest_ScalePricingOnStorage
(t *testing.T)
bidengine/pricing_test.go:243
FunctionTest_ScalePricingRejectsAllZero
(t *testing.T)
bidengine/pricing_test.go:36
FunctionTest_ScriptPricingDoesNotExhaustSemaphore
(t *testing.T)
bidengine/pricing_test.go:550
FunctionTest_ScriptPricingFailsWhenScriptDoesNotExist
(t *testing.T)
bidengine/pricing_test.go:360
FunctionTest_ScriptPricingFailsWhenScriptExitsNonZero
(t *testing.T)
bidengine/pricing_test.go:375
FunctionTest_ScriptPricingFailsWhenScriptExitsWithoutWritingResultToStdout
(t *testing.T)
bidengine/pricing_test.go:399
FunctionTest_ScriptPricingFailsWhenScriptWritesNegativeResult
(t *testing.T)
bidengine/pricing_test.go:447
FunctionTest_ScriptPricingFailsWhenScriptWritesOverflowResult
(t *testing.T)
bidengine/pricing_test.go:498
FunctionTest_ScriptPricingFailsWhenScriptWritesZeroResult
(t *testing.T)
bidengine/pricing_test.go:423
FunctionTest_ScriptPricingFromScript
(t *testing.T)
bidengine/pricing_test.go:685
FunctionTest_ScriptPricingRejectsEmptyStringForPath
(t *testing.T)
bidengine/pricing_test.go:339
FunctionTest_ScriptPricingRejectsProcessLimitOfZero
(t *testing.T)
bidengine/pricing_test.go:346
FunctionTest_ScriptPricingRejectsTimeoutOfZero
(t *testing.T)
bidengine/pricing_test.go:353
FunctionTest_ScriptPricingReturnsResultFromScript
(t *testing.T)
bidengine/pricing_test.go:523
FunctionTest_ScriptPricingStopsByContext
(t *testing.T)
bidengine/pricing_test.go:578
FunctionTest_ScriptPricingStopsByTimeout
(t *testing.T)
bidengine/pricing_test.go:604
← previousnext →2,601–2,700 of 2,992, ranked by callers