MCPcopy Create free account

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

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

FunctionTestJSONForcesNoColor
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:80
FunctionTestJSONNeverColored
(t *testing.T)
tools/logging/logger_test.go:68
FunctionTestJwtErrorToHTTP
(t *testing.T)
gateway/utils/utils_test.go:26
FunctionTestKubeNginxIngressAnnotationsProxyBuffersConsistency
TestKubeNginxIngressAnnotationsProxyBuffersConsistency asserts a buffer set nginx would reject is dropped rather than emitted (an inconsistent set wou
cluster/kube/client_ingress_test.go:55
FunctionTestKubeNginxIngressAnnotationsProxyBuffersPartial
TestKubeNginxIngressAnnotationsProxyBuffersPartial covers partial buffer sets: the helper fills the unset field from the effective default (ingress-ng
cluster/kube/client_ingress_test.go:95
FunctionTestKubeNginxIngressAnnotationsProxyOptions
TestKubeNginxIngressAnnotationsProxyOptions asserts the proxy_* http_options are rendered as community ingress-nginx annotations, that disabled buffer
cluster/kube/client_ingress_test.go:14
FunctionTestKubeNginxIngressAnnotationsProxyOptionsUnset
TestKubeNginxIngressAnnotationsProxyOptionsUnset asserts none of the proxy_* annotations appear when the tenant did not set them. Buffering is on by d
cluster/kube/client_ingress_test.go:41
FunctionTestLeaseIDsListsLeaseNamespacesAndManifests
Startup reconciliation matches the leases in the cluster against the chain, so every lease that has a namespace or a manifest is listed, once.
cluster/kube/client_lease_ids_test.go:20
FunctionTestLeaseStatusWithForwardedPortOnly
(t *testing.T)
cluster/kube/client_test.go:254
FunctionTestLeaseStatusWithIngressOnly
(t *testing.T)
cluster/kube/client_test.go:187
FunctionTestLeaseStatusWithNoDeployments
(t *testing.T)
cluster/kube/client_test.go:134
FunctionTestLeaseStatusWithNoIngressNoService
(t *testing.T)
cluster/kube/client_test.go:155
FunctionTestLidNsSanity
(t *testing.T)
cluster/kube/builder/builder_test.go:19
FunctionTestListHTTPRouteConnectionsSkipsPlaceholder
TestListHTTPRouteConnectionsSkipsPlaceholder asserts that a stranded detached placeholder route (no hostnames) is skipped rather than aborting the who
cluster/kube/gateway/httproute_test.go:213
FunctionTestListenAndServeClosedIsNil
(t *testing.T)
operator/common/serve_test.go:12
FunctionTestListenAndServeReturnsListenError
(t *testing.T)
operator/common/serve_test.go:42
FunctionTestLocalServiceBuilder
(t *testing.T)
cluster/kube/builder/builder_test.go:121
FunctionTestLocalServiceBuilderWithLocalServices
(t *testing.T)
cluster/kube/builder/builder_test.go:342
FunctionTestLocalServiceBuilderWithoutLocalServices
(t *testing.T)
cluster/kube/builder/builder_test.go:291
FunctionTestLogEntityIDKeys
TestLogEntityIDKeys audits the key/value pairs of log and With calls that carry an entity ID (lease, order, deployment, group or bid). It fails when -
tools/logging/entity_ids_test.go:33
FunctionTestLogKeysAreCanonical
(t *testing.T)
tools/logging/keys_guard_test.go:134
FunctionTestLogNegativeClusterInventory
(t *testing.T)
operator/inventory/diagnostics_test.go:53
FunctionTestLogWatchdogDoneUsesDeploymentIDKey
(t *testing.T)
manifest/service_log_test.go:13
FunctionTestLogsHaveModule
TestLogsHaveModule fails when a log call goes through a logger taken from the context (ctxlog.LogcFromCtx, ctxlog.Logger) or created by logging.New wi
tools/logging/module_audit_test.go:28
FunctionTestManagerAnswersManifestWhenRereadFails
TestManagerAnswersManifestWhenRereadFails checks that a manifest kept for another chain read gets that read's error when the read fails, rather than b
manifest/manager_test.go:661
FunctionTestManagerChecksManifestsAgainstChainReads
TestManagerChecksManifestsAgainstChainReads runs the manager against scripted deployment reads. A manifest is checked against a fresh read, and when i
manifest/manager_test.go:584
FunctionTestManagerLogsChainReadBehindEarlierOne
TestManagerLogsChainReadBehindEarlierOne checks that an operator sees, at the default log level, why a chain read did not change the expected version.
manifest/manager_test.go:677
FunctionTestManagerLogsVersionMismatch
TestManagerLogsVersionMismatch checks that the mismatch refusing a manifest is logged at error level with the versions compared, while a first mismatc
manifest/manager_test.go:696
FunctionTestManagerRereadsChainWhenCachedReadIsStale
TestManagerRereadsChainWhenCachedReadIsStale submits a manifest while the manager still holds a fresh cached read of the previous version, as when the
manifest/manager_test.go:644
FunctionTestManifestDoesNotLabelItsOwnResourceVersion
(t *testing.T)
cluster/kube/builder/manifest_test.go:44
FunctionTestManifestSubmitErrorToHTTP
(t *testing.T)
manifest/gateway_test.go:15
FunctionTestManifestUpdatePreservesMetadata
(t *testing.T)
cluster/kube/builder/manifest_test.go:10
FunctionTestManifestVersionFollowsChainReadsByHeight
TestManifestVersionFollowsChainReadsByHeight checks which manifest version the manager accepts after a sequence of chain reads and DeploymentUpdated e
manifest/manager_test.go:503
FunctionTestMatchInterconnectResourceName_BarePatternIsPrefix
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:55
FunctionTestMatchInterconnectResourceName_DefaultMatchesRoCEVariant
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:37
FunctionTestMatchInterconnectResourceName_DefaultMellanoxPrefix
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:27
FunctionTestMatchInterconnectResourceName_FirstConfiguredPatternWins
CodeRabbit follow-up (PR #400 review 2026-06-15): when a node lists multiple eligible resources, the configured pattern order — not Go's random map it
operator/inventory/interconnect_resource_match_test.go:92
FunctionTestMatchInterconnectResourceName_GlobPattern
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:66
FunctionTestMatchInterconnectResourceName_MalformedGlobIsNotAMatch
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:148
FunctionTestMatchInterconnectResourceName_MultiMatchIsDeterministic
A single pattern matching multiple advertised pools must resolve to a stable name: kubelet's ResourceList is a map, and a hash-seed-dependent flip bet
operator/inventory/interconnect_resource_match_test.go:166
FunctionTestMatchInterconnectResourceName_MultiplePatternsFirstHitWins
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:74
FunctionTestMatchInterconnectResourceName_NoMatch
(t *testing.T)
operator/inventory/interconnect_resource_match_test.go:45
FunctionTestModuleAuditFixture
(t *testing.T)
tools/logging/module_audit_test.go:48
FunctionTestModuleFilterBeforeEncoding
(t *testing.T)
tools/logging/logger_test.go:126
FunctionTestModuleLevelSurvivesWith
Context added after the module is bound keeps the module's level, as for the chain event service, which derives its logger with With("cmp", "events").
tools/logging/logger_test.go:143
FunctionTestMonitorHealthcheckDisabledWhenPeriodZero
(t *testing.T)
cluster/monitor_test.go:53
FunctionTestMonitorInstantiate
(t *testing.T)
cluster/monitor_test.go:23
FunctionTestMonitorSendsClusterDeploymentDeployed
(t *testing.T)
cluster/monitor_test.go:114
FunctionTestMonitorSendsClusterDeploymentPending
(t *testing.T)
cluster/monitor_test.go:69
FunctionTestNCCLHCAPrefixesOf
(t *testing.T)
operator/inventory/infiniband_test.go:116
FunctionTestNewClient
(t *testing.T)
cluster/kube/k8s_integration_test.go:65
FunctionTestNewClientNSNotFound
(t *testing.T)
cluster/kube/k8s_integration_test.go:31
FunctionTestNewClientWithBogusIngressDomain
(t *testing.T)
cluster/kube/client_test.go:83
FunctionTestNewClientWithEmptyIngressDomain
(t *testing.T)
cluster/kube/client_test.go:119
FunctionTestNewDB
(t *testing.T)
tools/pconfig/bbolt_test.go:66
FunctionTestNginxGatewayHTTPRouteSpec
(t *testing.T)
cluster/kube/client_gateway_test.go:15
FunctionTestNoTopLevelOperatorCommands
(t *testing.T)
cmd/provider-services/cmd/root_test.go:113
FunctionTestNonStringModuleKeyIsNormalized
(t *testing.T)
tools/logging/logger_test.go:227
FunctionTestNonStringModuleKeyIsNormalized
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:171
FunctionTestNop
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:165
FunctionTestNormalizeTimestampForUpstream
(t *testing.T)
tools/logging/cobra_test.go:127
FunctionTestNullInventoryAdjustCPUArch
The null inventory applies the same arch rule as the kube one: an SDL without arch goes to a node of any arch, a named arch narrows.
cluster/types/v1beta3/clients/inventory/cpu_arch_test.go:128
FunctionTestObserveHostnameState_CancelReleasesBlockedProducer
The consumer stops reading when applying an event fails. Cancelling the observation must then release the producer and stop its watch; the producer us
operator/hostname/observe_test.go:126
FunctionTestObserveHostnameState_SkipsUnconvertibleProviderHosts
A ProviderHost whose lease ID cannot be built (e.g. a hand-edited owner) must be skipped. It used to be emitted as an event without a type, which stop
operator/hostname/observe_test.go:84
FunctionTestObserveHostnameState_WatchErrorEndsStream
A watch error event carries a *metav1.Status, not a ProviderHost. It used to panic the operator on an unchecked type assertion; it must end the stream
operator/hostname/observe_test.go:153
FunctionTestOperatorLoggingEnv
Operator subcommands do not run the root pre-run, which applies the AKASH_ fallback prefix. Their logging options must still be read from both prefixe
operator/cmd_test.go:79
FunctionTestOperatorLoggingFlags
(t *testing.T)
operator/cmd_test.go:61
FunctionTestOperatorPreRunEErrorCancelsGroup
(t *testing.T)
operator/cmd_test.go:126
FunctionTestOperatorRunEErrorCancelsGroup
(t *testing.T)
operator/cmd_test.go:113
FunctionTestOperatorServer
(t *testing.T)
operator/common/operator_server_test.go:10
FunctionTestOperatorServerPanicsOnDuplicatePath
(t *testing.T)
operator/common/operator_server_test.go:46
FunctionTestOperatorServerReturnsPrepareError
(t *testing.T)
operator/common/operator_server_test.go:34
FunctionTestOperatorSubcommandsRegistered
(t *testing.T)
operator/cmd_test.go:159
FunctionTestParseConfigConformance
(t *testing.T)
tools/logging/conformance_test.go:108
FunctionTestParseConfigConformance
(t *testing.T)
sidecar/attestation/internal/logging/conformance_test.go:136
FunctionTestParseConfigDefaults
(t *testing.T)
tools/logging/config_test.go:11
FunctionTestParseConfigInvalid
(t *testing.T)
tools/logging/config_test.go:88
FunctionTestParseConfigJSONForcesNoColor
(t *testing.T)
tools/logging/config_test.go:64
FunctionTestParseConfigModuleFilter
(t *testing.T)
tools/logging/config_test.go:74
FunctionTestParseConfigTable
(t *testing.T)
tools/logging/config_test.go:22
FunctionTestPassesThroughNames
(t *testing.T)
cluster/util/ip_sharing_key_test.go:12
MethodTestPersistentStorageDeploymentUpdate
()
integration/persistentstorage_test.go:264
FunctionTestPlacementRequiredFabric_AllConcreteTypes
Spec calls out that PlacementRequiredFabric must work across every concrete ResourceGroup the provider's bid path may produce. We pin all four explici
cluster/kube/operators/clients/inventory/interconnect_test.go:83
FunctionTestPlacementRequirementsPreserved
placementRequirements must survive the resources-to-commit copy for every concrete ResourceGroup shape the bid path produces — an empty extraction sil
cluster/inventory_test.go:857
FunctionTestPlainColor
(t *testing.T)
tools/logging/logger_test.go:54
FunctionTestPlainColorAndModuleFilter
(t *testing.T)
sidecar/attestation/internal/logging/logging_test.go:105
FunctionTestPlainNoColor
(t *testing.T)
tools/logging/logger_test.go:61
FunctionTestPolicyRuleRegistry_GenerateRules
(t *testing.T)
cluster/kube/builder/permissions_test.go:94
FunctionTestPolicyRuleRegistry_Register
(t *testing.T)
cluster/kube/builder/permissions_test.go:147
FunctionTestPrepareHostnamesForTransfer
(t *testing.T)
cluster/hostname_test.go:197
FunctionTestPrepareHostnamesForTransferDifferentOwner
(t *testing.T)
cluster/hostname_test.go:225
FunctionTestPrepareHostnamesForTransferNotReserved
(t *testing.T)
cluster/hostname_test.go:240
FunctionTestPrepareHostnamesForTransferSameLease
(t *testing.T)
cluster/hostname_test.go:212
FunctionTestPreparedData
(t *testing.T)
operator/common/prepared_data_test.go:10
FunctionTestPreparedDataTruncates
(t *testing.T)
operator/common/prepared_data_test.go:28
FunctionTestProvAttrCachesValue
(t *testing.T)
bidengine/provider_attributes_test.go:78
FunctionTestProvAttrClearsCache
(t *testing.T)
bidengine/provider_attributes_test.go:381
FunctionTestProvAttrObeysTTL
(t *testing.T)
bidengine/provider_attributes_test.go:197
FunctionTestProvAttrReturnsEmpty
(t *testing.T)
bidengine/provider_attributes_test.go:148
FunctionTestProvAttrReturnsErrors
(t *testing.T)
bidengine/provider_attributes_test.go:341
← previousnext →2,801–2,900 of 3,441, ranked by callers