Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
2,942 in github.com/akash-network/provider
⨍
Functions
2,942
◇
Types & classes
699
↓ 1 callers
Function
authInterceptor
authInterceptor returns a gRPC unary interceptor that validates JWT/mTLS credentials. The serverCtx carries application-level values (e.g. AccountQuer
gateway/grpc/server.go:119
↓ 1 callers
Function
availableLeasedIPs
(total, inUse, reserved uint)
cluster/inventory.go:456
↓ 1 callers
Function
buildClusterSettings
(mgroup *mani.Group, reservation crd.ReservationClusterSettings)
cluster/kube/builder/builder.go:174
↓ 1 callers
Function
buildDirective
(ev chostname.ResourceEvent, serviceExpose crd.ManifestServiceExpose)
operator/hostname/operator.go:354
↓ 1 callers
Function
buildMockGPUReport
buildMockGPUReport creates a synthetic GPU attestation report. - Bytes 0-3: "MGPU" - Bytes 4-7: report length (little-endian uint32) - Bytes 8-11: dev
sidecar/attestation/tee/mock.go:114
↓ 1 callers
Function
buildMockReport
buildMockReport creates a synthetic report that mirrors the structure of real attestation reports enough to test the control plane: - Bytes 0-3: "MOCK
sidecar/attestation/tee/mock.go:80
↓ 1 callers
Function
buildSidecarContainer
(image string, isGPU bool, extraEnv []corev1.EnvVar)
cluster/kube/webhook/sidecar.go:120
↓ 1 callers
Function
buildSidecarVolumes
(isGPU bool, mockMode bool)
cluster/kube/webhook/sidecar.go:202
↓ 1 callers
Function
bytesEqual
(a, b []byte)
cmd/provider-services/cmd/leaseAttestation.go:194
↓ 1 callers
Function
calculatePriceRange
(gspec *dtypes.GroupSpec)
bidengine/pricing.go:277
↓ 1 callers
Function
ceilBigRatToBigInt
(v *big.Rat)
bidengine/pricing.go:121
↓ 1 callers
Function
cephStorageInventoryLogValue
(scs cephStorageClasses)
operator/inventory/diagnostics.go:150
↓ 1 callers
Method
checkHostnamesForManifest
(requestManifest maniv2beta2.Manifest, groupNames []string)
manifest/manager.go:462
↓ 1 callers
Method
checkLeaseActive
(ctx context.Context)
cluster/manager.go:569
↓ 1 callers
Function
clusterNSCmd
()
cmd/provider-services/cmd/clusterns.go:13
↓ 1 callers
Function
cmdPsutil
()
operator/psutil.go:36
↓ 1 callers
Function
cmdPsutilList
()
operator/psutil.go:116
↓ 1 callers
Function
cmdPsutilServe
()
operator/psutil.go:53
↓ 1 callers
Method
completeAllPending
(auditor string, result atypes.AuditedProviders)
bidengine/provider_attributes.go:223
↓ 1 callers
Function
configWatcher
(ctx context.Context, file string)
operator/inventory/cmd.go:299
↓ 1 callers
Method
connectHostnameToDeployment
(ctx context.Context, directive chostname.ConnectToDeploymentDirective)
operator/hostname/operator.go:716
↓ 1 callers
Method
connectHostnameToDeploymentGateway
(ctx context.Context, directive chostname.ConnectToDeploymentDirective)
operator/hostname/operator_gateway.go:13
↓ 1 callers
Method
connectHostnameToDeploymentGateway
(ctx context.Context, directive chostname.ConnectToDeploymentDirective)
cluster/kube/client_gateway.go:31
↓ 1 callers
Method
copy
()
operator/inventory/types.go:222
↓ 1 callers
Function
copyManagedLabels
(in map[string]string)
operator/inventory/node-discovery.go:1024
↓ 1 callers
Method
crdInstalled
(log logr.Logger, rc *rookclientset.Clientset)
operator/inventory/ceph.go:152
↓ 1 callers
Function
createAddressHandler
(log log.Logger, providerAddr sdk.Address)
gateway/rest/router.go:419
↓ 1 callers
Function
createAttestationQuoteHandler
createAttestationQuoteHandler handles attestation quote requests by calling the sidecar via the cluster.Client interface, which resolves the pod IP fr
gateway/rest/attestation.go:21
↓ 1 callers
Function
createBidPricingStrategy
(strategy string)
cmd/provider-services/cmd/run.go:417
↓ 1 callers
Function
createClusterClient
(ctx context.Context, log log.Logger, _ *cobra.Command)
cmd/provider-services/cmd/run.go:998
↓ 1 callers
Method
createFakeOperator
(t *testing.T)
cluster/kube/operators/clients/inventory/client_test.go:101
↓ 1 callers
Function
createFolderIfNotExists
(path string)
tools/certissuer/storage.go:618
↓ 1 callers
Function
createManifestHandler
(log log.Logger, mclient pmanifest.Client)
gateway/rest/router.go:481
↓ 1 callers
Function
createStatusHandler
(log log.Logger, sclient provider.StatusClient, providerAddr sdk.Address)
gateway/rest/router.go:450
↓ 1 callers
Function
createVersionHandler
(log log.Logger, pclient provider.Client)
gateway/rest/router.go:435
↓ 1 callers
Function
create_providerhosts
()
script/provider_migrate_to_hostname_operator.py:167
↓ 1 callers
Method
deploymentsForLease
(ctx context.Context, lid mtypes.LeaseID)
cluster/kube/client.go:1236
↓ 1 callers
Function
depsFromBuildInfo
()
version/version.go:124
↓ 1 callers
Method
detectProvider
detectProvider creates a temporary TSM entry and reads the "provider" attribute to determine the underlying TEE type. Returns NameTDX for TDX guests,
sidecar/attestation/tee/configfs.go:36
↓ 1 callers
Method
disable
()
operator/ip/types.go:41
↓ 1 callers
Method
discover
()
cluster/util/service_discovery_agent.go:162
↓ 1 callers
Method
discoverDNS
()
cluster/util/service_discovery_agent.go:227
↓ 1 callers
Method
discoverKube
()
cluster/util/service_discovery_agent.go:170
↓ 1 callers
Method
do
(fn func() error)
cluster/manager.go:603
↓ 1 callers
Method
doCheck
(ctx context.Context)
cluster/monitor.go:161
↓ 1 callers
Method
doCheckDeploymentExists
(req checkDeploymentExistsRequest)
cluster/service.go:449
↓ 1 callers
Method
doDeploy
(pctx context.Context)
cluster/manager.go:326
↓ 1 callers
Method
doFetchData
(ctx context.Context)
manifest/manager.go:258
↓ 1 callers
Function
doLeaseAttestation
(cmd *cobra.Command)
cmd/provider-services/cmd/leaseAttestation.go:57
↓ 1 callers
Function
doLeaseEvents
(cmd *cobra.Command)
cmd/provider-services/cmd/leaseEvents.go:37
↓ 1 callers
Function
doLeaseLogs
(cmd *cobra.Command)
cmd/provider-services/cmd/leaseLogs.go:40
↓ 1 callers
Function
doLeaseStatus
(cmd *cobra.Command)
cmd/provider-services/cmd/leaseStatus.go:31
↓ 1 callers
Function
doMigrateRun
(ctx context.Context, cmd *cobra.Command)
cmd/provider-services/cmd/migrate_run.go:89
↓ 1 callers
Function
doRunCmd
doRunCmd initializes all the Provider functionality, hangs, and awaits shutdown signals.
cmd/provider-services/cmd/run.go:475
↓ 1 callers
Function
doSendManifest
(cmd *cobra.Command, sdlpath string)
cmd/provider-services/cmd/manifest.go:123
↓ 1 callers
Function
doServiceStatus
(cmd *cobra.Command)
cmd/provider-services/cmd/serviceStatus.go:36
↓ 1 callers
Function
doStatus
(cmd *cobra.Command)
cmd/provider-services/cmd/status.go:46
↓ 1 callers
Method
doTeardown
(ctx context.Context)
cluster/manager.go:501
↓ 1 callers
Function
dseqFromFlags
(flags *pflag.FlagSet)
cmd/provider-services/cmd/helpers.go:104
↓ 1 callers
Method
dup
nolint: unused
operator/inventory/ceph.go:97
↓ 1 callers
Method
dup
()
cluster/kube/operators/clients/inventory/inventory.go:40
↓ 1 callers
Method
each
(f func(k mtypes.LeaseID, failure error, failedAt time.Time, count uint, extra ...string) error)
operator/common/ignore_list.go:89
↓ 1 callers
Method
emitReceivedEvents
()
manifest/manager.go:338
↓ 1 callers
Method
enable
()
operator/ip/types.go:37
↓ 1 callers
Function
encodeAuth
(username, password string)
cluster/kube/builder/service_credentials.go:105
↓ 1 callers
Function
ensureConfigfsTSM
ensureConfigfsTSM is a no-op on non-Linux platforms.
sidecar/attestation/tee/setup_other.go:6
↓ 1 callers
Method
ensureDirStructure
()
tools/certissuer/storage.go:628
↓ 1 callers
Function
ensureNvidiaDevices
ensureNvidiaDevices is a no-op on non-Linux platforms.
sidecar/attestation/tee/setup_other.go:12
↓ 1 callers
Function
ensureSEVGuestDev
ensureSEVGuestDev is a no-op on non-Linux platforms.
sidecar/attestation/tee/setup_other.go:9
↓ 1 callers
Method
enter
()
operator/ip/types.go:45
↓ 1 callers
Function
errorIsKubernetesResourceNotFound
(failure error)
operator/hostname/operator.go:281
↓ 1 callers
Function
eventsResourceMapping
eventsResourceMapping returns the policy mapping for "events" resource
cluster/kube/builder/permissions.go:154
↓ 1 callers
Function
fabricOfFirstHCA
fabricOfFirstHCA reads `<root>/<first device>/ports/1/link_layer` and translates the result into the provider's fabric string. Returns the empty strin
operator/inventory/infiniband.go:131
↓ 1 callers
Method
failAllPending
(auditor string, err error)
bidengine/provider_attributes.go:215
↓ 1 callers
Function
fakeIPOperatorHandler
()
cluster/kube/operators/clients/ip/client_test.go:48
↓ 1 callers
Function
familyPrefix
familyPrefix returns the HCA family portion of a device name by stripping the trailing instance index (and the optional `_` separator preceding it). E
operator/inventory/infiniband.go:110
↓ 1 callers
Method
fetch
(ctx context.Context, auditor string)
bidengine/provider_attributes.go:314
↓ 1 callers
Method
fetchData
(ctx context.Context)
manifest/manager.go:246
↓ 1 callers
Method
findAttestationSidecarPod
findAttestationSidecarPod finds a running pod in the lease namespace that contains the attestation sidecar container. Returns the pod name. When serv
cluster/kube/client_attestation.go:77
↓ 1 callers
Function
findDeployments
( ctx context.Context, log log.Logger, client Client, )
cluster/service.go:479
↓ 1 callers
Method
fromCRD
()
pkg/apis/akash.network/v2beta2/manifest.go:270
↓ 1 callers
Function
generateJWT
generateJWT creates a signed JWT token for gRPC auth, replicating the chain-sdk client's newJWT().
cmd/provider-services/cmd/leaseAttestation.go:175
↓ 1 callers
Function
generatePrivateKey
(file string, keyType certcrypto.KeyType)
tools/certissuer/storage.go:555
↓ 1 callers
Method
getBidTimeout
()
bidengine/order.go:151
↓ 1 callers
Function
getCertificateChain
(certRes *certificate.Resource)
tools/certissuer/storage.go:678
↓ 1 callers
Method
getCleanupRetryOpts
(ctx context.Context)
cluster/manager.go:484
↓ 1 callers
Method
getFileName
(domain string, extension string)
tools/certissuer/storage.go:444
↓ 1 callers
Method
getHostnameDeploymentConnections
(ctx context.Context)
operator/hostname/operator.go:503
↓ 1 callers
Method
getHostnameDeploymentConnectionsGateway
(ctx context.Context)
operator/hostname/operator_gateway.go:28
↓ 1 callers
Method
getHostnameDeploymentConnectionsGateway
(ctx context.Context)
cluster/kube/client_gateway.go:56
↓ 1 callers
Function
getKubernetesIP
()
integration/e2e_test.go:741
↓ 1 callers
Method
getManifestGroup
(ctx context.Context, lID mtypes.LeaseID)
operator/hostname/operator.go:665
↓ 1 callers
Function
getManifestHandler
(log log.Logger, cclient cluster.ReadClient)
gateway/rest/router.go:506
↓ 1 callers
Function
getPFXEncoder
(pfxFormat string)
tools/certissuer/storage.go:662
↓ 1 callers
Method
getPermissions
getPermissions returns the read permissions list for backward compatibility. Deprecated: Use GetWorkloadPermissions() for access to all permission typ
cluster/kube/builder/workload.go:665
↓ 1 callers
Function
getSDKVersion
()
version/version.go:152
↓ 1 callers
Method
getStatus
(state *inventoryServiceState)
cluster/inventory.go:901
↓ 1 callers
Function
get_tenant_namespaces
()
script/provider_migrate_to_hostname_operator.py:82
↓ 1 callers
Function
grpcAddrFromProviderURL
grpcAddrFromProviderURL takes the provider's REST URL and returns host:8444 for gRPC.
cmd/provider-services/cmd/leaseAttestation.go:166
↓ 1 callers
Method
handleEvent
(ev pubsub.Event)
bidengine/provider_attributes.go:196
← previous
next →
801–900 of 2,942, ranked by callers