MCPcopy Create free account

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

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

↓ 12 callersMethodrun
(ctx context.Context)
bidengine/service_test.go:82
↓ 11 callersMethodAny
()
cluster/kube/builder/service.go:18
↓ 11 callersMethodDelete
(ctx context.Context, name string, opts v1.DeleteOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:43
↓ 11 callersFunctionNewWorkloadBuilder
( log log.Logger, settings Settings, deployment IClusterDeployment, mani *crd.Manifest, serviceIdx int, )
cluster/kube/builder/workload.go:73
↓ 11 callersFunctionParseConfig
ParseConfig validates and normalizes raw option values.
tools/logging/config.go:102
↓ 11 callersMethodReturn
(providerStatus *rest.ProviderStatus, err error)
mocks/client/Client_mock.go:281
↓ 11 callersMethodReturn
(orderID v1.OrderID)
mocks/cluster/types/Reservation_mock.go:210
↓ 11 callersMethodServiceStatus
(context.Context, mtypes.LeaseID, string)
cluster/client.go:50
↓ 11 callersMethodWarn
(msg string, keyVals ...any)
sidecar/attestation/internal/logging/logger.go:19
↓ 11 callersMethodWatch
(ctx context.Context, opts metav1.ListOptions)
operator/inventory/types.go:172
↓ 11 callersFunctionjsonLines
(t *testing.T, buf *bytes.Buffer)
tools/logging/logger_test.go:24
↓ 11 callersFunctionstampinterconnect
stampinterconnect mutates the workload's per-service state to simulate the post-reservation pin: the SchedulerParams that tryAdjustInterconnect stamps
cluster/kube/builder/interconnect_test.go:26
↓ 11 callersFunctionstrPtr
(s builder.RuntimeClass)
cluster/kube/webhook/sidecar_test.go:14
↓ 10 callersFunctionAddProviderOperationFlagsToCmd
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:54
↓ 10 callersMethodDeleteCollection
(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:44
↓ 10 callersFunctionMakeScalePricing
( cpuScale decimal.Decimal, memoryScale decimal.Decimal, storageScale Storage, endpointScale decimal.Decim
bidengine/pricing.go:89
↓ 10 callersMethodManifestGroup
()
cluster/types/v1beta3/interfaces.go:8
↓ 10 callersMethodReserveHostnames
(ctx context.Context, hostnames []string, leaseID mtypes.LeaseID)
cluster/types/v1beta3/types.go:287
↓ 10 callersFunctionShouldInject
ShouldInject returns true if the pod should have the attestation sidecar injected. Trigger conditions: - Pod has the akash.network managed label - Pod
cluster/kube/webhook/sidecar.go:26
↓ 10 callersFunctionStatusCodeFrom
(err error)
utils/httperror/httperror.go:45
↓ 10 callersFunctionaddAuthFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:79
↓ 10 callersFunctionawaitLogged
awaitLogged waits until msg is logged count times.
balance_checker_test.go:1152
↓ 10 callersFunctionmatchInterconnectResourceName
matchInterconnectResourceName returns the first extended-resource name from `quantities` that matches any of `patterns`, or empty if no pattern matche
operator/inventory/node-discovery.go:838
↓ 10 callersFunctionmultipleReplicasGenNodes
multipleReplicasGenNodes generates four nodes with following CPUs available node1: 68780 node2: 68800 node3: 119525 node4: 119495
cluster/kube/operators/clients/inventory/client_test.go:740
↓ 10 callersFunctionpageKey
(key []byte)
bidengine/service_test.go:137
↓ 10 callersFunctionresList
AKT-493: matchInterconnectResourceName should keep working unchanged for providers running the Mellanox/NVIDIA k8s-rdma-shared-device-plugin (the rc4
operator/inventory/interconnect_resource_match_test.go:19
↓ 9 callersFunctionAddFlags
AddFlags registers log_level, log_format, log_color and log_timestamp with the provider defaults. The trace flag is registered by cometbft's PrepareBa
tools/logging/cobra.go:22
↓ 9 callersMethodAvailable
Available returns true if this TEE surface is accessible.
sidecar/attestation/tee/tee.go:38
↓ 9 callersFunctionConfigFromEnv
ConfigFromEnv reads the configuration using getenv (typically os.Getenv). Unset or empty variables take their defaults.
sidecar/attestation/internal/logging/config.go:134
↓ 9 callersMethodEquals
(other hostnameID)
cluster/hostname.go:28
↓ 9 callersMethodGetHostname
()
cluster/types/v1beta3/clients/hostname/hostname.go:49
↓ 9 callersMethodGetResourceVersion
()
cluster/kube/builder/builder.go:133
↓ 9 callersMethodIsObjectRevisionLatest
(map[string]string)
cluster/kube/builder/builder.go:267
↓ 9 callersFunctionKubeClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:120
↓ 9 callersMethodLeaseStatus
(context.Context, mtypes.LeaseID)
cluster/client.go:46
↓ 9 callersFunctionNewRegistry
NewRegistry creates a new migration registry.
migrations/registry.go:71
↓ 9 callersMethodProviderHosts
ProviderHosts returns an object that can list and get ProviderHosts.
pkg/client/listers/akash.network/v2beta2/providerhost.go:35
↓ 9 callersMethodSetCurrentVersion
SetCurrentVersion sets the current provider version. This should be called before GetPending or RunMigrations.
migrations/registry.go:79
↓ 9 callersMethodWithOwner
WithOwner sets the Owner field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining
pkg/client/applyconfiguration/akash.network/v2beta2/leaseid.go:40
↓ 9 callersFunctioncreateMocks
()
gateway/rest/integration_test.go:455
↓ 9 callersFunctionleasePayment
(lid mtypes.LeaseID, state etypes.State)
balance_checker_test.go:197
↓ 9 callersFunctionlogger
()
sidecar/attestation/tee/log.go:22
↓ 9 callersFunctionmakeHostnameScaffold
(t *testing.T, blockedHostnames []string)
cluster/hostname_test.go:23
↓ 9 callersFunctionmultipleReplicasGenReservations
(cpuUnits, gpuUnits uint64, count uint32)
cluster/kube/operators/clients/inventory/client_test.go:831
↓ 9 callersFunctionnewSharedLeaseClients
(t *testing.T)
balance_checker_test.go:953
↓ 9 callersFunctionqueryClientOrNil
(cl aclient.Client)
cmd/provider-services/cmd/helpers.go:377
↓ 9 callersMethodrecordWithdrawals
recordWithdrawals answers every withdrawal transaction with answer, called with the leases it withdraws from.
balance_checker_test.go:1023
↓ 9 callersFunctionsetupProviderClient
(ctx context.Context, cctx sdkclient.Context, flags *pflag.FlagSet, cl aclient.QueryClient, paddr sdk.AccAddre
cmd/provider-services/cmd/helpers.go:267
↓ 9 callersMethodtransactions
transactions returns the leases of each withdrawal transaction sent so far.
balance_checker_test.go:1052
↓ 9 callersFunctiontryAdjustInterconnect
tryAdjustInterconnect pins one interconnect HCA per GPU unit (the locked 1:1 invariant) when the per-resource opt-in `gpu.attributes.interconnect=true
cluster/kube/operators/clients/inventory/inventory.go:380
↓ 9 callersFunctionupdateAkashLabels
(currLabels, newLabels map[string]string)
cluster/kube/builder/builder.go:353
↓ 9 callersFunctionwithServer
( ctx context.Context, t testing.TB, keys []cryptotypes.PrivKey, pclient provider.Client, mocks integrati
gateway/rest/integration_test.go:516
↓ 8 callersMethodDeployment
( _ context.Context, _ *dvbeta.QueryDeploymentRequest, opts ...grpc.CallOption, )
manifest/manager_test.go:941
↓ 8 callersMethodExec
(ctx context.Context, lID mtypes.LeaseID, service string, podIndex uint, cmd []string, stdin io.Read
cluster/client.go:70
↓ 8 callersMethodGroup
(t testing.TB)
testutil/manifest/v2beta2/manifest.go:27
↓ 8 callersMethodHostname
()
service.go:42
↓ 8 callersFunctionMustKubeConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:111
↓ 8 callersFunctionNewDefaultConfig
()
cluster/config.go:34
↓ 8 callersMethodRESTClient
()
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:30
↓ 8 callersMethodResources
()
cluster/types/v1beta3/reservation.go:9
↓ 8 callersMethodReturn
()
mocks/cluster/types/clients/ip/Client_mock.go:244
↓ 8 callersMethodSetProviderVersion
SetProviderVersion sets the provider version in the state.
migrations/state.go:109
↓ 8 callersFunctionclearLogEnv
(t *testing.T)
cmd/provider-services/cmd/root_test.go:18
↓ 8 callersFunctiondiscoverInfinibandAt
discoverInfinibandAt is the testable seam: callers pass an explicit directory so the unit tests can populate a fixture without needing real `/host/sys
operator/inventory/infiniband.go:48
↓ 8 callersFunctionenvFrom
(m map[string]string)
sidecar/attestation/internal/logging/logging_test.go:15
↓ 8 callersFunctionexhaustedLeaseClients
(t *testing.T, lid mtypes.LeaseID, withdrawErr error)
balance_checker_test.go:374
↓ 8 callersMethodexpectExhausted
expectExhausted registers one funds check of the lease that finds its escrow balance exhausted.
balance_checker_test.go:998
↓ 8 callersFunctioninterconnectParamsWith
interconnectParamsWith constructs scheduler params for a given fabric + HCA prefix list, so individual tests (e.g. RoCE GID injection) can override th
cluster/kube/builder/interconnect_test.go:39
↓ 8 callersFunctioninterconnectResourcePair
interconnectCapNode returns a NodeResources / NodeCapabilities pair the per-bid tests can stamp custom GPU interconnect capacity onto.
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:18
↓ 8 callersFunctionkubeSelectorForLease
(dst *strings.Builder, lID mtypes.LeaseID)
cluster/kube/client.go:968
↓ 8 callersFunctionnewReconcileFixture
(t *testing.T)
cluster/service_reconcile_test.go:38
↓ 8 callersMethodpodAnnotations
()
cluster/kube/builder/workload.go:358
↓ 8 callersFunctionrequestLeaseID
(req *http.Request)
gateway/rest/middleware.go:35
↓ 8 callersMethodstartShared
startShared runs a checker on the shared clients that rechecks each lease at the given funds check interval, and returns its log.
balance_checker_test.go:1077
↓ 8 callersFunctionwriteJSON
(log log.Logger, w http.ResponseWriter, obj interface{})
gateway/rest/router.go:887
↓ 7 callersFunctionBuildService
(workload *Workload, requireNodePort bool)
cluster/kube/builder/service.go:28
↓ 7 callersFunctionConfigFromCtx
ConfigFromCtx returns the configuration stored by Setup.
tools/logging/cobra.go:119
↓ 7 callersFunctionDefaultErrorHandler
DefaultErrorHandler writes err as a JSON error response. Errors that are not *httperror.HttpError are logged with the logger found in the request cont
gateway/rest/auth.go:36
↓ 7 callersMethodDeploy
(ctx context.Context, deployment ctypes.IDeployment)
cluster/client.go:65
↓ 7 callersMethodGetAuditorAttributeSignatures
(auditor string)
bidengine/provider_attributes.go:55
↓ 7 callersMethodGetServiceName
()
cluster/types/v1beta3/clients/ip/ip.go:35
↓ 7 callersMethodMarkApplied
MarkApplied adds a migration name to the applied list and saves the state.
migrations/state.go:92
↓ 7 callersFunctionNewHttpError
(statusCode int, err error)
utils/httperror/httperror.go:41
↓ 7 callersFunctionNewNullWaiter
()
operator/waiter/waiter.go:25
↓ 7 callersFunctionPubSubFromCtx
(ctx context.Context)
tools/fromctx/context.go:212
↓ 7 callersMethodReturn
(leaseID v1.LeaseID)
mocks/cluster/types/IDeployment_mock.go:120
↓ 7 callersMethodReturn
(resourceGroup v1beta4.ResourceGroup)
mocks/cluster/types/ReservationGroup_mock.go:167
↓ 7 callersMethodReturn
(err error)
mocks/cluster/types/HostnameServiceClient_mock.go:203
↓ 7 callersMethodWaitForAll
(ctx context.Context)
operator/waiter/waiter.go:11
↓ 7 callersMethodWatch
(ctx context.Context, opts v1.ListOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:47
↓ 7 callersMethodWithKind
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "W
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:50
↓ 7 callersMethodcleanup
(get getFileName, domain string)
tools/certissuer/storage.go:102
↓ 7 callersFunctionclearLogEnv
(t *testing.T)
tools/logging/cobra_test.go:18
↓ 7 callersFunctionenvMap
(env []corev1.EnvVar)
cluster/kube/builder/interconnect_test.go:253
↓ 7 callersFunctionhostnameIDFromLeaseID
(lID mtypes.LeaseID)
cluster/hostname.go:34
↓ 7 callersFunctionhttpOptionsSnippet
httpOptionsSnippet renders the directive's http_options as nginx directives for the location context. Returns "" when nothing is set. Read, send, and
cluster/kube/gateway/nginx_gateway.go:150
↓ 7 callersFunctioninterconnectGroupCluster
(n int)
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:61
↓ 7 callersFunctioninterconnectGroupReservation
interconnectGroupReservation wraps several ResourceUnits with the placement requirements an interconnect SDL declares (capabilities/gpu-interconnect=t
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:115
↓ 7 callersFunctionnewInventoryService
( ctx context.Context, config Config, log log.Logger, sub pubsub.Subscriber, client Client, waiter waite
cluster/inventory.go:117
↓ 7 callersFunctionresetViper
(t *testing.T)
tools/logging/cobra_test.go:12
← previousnext →101–200 of 3,441, ranked by callers