MCPcopy Create free account

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

Functions3,441 in github.com/akash-network/provider

FunctionTestShouldInject_AlreadyInjected
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:85
FunctionTestShouldInject_AttestationDisabled
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:62
FunctionTestShouldInject_CCPodCPUOnly
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:28
FunctionTestShouldInject_CCPodWithGPU
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:16
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
FunctionTestSingleModuleKey
(t *testing.T)
tools/logging/logger_test.go:113
FunctionTestSortablePodsAlreadySorted
(t *testing.T)
cluster/kube/client_exec_test.go:50
FunctionTestSortablePodsSorting
(t *testing.T)
cluster/kube/client_exec_test.go:36
FunctionTestStartDeploymentManagersReconcilesInBackground
Startup resumes the deployments found in the cluster without waiting for the chain: the lease reconciliation runs in the background.
cluster/service_reconcile_test.go:308
FunctionTestStartupReservationForNoTenantDeniesEveryTenant
The kube client reserves the hostname of a ProviderHost whose owner cannot be recovered for the all-zero address (AllHostnames). The service must star
cluster/hostname_test.go:137
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:18
FunctionTestSubStorageAllocatedResourceLogsAndKeepsNegative
(t *testing.T)
operator/inventory/diagnostics_test.go:14
FunctionTestTeardownLeaseLogsLeaseID
(t *testing.T)
cluster/kube/client_log_test.go:60
FunctionTestTeardownLeaseReportsBothDeletionFailures
(t *testing.T)
cluster/kube/client_teardown_test.go:46
FunctionTestTeardownLeaseRetriesManifestDeletion
(t *testing.T)
cluster/kube/client_teardown_test.go:22
FunctionTestTimestampFormats
(t *testing.T)
tools/logging/logger_test.go:84
FunctionTestTraceStack
(t *testing.T)
tools/logging/logger_test.go:181
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
FunctionTestTypedNilError
(t *testing.T)
tools/logging/logger_test.go:209
FunctionTestUnwrappingRPCJSONError
(t *testing.T)
cmd/provider-services/cmd/helpers_test.go:31
FunctionTestUnwrappingURLError
(t *testing.T)
cmd/provider-services/cmd/helpers_test.go:46
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
FunctionTestValidateProxyBufferLimits
(t *testing.T)
manifest/proxy_limits_test.go:24
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:466
FunctionTestValidateWithdrawalPeriod
A withdrawal period of 0 turns withdrawals off. A negative one is a mistake, not another way to turn them off, and a period shorter than the funds che
cmd/provider-services/cmd/helpers_test.go:146
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
FunctionTestWatchEventsFailsWhenEventServiceStops
A provider without chain events would keep bidding and serving leases blind, so the event service stopping on its own stops the provider, with the rea
cmd/provider-services/cmd/chain_events_test.go:31
FunctionTestWatchEventsIgnoresShutdown
The event service stopping because the provider is shutting down is not a failure.
cmd/provider-services/cmd/chain_events_test.go:41
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_BidCloseLogsBidID
(t *testing.T)
bidengine/order_test.go:598
FunctionTest_BidInUnexpectedStateLogsBidID
(t *testing.T)
bidengine/order_test.go:576
FunctionTest_BidOrderAndThenClosedUnreserve
(t *testing.T)
bidengine/order_test.go:360
FunctionTest_BidOrderAndThenLeaseCreated
(t *testing.T)
bidengine/order_test.go:419
FunctionTest_BidOrderAndThenLeaseCreatedForDifferentDeployment
(t *testing.T)
bidengine/order_test.go:457
FunctionTest_BidOrderAndUnreserve
(t *testing.T)
bidengine/order_test.go:271
FunctionTest_BidOrderAndUnreserveOnTimeout
(t *testing.T)
bidengine/order_test.go:297
FunctionTest_BidOrderFailsAndAborts
(t *testing.T)
bidengine/order_test.go:753
FunctionTest_BidOrderPriceTooHigh
(t *testing.T)
bidengine/order_test.go:336
FunctionTest_BidOrderPricingFailureLogsUnderlyingError
(t *testing.T)
bidengine/order_test.go:776
FunctionTest_BidOrderUsesBidPricingStrategy
(t *testing.T)
bidengine/order_test.go:722
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:70
FunctionTest_Manifest_encoding
(t *testing.T)
pkg/apis/akash.network/v2beta2/types_test.go:47
FunctionTest_NewService_RequiresPersistentConfig
The catch-up resumes from the pagination key it persists, so the service must not start without the persistent config. The check precedes any use of t
bidengine/service_test.go:575
FunctionTest_OrderCloseBeforeReserveReturn
(t *testing.T)
bidengine/order_test.go:381
FunctionTest_OrdersFetcher_DiscardsRejectedPersistedKey
The node rejects a persisted key it cannot decode, e.g. one saved before a node upgrade changed the key format, on every request. The catch-up must st
bidengine/service_test.go:401
FunctionTest_OrdersFetcher_DoesNotPersistQueuedPages
The fetcher runs ahead of run, which first waits for the operators to come up. A key persisted before run has processed the queued pages would make a
bidengine/service_test.go:269
FunctionTest_OrdersFetcher_DoesNotQueryWithCanceledContext
A context canceled before a query is sent must not send it: the query does not necessarily observe the cancellation, e.g. when it runs over ABCI, whic
bidengine/service_test.go:467
FunctionTest_OrdersFetcher_DoesNotRestartWhenNodeRejectsItsNextKey
Only a persisted key is discarded when the node rejects it. A next key the node returned itself is not: restarting the traversal from the beginning wo
bidengine/service_test.go:429
← previousnext →3,001–3,100 of 3,441, ranked by callers