MCPcopy Create free account

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

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

↓ 312 callersMethodError
(msg string, keyVals ...any)
sidecar/attestation/internal/logging/logger.go:20
↓ 187 callersMethodRun
Run executes the migration. This method must be idempotent. If the migration has already been applied, this should be a no-op. The context provides ac
migrations/migrations.go:29
↓ 164 callersMethodGet
Get retrieves the Inventory from the index for a given name. Objects returned here must be treated as read-only.
pkg/client/listers/akash.network/v2beta2/inventory.go:36
↓ 158 callersMethodDone
()
cluster/service.go:106
↓ 149 callersMethodString
()
operator/waiter/waiter.go:16
↓ 147 callersMethodReturn
(execResult v1beta3.ExecResult, err error)
mocks/cluster/Client_mock.go:562
↓ 123 callersMethodWith
(keyVals ...any)
sidecar/attestation/internal/logging/logger.go:21
↓ 115 callersMethodInfo
(msg string, keyVals ...any)
sidecar/attestation/internal/logging/logger.go:18
↓ 96 callersMethodLeaseID
()
cluster/types/v1beta3/deployment.go:10
↓ 93 callersFunctionrun
()
cmd/provider-services/main.go:12
↓ 85 callersMethodErr
()
cmd/provider-services/cmd/chain_events_test.go:20
↓ 77 callersMethodIs
Is checks whether rc is a known runtime class matching all the given filters. With no options it matches any known runtime class.
cluster/types/v1beta3/types.go:137
↓ 75 callersMethodLeaseID
()
cluster/kube/builder/builder.go:128
↓ 74 callersMethodClose
()
cluster/service.go:104
↓ 63 callersMethodDebug
(msg string, keyVals ...any)
sidecar/attestation/internal/logging/logger.go:17
↓ 59 callersFunctionLidNS
LidNS generates a unique sha256 sum for identifying a provider's object name.
cluster/kube/builder/builder.go:339
↓ 58 callersMethodSet
([]byte)
operator/common/prepared_data.go:15
↓ 57 callersMethodString
()
cluster/types/v1beta3/clients/ip/ip.go:73
↓ 55 callersMethodLen
()
tools/certissuer/lego.go:57
↓ 51 callersMethodLen
()
cluster/kube/client_exec.go:39
↓ 48 callersMethodList
List lists all Manifests in the indexer. Objects returned here must be treated as read-only.
pkg/client/listers/akash.network/v2beta2/manifest.go:33
↓ 39 callersFunctionNew
New returns an empty Recorder.
tools/logging/logtest/recorder.go:33
↓ 38 callersMethodAkashV2beta2
()
pkg/client/clientset/versioned/clientset.go:33
↓ 38 callersMethodCreate
()
cluster/kube/builder/role.go:10
↓ 38 callersFunctionNew
New returns new session instance with provided details
session/session.go:20
↓ 30 callersMethodStop
()
cluster/kube/operators/clients/metallb/client.go:61
↓ 30 callersMethodUpdate
(obj *rbacv1.Role)
cluster/kube/builder/role.go:11
↓ 28 callersMethodName
()
cluster/kube/builder/manifest.go:13
↓ 25 callersMethodShutdown
()
cluster/types/v1beta3/types.go:210
↓ 24 callersMethodAdjust
(ReservationGroup, ...InventoryOption)
cluster/types/v1beta3/types.go:203
↓ 24 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
pkg/apis/akash.network/v2beta2/zz_generated.deepcopy.go:1066
↓ 24 callersMethodDup
()
cluster/types/v1beta3/types.go:206
↓ 24 callersMethodLog
()
session/session.go:12
↓ 24 callersMethodName
Name returns a unique identifier for this migration. This identifier is used to track whether the migration has been applied.
migrations/migrations.go:13
↓ 23 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
pkg/apis/akash.network/v2beta2/zz_generated.deepcopy.go:1060
↓ 22 callersMethodOrderID
()
cluster/types/v1beta3/reservation.go:18
↓ 22 callersMethodQuery
(ctx context.Context)
operator/inventory/types.go:168
↓ 21 callersMethodCalculatePrice
(ctx context.Context, req Request)
bidengine/pricing.go:34
↓ 21 callersMethodEntries
Entries returns a copy of all recorded entries in call order.
tools/logging/logtest/recorder.go:38
↓ 21 callersMethodManifest
()
service.go:40
↓ 21 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
tools/logging/logger.go:43
↓ 21 callersMethodPublish
Publish records synchronously, so an event published by the balance checker is visible before any later log entry. A bus built without a published cha
balance_checker_test.go:348
↓ 21 callersMethodReturn
(serviceLogs []*v1beta3.ServiceLog, err error)
mocks/cluster/ReadClient_mock.go:534
↓ 20 callersMethodSubscribe
()
balance_checker_test.go:343
↓ 19 callersFunctionAppendLeaseLabels
(lid mtypes.LeaseID, labels map[string]string)
cluster/kube/builder/builder.go:343
↓ 19 callersMethodDone
()
cluster/types/v1beta3/types.go:211
↓ 19 callersMethodReturn
(valCh <-chan struct{})
mocks/cluster/Service_mock.go:127
↓ 19 callersFunctionrunRouterTest
TODO - add some tests in here to make sure the IP operator calls work as intended
gateway/rest/router_test.go:88
↓ 18 callersMethodManifestGroup
()
cluster/kube/builder/builder.go:129
↓ 18 callersFunctionclientForTest
(t *testing.T, kobjs []runtime.Object, aobjs []runtime.Object)
cluster/kube/client_test.go:31
↓ 18 callersFunctiontestSetup
(t *testing.T, sdlFile string, serviceIdx int, lid mtypes.LeaseID)
cluster/kube/builder/deployment_test.go:19
↓ 18 callersMethodwaitForBlocksCommitted
(height int)
integration/e2e_test.go:885
↓ 17 callersMethodLoad
Load reads the migration state from the file. If the file doesn't exist, returns an empty state.
migrations/state.go:32
↓ 17 callersFunctionMakeShellScriptPricing
(path string, processLimit uint, runtimeLimit time.Duration)
bidengine/shellscript.go:28
↓ 17 callersFunctionNewStateManager
NewStateManager creates a new StateManager with the given state file path.
migrations/state.go:24
↓ 17 callersMethodWithDSeq
WithDSeq sets the DSeq 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/leaseid.go:48
↓ 17 callersFunctiondefaultGroupSpec
()
bidengine/pricing_test.go:93
↓ 16 callersMethodEvents
()
bidengine/service_test.go:192
↓ 16 callersMethodMetrics
()
cluster/types/v1beta3/types.go:204
↓ 16 callersMethodProvider
()
session/session.go:14
↓ 16 callersMethodResultChan
()
cluster/types/v1beta3/types.go:212
↓ 16 callersFunctionmakeOrderForTest
( t *testing.T, checkForExistingBid bool, bidState mvbeta.Bid_State, pricing BidPricingStrategy, callerCo
bidengine/order_test.go:170
↓ 15 callersMethodClient
()
session/session.go:13
↓ 15 callersMethodFromCRD
FromCRD returns LeaseID from LeaseID details
pkg/apis/akash.network/v2beta2/types.go:59
↓ 15 callersMethodGetLeaseID
()
cluster/types/v1beta3/clients/ip/ip.go:34
↓ 15 callersMethodManifests
Manifests returns an object that can list and get Manifests.
pkg/client/listers/akash.network/v2beta2/manifest.go:35
↓ 15 callersMethodNS
()
cluster/kube/builder/builder.go:264
↓ 15 callersFunctionNewDefaultSettings
()
cluster/kube/builder/settings.go:121
↓ 15 callersFunctionRegister
Register adds a migration to the registry. This should be called from init() functions in migration files. Panics if an error occurs.
migrations/registry.go:19
↓ 15 callersMethodWrite
(p []byte)
cmd/provider-services/cmd/helpers_test.go:66
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/inventory.go:199
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/providerhost.go:199
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:199
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/providerleasedip.go:199
↓ 15 callersMethodensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/inventoryrequest.go:199
↓ 15 callersFunctionnewBalanceChecker
( ctx context.Context, aqc aclient.QueryClient, accAddr sdk.AccAddress, clientSession session.Session, bu
balance_checker.go:102
↓ 14 callersMethodDeployments
(context.Context)
cluster/client.go:67
↓ 14 callersMethodWait
(wait <-chan struct{})
cluster/hostname.go:63
↓ 14 callersMethodlabels
()
cluster/kube/builder/role.go:40
↓ 14 callersFunctionwrapKubeCall
(label string, fn func() (T, error))
cluster/kube/client.go:89
↓ 13 callersFunctionNewClient
(ctx context.Context)
cluster/kube/operators/clients/inventory/client.go:62
↓ 13 callersMethodResultChan
ResultChan returns a chan which will receive all the events. If an error occurs or Stop() is called, the implementation will close this channel and re
cluster/types/v1beta3/clients/inventory/inventory.go:36
↓ 13 callersMethodcontainer
()
cluster/kube/builder/workload.go:112
↓ 13 callersFunctionmakeInventoryScaffold
(t *testing.T)
cluster/kube/operators/clients/inventory/client_test.go:202
↓ 13 callersFunctionnewInventory
(clState inventoryV1.Cluster)
cluster/kube/operators/clients/inventory/inventory.go:27
↓ 13 callersFunctiontestOrderID
(t *testing.T, seq uint32)
bidengine/service_test.go:155
↓ 13 callersMethodwaitForBlockchainEvent
(expEv interface{})
integration/e2e_test.go:900
↓ 13 callersFunctionwaitForInventory
(t *testing.T, ch <-chan ctypes.Inventory)
cluster/kube/operators/clients/inventory/client_test.go:286
↓ 12 callersMethodCopy
()
operator/inventory/config.go:153
↓ 12 callersFunctionDefaultConfig
DefaultConfig returns the configuration used when no option is set.
tools/logging/config.go:92
↓ 12 callersMethodGetExternalPort
()
cluster/types/v1beta3/clients/ip/ip.go:36
↓ 12 callersMethodGetName
GetName retrieves the value of the Name field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:224
↓ 12 callersFunctionMustKubeClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:134
↓ 12 callersFunctionMustPubSubFromCtx
(ctx context.Context)
tools/fromctx/context.go:226
↓ 12 callersMethodProviderLeasedIPs
ProviderLeasedIPs returns a ProviderLeasedIPInformer.
pkg/client/informers/externalversions/akash.network/v2beta2/interface.go:36
↓ 12 callersMethodReturn
()
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:437
↓ 12 callersFunctionmustConfig
(t *testing.T, level, format string, color bool, ts string, trace bool)
tools/logging/logger_test.go:17
↓ 12 callersFunctionnewOrdersFetcherScaffold
(t *testing.T)
bidengine/service_test.go:50
↓ 12 callersFunctionorderPage
(nextKey []byte, ids ...mtypes.OrderID)
bidengine/service_test.go:143
↓ 12 callersFunctionrequireFetcherExit
(t *testing.T, errch <-chan error)
bidengine/service_test.go:160
next →1–100 of 3,441, ranked by callers