MCPcopy Create free account

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

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

↓ 7 callersFunctionshowErrorToUser
(err error)
cmd/provider-services/cmd/run.go:1073
↓ 7 callersMethodstop
()
manifest/manager.go:104
↓ 7 callersFunctionwithExecTestScaffold
(t *testing.T, changePod func(pod *corev1.Pod) error, test func(s *execScaffold))
cluster/kube/client_exec_test.go:85
↓ 6 callersMethodAddAccount
(context.Context, sdk.Address, cryptotypes.PubKey)
tools/pconfig/pconfig.go:32
↓ 6 callersMethodClusterParams
()
cluster/kube/builder/builder.go:131
↓ 6 callersFunctionCreateOrUpdateHTTPRoute
CreateOrUpdateHTTPRoute creates or updates an HTTPRoute for a hostname directive. It uses the provided Provider to build annotations and the HTTPRoute
cluster/kube/gateway/httproute.go:65
↓ 6 callersMethodGetPending
GetPending returns all migrations that have not been applied yet. Migrations are only included if: 1. They haven't been applied (not in state file) 2.
migrations/registry.go:88
↓ 6 callersMethodIsApplied
IsApplied checks if a migration with the given name has been applied.
migrations/state.go:76
↓ 6 callersFunctionKubeConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:97
↓ 6 callersFunctionMustErrGroupFromCtx
(ctx context.Context)
tools/fromctx/context.go:203
↓ 6 callersMethodRegister
Register adds a Gateway provider factory to the registry. The factory function takes a logger and returns a GatewayProvider instance.
cluster/kube/gateway/registry.go:28
↓ 6 callersMethodSetResourceVersion
(string)
cluster/kube/builder/builder.go:132
↓ 6 callersFunctionSetup
Setup builds the logger from the logging options and stores it, together with its Config, in the command context. When the context already holds a log
tools/logging/cobra.go:72
↓ 6 callersMethodTeardownLease
(context.Context, mtypes.LeaseID)
cluster/client.go:66
↓ 6 callersMethodWait
()
operator/inventory/nodes.go:82
↓ 6 callersMethodWithProvider
WithProvider sets the Provider field in the declarative configuration to the given value and returns the receiver, so that objects can be built by cha
pkg/client/applyconfiguration/akash.network/v2beta2/leaseid.go:72
↓ 6 callersMethodaffinity
()
cluster/kube/builder/workload.go:407
↓ 6 callersFunctiongpuInterconnectResource
gpuInterconnectResource builds the per-resource shape that ResourceRequiresInterconnect inspects — units=N with an `interconnect/group` attribute. The
cluster/kube/operators/clients/inventory/interconnect_adjust_test.go:26
↓ 6 callersFunctioninterconnectGroupResource
interconnectGroupResource builds a full-node ResourceUnit (8 GPUs) for an interconnect service. group is the on-chain `interconnect/group` attribute v
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:74
↓ 6 callersFunctionnadFakeClient
nadFakeClient builds a client over a fake dynamic clientset holding the given NADs. Objects are created through the fake (not seeded via the tracker)
cluster/kube/roce_networks_test.go:72
↓ 6 callersFunctionnewHostnameService
(ctx context.Context, cfg Config, initialData map[string]mtypes.LeaseID)
cluster/hostname.go:279
↓ 6 callersFunctionnewVersionTestFixture
(t *testing.T)
manifest/manager_test.go:752
↓ 6 callersMethodpersistKey
persistKey stores key as the orders pagination key persisted by an earlier traversal.
bidengine/service_test.go:92
↓ 6 callersMethodprocessOrdersPage
processOrdersPage creates monitors for a page of catch-up orders. An order can also arrive as EventOrderCreated while the traversal runs; such an orde
bidengine/service.go:348
↓ 6 callersFunctionqueryAppWithRetries
nolint: unparam
integration/test_helpers.go:76
↓ 6 callersMethodreconcileLeasesOnce
reconcileLeasesOnce matches the provider's leases in the cluster against the chain. A lease that is not active is torn down only once the chain confir
cluster/service.go:553
↓ 6 callersFunctionreleaseCmdLock
()
testutil/provider/provider.go:29
↓ 6 callersFunctionrequestClaims
(req *http.Request)
gateway/rest/middleware.go:63
↓ 6 callersFunctionrequireMsgType
(t *testing.T, res interface{})
bidengine/order_test.go:259
↓ 6 callersMethodselectorLabels
()
cluster/kube/builder/builder.go:300
↓ 6 callersFunctionsetupProviderAttributesTestScaffold
( t *testing.T, ttl time.Duration, clientFactory func(scaffold *providerAttributesTestScaffold) *clientmock
bidengine/provider_attributes_test.go:36
↓ 6 callersMethodstop
(t *testing.T)
bidengine/provider_attributes_test.go:65
↓ 6 callersFunctionwriteJSON
(w http.ResponseWriter, obj interface{})
operator/psutil.go:235
↓ 5 callersMethodAddPreparedEndpoint
(path string, prepare PrepareFn)
operator/common/operator_server.go:22
↓ 5 callersFunctionCmdSetContextValue
(cmd *cobra.Command, key, val interface{})
tools/fromctx/context.go:47
↓ 5 callersMethodDoRequest
(req *http.Request)
cluster/util/service_discovery_agent_types.go:21
↓ 5 callersMethodForModule
(string)
session/session.go:15
↓ 5 callersMethodGetNamespace
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:230
↓ 5 callersMethodGetSharingKey
()
cluster/types/v1beta3/clients/ip/ip.go:38
↓ 5 callersMethodInformerFor
(obj runtime.Object, newFunc NewInformerFunc)
pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go:36
↓ 5 callersMethodLeases
(context.Context, *mvbeta.QueryLeasesRequest, ...grpc.CallOption)
manifest/manager_test.go:970
↓ 5 callersFunctionListenAndServe
ListenAndServe runs srv.ListenAndServe and reports a graceful shutdown (http.ErrServerClosed) as success, so operators exit cleanly on shutdown.
operator/common/serve.go:10
↓ 5 callersFunctionMakeRandomRangePricing
()
bidengine/pricing.go:249
↓ 5 callersMethodName
Name returns the TEE type identifier ("snp" or "tdx").
sidecar/attestation/tee/tee.go:35
↓ 5 callersFunctionNew
New returns a logger writing to w (os.Stdout when w is nil) configured by cfg. The returned logger keeps exactly one "module" field: With("module", x
sidecar/attestation/internal/logging/logger.go:55
↓ 5 callersFunctionNewClient
NewClient returns new Kubernetes Client instance with provided logger, host and ns. Returns error in-case of failure configPath may be the empty strin
cluster/kube/client.go:105
↓ 5 callersFunctionNewClientset
NewClientset returns a clientset that will respond with the provided objects. It's backed by a very simple object tracker that processes creates, upda
pkg/client/clientset/versioned/fake/clientset_generated.go:91
↓ 5 callersFunctionNewMemory
()
tools/pconfig/memory/memory.go:40
↓ 5 callersFunctionNewOperatorHTTP
()
operator/common/operator_server.go:32
↓ 5 callersFunctionNewOperatorWaiter
(ctx context.Context, logger log.Logger, waitOn ...Waitable)
operator/waiter/waiter.go:36
↓ 5 callersFunctionOpenKubeConfig
(cfgPath string, log log.Logger)
cluster/kube/clientcommon/open_kube_config.go:19
↓ 5 callersFunctionOperatorsCmd
()
operator/cmd.go:23
↓ 5 callersMethodPrepareHostnamesForTransfer
(ctx context.Context, hostnames []string, leaseID mtypes.LeaseID)
cluster/types/v1beta3/types.go:290
↓ 5 callersFunctionRecoverLeaseIDFromLabels
TODO - move to provider/cluster/util since this is generic
cluster/kube/clientcommon/recover_lease_id_from_labels.go:19
↓ 5 callersMethodRunMigrations
RunMigrations executes all pending migrations. Returns the number of migrations that were successfully executed. After successful execution, updates t
migrations/registry.go:140
↓ 5 callersMethodSnapshot
()
cluster/types/v1beta3/types.go:205
↓ 5 callersMethodStatus
(context.Context)
cluster/service.go:95
↓ 5 callersMethodStorageClassesForNode
(name string)
operator/inventory/config.go:350
↓ 5 callersFunctionWithGPU
()
cluster/types/v1beta3/types.go:116
↓ 5 callersMethodadd
(msg string, kv []any)
sidecar/attestation/tee/log_test.go:27
↓ 5 callersFunctionaddLeaseFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:90
↓ 5 callersMethodapplyEvent
(ctx context.Context, ev cip.ResourceEvent)
operator/ip/operator.go:234
↓ 5 callersMethodattemptReclaimClose
attemptReclaimClose broadcasts MsgCloseBid when the reclamation deadline has elapsed in chain block time. It returns done=true once the close is broad
cluster/manager.go:696
↓ 5 callersMethodavailable
()
cluster/kube/resourcetypes.go:92
↓ 5 callersMethoddoEscrowCheck
(ctx context.Context, lid mtypes.LeaseID, scheduledWithdraw bool)
balance_checker.go:158
↓ 5 callersFunctionexecuteProbe
executeProbe runs the real root command with a hidden probe subcommand and returns the logging configuration the probe observed.
cmd/provider-services/cmd/root_test.go:29
↓ 5 callersFunctionexecuteProbeWithHome
(t *testing.T, home string, args ...string)
cmd/provider-services/cmd/root_test.go:34
↓ 5 callersMethodget
()
operator/common/prepared_data.go:56
↓ 5 callersFunctionholdFirst
holdFirst answers a withdrawal from first once release is closed, or the checker stops, and every other withdrawal with next.
balance_checker_test.go:1160
↓ 5 callersFunctioninitTestBackends
(t *testing.T)
tools/pconfig/bbolt_test.go:31
↓ 5 callersFunctionisLoggerType
(t types.Type)
tools/logging/entity_ids_test.go:236
↓ 5 callersFunctionkubeNginxIngressAnnotations
(directive chostname.ConnectToDeploymentDirective)
cluster/kube/client_ingress.go:35
↓ 5 callersMethodleaseExists
(ctx context.Context, lid mtypes.LeaseID)
cluster/kube/client.go:1359
↓ 5 callersFunctionmarkRPCServerError
(err error)
cmd/provider-services/cmd/helpers.go:228
↓ 5 callersFunctionnewestLease
(leases []mvbeta.QueryLeaseResponse)
integration/e2e_test.go:747
↓ 5 callersMethodpersistedKey
persistedKey returns the orders pagination key held by the persistent config.
bidengine/service_test.go:98
↓ 5 callersMethodrequireReported
requireReported waits for the lease-closed events a pass published, and checks that no others follow.
cluster/service_reconcile_test.go:127
↓ 5 callersMethodreserve
(order mtypes.OrderID, resources dtypes.ResourceGroup)
cluster/inventory.go:195
↓ 5 callersFunctionrunIPOperator
(t *testing.T, run bool, aobj []runtime.Object, prerun, fn func(ctx context.Context, s ipOperatorScaffold))
operator/ip/operator_test.go:42
↓ 5 callersFunctiontakeCmdLock
()
testutil/provider/provider.go:25
↓ 5 callersFunctionwriteClusterError
(w http.ResponseWriter, err error)
gateway/rest/router.go:67
↓ 4 callersMethodAddAccountCertificate
(context.Context, sdk.Address, *x509.Certificate, crypto.PublicKey)
tools/pconfig/pconfig.go:34
↓ 4 callersMethodAddError
(id mtypes.LeaseID, err error, extra ...string)
operator/common/ignore_list.go:22
↓ 4 callersFunctionAkashClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:143
↓ 4 callersFunctionApplyToContext
(ctx context.Context, config map[interface{}]interface{})
tools/fromctx/context.go:360
↓ 4 callersFunctionAssign
Assign splits items into total shards by their estimated durations and returns, per shard, the indexes of its items in ascending order, so items keep
testutil/shard/shard.go:94
↓ 4 callersMethodBidEngine
()
tools/pconfig/pconfig.go:46
↓ 4 callersFunctionBuildManifest
(log log.Logger, settings Settings, ns string, deployment IClusterDeployment)
cluster/kube/builder/manifest.go:25
↓ 4 callersMethodBuildRouteExtensions
BuildRouteExtensions returns auxiliary CRD objects to apply alongside the HTTPRoute (e.g. an NGF SnippetsFilter). They are applied owner-referenced to
cluster/kube/gateway/gateway.go:40
↓ 4 callersFunctionBuildSidecarPatch
BuildSidecarPatch generates a JSON Patch (RFC 6902) that injects the attestation sidecar container, required volumes, and volume mounts into the pod s
cluster/kube/webhook/sidecar.go:65
↓ 4 callersMethodCanReserveHostnames
(hostnames []string, ownerAddr sdktypes.Address)
cluster/types/v1beta3/types.go:289
↓ 4 callersMethodCheck
(ctx context.Context)
operator/waiter/waiter.go:15
↓ 4 callersMethodClose
()
tools/pconfig/pconfig.go:47
↓ 4 callersMethodEnv
Env returns the configuration as environment variables with the given prefix, e.g. prefix "ATTESTATION_" yields ATTESTATION_LOG_LEVEL ... ATTESTATION_
tools/logging/config.go:173
↓ 4 callersMethodFlag
()
operator/common/prepared_data.go:14
↓ 4 callersMethodGetAccountCertificate
(context.Context, sdk.Address, *big.Int)
tools/pconfig/pconfig.go:27
↓ 4 callersFunctionGetAll
GetAll returns all registered migrations.
migrations/registry.go:40
↓ 4 callersMethodGetAttributes
()
bidengine/provider_attributes.go:56
↓ 4 callersMethodGetEventType
()
cluster/types/v1beta3/clients/ip/ip.go:30
↓ 4 callersMethodGetPort
()
cluster/types/v1beta3/clients/ip/ip.go:37
← previousnext →201–300 of 3,441, ranked by callers