Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
3,441 in github.com/akash-network/provider
⨍
Functions
3,441
◇
Types & classes
766
↓ 2 callers
Function
interconnectGroupResourceN
interconnectGroupResourceN is like interconnectGroupResource but lets a test request fewer than a node's worth of GPUs. Tests that prove cross-group c
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:82
↓ 2 callers
Method
isHostnameBlocked
(hostname string)
cluster/hostname.go:373
↓ 2 callers
Function
isLabelManaged
(key string)
operator/inventory/node-discovery.go:1061
↓ 2 callers
Function
isMockMode
(extraEnv []corev1.EnvVar)
cluster/kube/webhook/sidecar.go:193
↓ 2 callers
Function
jwtErrorToHTTP
jwtErrorToHTTP maps JWT parse results to HttpError for gateway responses.
gateway/utils/utils.go:164
↓ 2 callers
Function
keyString
keyString normalizes a key the same way for module extraction and field encoding.
tools/logging/logger.go:225
↓ 2 callers
Function
keyString
keyString normalizes a key the same way for module extraction and field encoding.
sidecar/attestation/internal/logging/logger.go:232
↓ 2 callers
Method
labels
()
cluster/kube/builder/serviceaccount.go:26
↓ 2 callers
Method
labels
()
cluster/kube/builder/rolebinding.go:35
↓ 2 callers
Method
labels
()
cluster/kube/builder/namespace.go:24
↓ 2 callers
Function
leaseLogsCmd
()
cmd/provider-services/cmd/leaseLogs.go:17
↓ 2 callers
Function
leaseStatusCmd
()
cmd/provider-services/cmd/leaseStatus.go:12
↓ 2 callers
Function
literalKeys
(args []ast.Expr)
tools/logging/entity_ids_test.go:240
↓ 2 callers
Function
loadAuthOpts
(ctx context.Context, cctx sdkclient.Context, flags *pflag.FlagSet)
cmd/provider-services/cmd/helpers.go:242
↓ 2 callers
Function
loadConformanceFixture
(t *testing.T)
tools/logging/conformance_test.go:53
↓ 2 callers
Function
loadConformanceFixture
(t *testing.T)
sidecar/attestation/internal/logging/conformance_test.go:54
↓ 2 callers
Function
logNegativeClusterInventory
(log log.Logger, cluster *inventoryV1.Cluster, source string)
operator/inventory/diagnostics.go:96
↓ 2 callers
Method
logWatchdogDone
logWatchdogDone records that the watchdog of deployment did has finished.
manifest/service.go:131
↓ 2 callers
Method
moduleLevel
moduleLevel returns the level applied to entries of the given module.
tools/logging/config.go:184
↓ 2 callers
Method
moduleLevel
moduleLevel returns the level applied to entries of the given module.
sidecar/attestation/internal/logging/config.go:167
↓ 2 callers
Function
nccLHCAPrefixesOf
nccLHCAPrefixesOf returns every distinct HCA family prefix among the device names. For ConnectX-6/7 devices named `mlx5_0, mlx5_1, mlx5_2` this is ["m
operator/inventory/infiniband.go:72
↓ 2 callers
Function
newDataForScript
(r Request)
bidengine/shellscript.go:193
↓ 2 callers
Function
newEntityAudit
(p *auditPackage)
tools/logging/entity_ids_test.go:211
↓ 2 callers
Function
newEventsService
newEventsService starts the chain event service on a connection of its own to the RPC node at nodeURI, the node the rest of the provider uses, so its
cmd/provider-services/cmd/run.go:1021
↓ 2 callers
Function
newHTTPWrapperServiceClient
(isHTTPS, secure bool, baseURL string)
cluster/util/service_client.go:26
↓ 2 callers
Function
newHTTPWrapperServiceClientWithTransport
(transport http.RoundTripper, baseURL string)
cluster/util/service_client.go:59
↓ 2 callers
Function
newIPOperator
(ctx context.Context, logger log.Logger, ns string, cfg common.OperatorConfig, ilc common.IgnoreListConfig, ml
operator/ip/operator.go:457
↓ 2 callers
Function
newInventory
(clState inventoryV1.Cluster)
cluster/types/v1beta3/clients/inventory/inventory.go:261
↓ 2 callers
Function
newManager
(h *service, daddr dtypes.DeploymentID)
manifest/manager.go:48
↓ 2 callers
Function
newModuleAudit
(p *auditPackage)
tools/logging/module_audit_test.go:62
↓ 2 callers
Function
newOrder
(svc *service, oid mtypes.OrderID, cfg Config, pass ProviderAttrSignatureService, checkForExistingBid bool)
bidengine/order.go:102
↓ 2 callers
Function
newOrderInternal
(svc *service, oid mtypes.OrderID, cfg Config, pass ProviderAttrSignatureService, checkForExistingBid bool, re
bidengine/order.go:106
↓ 2 callers
Function
newOrdersFetcherScaffoldWithStorage
(t *testing.T, pcfg pconfig.Storage)
bidengine/service_test.go:60
↓ 2 callers
Function
newProviderAttrSignatureServiceInternal
(s session.Session, bus pubsub.Bus, ttl time.Duration)
bidengine/provider_attributes.go:92
↓ 2 callers
Function
newQueryRequest
newQueryRequest returns a new request on every call: sending a request consumes its body, so retries cannot reuse one.
integration/test_helpers.go:53
↓ 2 callers
Function
newReservation
(order mtypes.OrderID, resources dtypes.ResourceGroup)
cluster/reservation.go:12
↓ 2 callers
Function
newRouter
(log log.Logger, addr sdk.Address, pclient provider.Client, ctxConfig map[interface{}]interface{}, middlewares
gateway/rest/router.go:93
↓ 2 callers
Function
newWatchdog
(sess session.Session, parent <-chan struct{}, done chan<- dtypes.DeploymentID, leaseID mtypes.LeaseID, timeou
manifest/watchdog.go:31
↓ 2 callers
Function
nodeSelectorsFromResources
(res *crd.SchedulerResources)
cluster/kube/builder/workload.go:527
↓ 2 callers
Method
observeIPState
(ctx context.Context)
operator/ip/operator.go:767
↓ 2 callers
Method
ordersFetcher
ordersFetcher traverses the open orders once and queues them, page by page, for run, which creates their monitors. The traversal starts at the paginat
bidengine/service.go:227
↓ 2 callers
Method
origin
origin returns the root function logger expression e comes from when no module is bound on the way, or "" when e has a module or an unknown origin.
tools/logging/module_audit_test.go:91
↓ 2 callers
Function
parseGPU
(resource *rtypes.GPU)
bidengine/shellscript.go:63
↓ 2 callers
Method
parseGPUInfo
(ctx context.Context, info RegistryGPUVendors)
operator/inventory/node-discovery.go:1226
↓ 2 callers
Method
parseIBInfo
parseIBInfo asks the per-node psutil pod for the host's InfiniBand / RoCE inventory. A failure is logged but never fatal — the result is a zero-value
operator/inventory/node-discovery.go:804
↓ 2 callers
Function
placementRequirements
placementRequirements extracts the on-chain placement requirements from the concrete ResourceGroup shapes the bid path produces. The committed copy mu
cluster/inventory.go:350
↓ 2 callers
Function
podKey
(pod *corev1.Pod)
operator/inventory/node-discovery.go:423
↓ 2 callers
Method
ports
()
cluster/kube/builder/service.go:131
↓ 2 callers
Function
prepareHostnamesImpl
(store map[string]hostnameID, hostnames []string, hID hostnameID, errCh chan<- error)
cluster/hostname.go:93
↓ 2 callers
Method
probe
()
sidecar/attestation/tee/nvidia_gpu.go:53
↓ 2 callers
Method
processPages
processPages processes the n queued pages as run does, without starting order monitors.
bidengine/service_test.go:108
↓ 2 callers
Function
providerAttrSize
(entries atypes.AuditedProviders)
bidengine/provider_attributes.go:241
↓ 2 callers
Function
proxyBufferLines
proxyBufferLines renders proxy_buffer_size, proxy_buffers, and proxy_busy_buffers_size as one complete, nginx-consistent group, or nothing. These dire
cluster/kube/gateway/nginx_gateway.go:206
↓ 2 callers
Method
pushCurrAttributes
()
bidengine/provider_attributes.go:189
↓ 2 callers
Function
quoteFromTempDir
GetQuote against a plain temp directory is deterministic and needs no privileges or TEE hardware: it writes inblob, logs, then fails on the missing ou
sidecar/attestation/tee/log_test.go:61
↓ 2 callers
Function
readHeight
readHeight returns the block height a chain query was answered at, from the response header Cosmos SDK sets, or 0 if the node did not report one.
manifest/manager.go:316
↓ 2 callers
Function
read_from_datafile
(fin)
script/provider_migrate_to_hostname_operator.py:111
↓ 2 callers
Function
registryLoaderContext
(t *testing.T, url string)
operator/inventory/registry_loader_test.go:43
↓ 2 callers
Function
releaseHostnamesImpl
(store map[string]hostnameID, hID hostnameID)
cluster/hostname.go:232
↓ 2 callers
Function
remove
(slice []T, s int)
operator/inventory/util.go:76
↓ 2 callers
Method
removeHostnameFromDeployment
(ctx context.Context, hostname string, leaseID mtypes.LeaseID, allowMissing bool)
operator/hostname/operator.go:695
↓ 2 callers
Function
requestDeploymentID
(req *http.Request)
gateway/rest/middleware.go:67
↓ 2 callers
Function
requestLogFollow
(req *http.Request)
gateway/rest/middleware.go:39
↓ 2 callers
Function
requestServices
(req *http.Request)
gateway/rest/middleware.go:51
↓ 2 callers
Method
requireReservable
requireReservable checks whether another tenant may reserve the hostname.
cluster/service_reconcile_test.go:115
↓ 2 callers
Function
requireReturns
requireReturns fails the test unless fn returns promptly.
cluster/service_reconcile_test.go:150
↓ 2 callers
Method
reserve
(t *testing.T, hostname string, lid mv1.LeaseID)
cluster/service_reconcile_test.go:108
↓ 2 callers
Function
reserveHostnamesImpl
(store map[string]hostnameID, hostnames []string, hID hostnameID, ch chan<- error, resultCh chan<- []string)
cluster/hostname.go:136
↓ 2 callers
Method
run
(startCh chan<- error)
balance_checker.go:406
↓ 2 callers
Method
run
run returns a "file:line: key "k": rule" violation for every misused ID key/value pair.
tools/logging/entity_ids_test.go:357
↓ 2 callers
Method
run
run returns a "file:line: logger from pkg.Func has no module" violation for every log call through a logger without a module.
tools/logging/module_audit_test.go:225
↓ 2 callers
Method
run
(parentCtx context.Context)
operator/ip/operator.go:591
↓ 2 callers
Method
runCheck
(ctx context.Context, state *inventoryServiceState)
cluster/inventory.go:855
↓ 2 callers
Function
runE2ESuites
runE2ESuites runs the suites in order, each as a subtest named after its type. After a suite that failed in SetupSuite or TearDownSuite its test netwo
integration/e2e_test.go:818
↓ 2 callers
Function
runMigrations
runMigrations executes pending migrations with the provided state path. The logContext parameter is used to customize log messages (e.g., "running pen
cmd/provider-services/cmd/migrate_run.go:153
↓ 2 callers
Function
sParamsEnsureResources
(sparams *crd.SchedulerParams)
cluster/kube/operators/clients/inventory/inventory.go:650
↓ 2 callers
Function
sanitizeResourcePair
(pair *inventoryV1.ResourcePair)
cluster/kube/operators/clients/inventory/inventory.go:84
↓ 2 callers
Function
sanitizeStatusResourcePair
(pair *inventoryV1.ResourcePair)
cluster/inventory.go:992
↓ 2 callers
Method
sanitizedDup
()
cluster/kube/operators/clients/inventory/inventory.go:49
↓ 2 callers
Method
schedule
(minTime, jitter time.Duration)
cluster/monitor.go:234
↓ 2 callers
Method
scheduleHealthcheck
()
cluster/monitor.go:226
↓ 2 callers
Method
sends
sends reports whether any withdrawal transaction sent so far withdraws from lid.
balance_checker_test.go:1063
↓ 2 callers
Function
serviceStatusCmd
()
cmd/provider-services/cmd/serviceStatus.go:13
↓ 2 callers
Function
setConfigDefaults
(config *rest.Config)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:103
↓ 2 callers
Function
splitModule
splitModule extracts the last "module" pair from keyVals. rest aliases keyVals when no module key is present.
tools/logging/logger.go:190
↓ 2 callers
Function
splitModule
splitModule extracts the last "module" pair from keyVals. rest aliases keyVals when no module key is present.
sidecar/attestation/internal/logging/logger.go:197
↓ 2 callers
Function
stalledRegistry
stalledRegistry returns a server that accepts requests and never answers until the test ends, and a channel signalled on every request.
operator/inventory/registry_loader_test.go:21
↓ 2 callers
Method
startDeploy
(ctx context.Context)
cluster/manager.go:389
↓ 2 callers
Method
startDeploymentManagers
startDeploymentManagers resumes the deployments found in the cluster. Leases that closed while the provider was down can leave namespaces and manifest
cluster/service.go:483
↓ 2 callers
Method
status
(ctx context.Context)
cluster/inventory.go:248
↓ 2 callers
Function
statusCmd
()
cmd/provider-services/cmd/status.go:12
↓ 2 callers
Method
statusV1
(ctx context.Context)
cluster/inventory.go:269
↓ 2 callers
Function
stoppedEventsService
(err error)
cmd/provider-services/cmd/chain_events_test.go:22
↓ 2 callers
Function
stripVersionSuffix
stripVersionSuffix removes suffix components (e.g., "-rc1") from a version string or part.
migrations/registry.go:224
↓ 2 callers
Method
subNLZ
(val rtypes.ResourceValue)
cluster/kube/resourcetypes.go:71
↓ 2 callers
Function
subPodAllocatedResources
(log log.Logger, node *v1.Node, pod *corev1.Pod)
operator/inventory/node-discovery.go:1028
↓ 2 callers
Function
suiteName
suiteName is the subtest name a suite runs under.
integration/e2e_test.go:809
↓ 2 callers
Function
testDeploymentManagerRecovery
(t *testing.T, failFirstTeardown bool)
cluster/manager_recovery_test.go:35
↓ 2 callers
Function
testProviderHost
(t *testing.T, hostname, owner string)
operator/hostname/observe_test.go:29
↓ 2 callers
Function
tryAdjustEphemeralStorage
(rp *inventoryV1.ResourcePair, res *rtypes.Storage)
cluster/types/v1beta3/clients/inventory/inventory.go:469
← previous
next →
601–700 of 3,441, ranked by callers