Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
2,943 in github.com/akash-network/provider
⨍
Functions
2,943
◇
Types & classes
699
↓ 198 callers
Method
Error
()
utils/httperror/httperror.go:33
↓ 144 callers
Method
Get
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
↓ 138 callers
Method
Done
()
cluster/service.go:96
↓ 136 callers
Method
Run
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
↓ 118 callers
Method
String
()
operator/waiter/waiter.go:16
↓ 97 callers
Method
Return
(execResult v1beta3.ExecResult, err error)
mocks/cluster/Client_mock.go:562
↓ 92 callers
Function
run
()
cmd/provider-services/main.go:13
↓ 83 callers
Method
Info
(int, string, ...interface{})
operator/inventory/node-discovery_test.go:35
↓ 72 callers
Method
Is
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
↓ 57 callers
Method
LeaseID
()
cluster/types/v1beta3/deployment.go:10
↓ 57 callers
Method
LeaseID
()
cluster/kube/builder/builder.go:118
↓ 53 callers
Method
Set
([]byte)
operator/common/prepared_data.go:15
↓ 49 callers
Method
Close
()
cluster/service.go:94
↓ 48 callers
Function
LidNS
LidNS generates a unique sha256 sum for identifying a provider's object name.
cluster/kube/builder/builder.go:329
↓ 47 callers
Method
String
()
cluster/types/v1beta3/clients/ip/ip.go:73
↓ 42 callers
Method
List
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
↓ 40 callers
Method
Len
()
cluster/kube/client_exec.go:39
↓ 34 callers
Method
Len
()
tools/certissuer/lego.go:57
↓ 33 callers
Method
AkashV2beta2
()
pkg/client/clientset/versioned/clientset.go:33
↓ 31 callers
Method
Error
()
gateway/rest/router_test.go:70
↓ 29 callers
Method
Create
()
cluster/kube/builder/role.go:10
↓ 26 callers
Method
Name
()
cluster/kube/builder/manifest.go:13
↓ 26 callers
Method
Stop
()
cluster/kube/operators/clients/metallb/client.go:61
↓ 26 callers
Method
Update
(obj *rbacv1.Role)
cluster/kube/builder/role.go:11
↓ 24 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
pkg/apis/akash.network/v2beta2/zz_generated.deepcopy.go:1066
↓ 24 callers
Method
Dup
()
cluster/types/v1beta3/types.go:206
↓ 23 callers
Method
DeepCopyInto
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 callers
Method
Adjust
(ReservationGroup, ...InventoryOption)
cluster/types/v1beta3/types.go:203
↓ 22 callers
Method
Shutdown
()
cluster/types/v1beta3/types.go:210
↓ 21 callers
Method
CalculatePrice
(ctx context.Context, req Request)
bidengine/pricing.go:34
↓ 21 callers
Method
Log
()
session/session.go:12
↓ 21 callers
Method
Return
(serviceLogs []*v1beta3.ServiceLog, err error)
mocks/cluster/ReadClient_mock.go:534
↓ 20 callers
Method
Error
()
operator/ip/types/error_response.go:34
↓ 20 callers
Method
OrderID
()
cluster/types/v1beta3/reservation.go:18
↓ 19 callers
Method
Done
()
cluster/types/v1beta3/types.go:211
↓ 19 callers
Method
Query
(ctx context.Context)
operator/inventory/types.go:167
↓ 19 callers
Method
Return
(valCh <-chan struct{})
mocks/cluster/Service_mock.go:127
↓ 19 callers
Function
runRouterTest
TODO - add some tests in here to make sure the IP operator calls work as intended
gateway/rest/router_test.go:88
↓ 18 callers
Function
LogrFromCtx
(ctx context.Context)
tools/fromctx/context.go:52
↓ 17 callers
Function
AppendLeaseLabels
(lid mtypes.LeaseID, labels map[string]string)
cluster/kube/builder/builder.go:333
↓ 17 callers
Method
Error
(err error, msg string, keysAndValues ...interface{})
operator/inventory/node-discovery_test.go:37
↓ 17 callers
Function
MakeShellScriptPricing
(path string, processLimit uint, runtimeLimit time.Duration)
bidengine/shellscript.go:28
↓ 17 callers
Function
NewStateManager
NewStateManager creates a new StateManager with the given state file path.
migrations/state.go:24
↓ 17 callers
Function
defaultGroupSpec
()
bidengine/pricing_test.go:93
↓ 17 callers
Method
waitForBlocksCommitted
(height int)
integration/e2e_test.go:772
↓ 16 callers
Method
Manifest
()
service.go:40
↓ 16 callers
Method
ManifestGroup
()
cluster/kube/builder/builder.go:119
↓ 16 callers
Method
Metrics
()
cluster/types/v1beta3/types.go:204
↓ 16 callers
Method
Name
Name returns a unique identifier for this migration. This identifier is used to track whether the migration has been applied.
migrations/migrations.go:13
↓ 16 callers
Method
ResultChan
()
cluster/types/v1beta3/types.go:212
↓ 16 callers
Method
WithDSeq
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
↓ 16 callers
Function
makeOrderForTest
( t *testing.T, checkForExistingBid bool, bidState mvbeta.Bid_State, pricing BidPricingStrategy, callerCo
bidengine/order_test.go:167
↓ 15 callers
Method
NS
()
cluster/kube/builder/builder.go:254
↓ 15 callers
Function
Register
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 callers
Method
WithName
(string)
operator/inventory/node-discovery_test.go:57
↓ 15 callers
Method
ensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/inventory.go:199
↓ 15 callers
Method
ensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/providerhost.go:199
↓ 15 callers
Method
ensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:199
↓ 15 callers
Method
ensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/providerleasedip.go:199
↓ 15 callers
Method
ensureObjectMetaApplyConfigurationExists
()
pkg/client/applyconfiguration/akash.network/v2beta2/inventoryrequest.go:199
↓ 14 callers
Method
FromCRD
FromCRD returns LeaseID from LeaseID details
pkg/apis/akash.network/v2beta2/types.go:59
↓ 14 callers
Function
clientForTest
(t *testing.T, kobjs []runtime.Object, aobjs []runtime.Object)
cluster/kube/client_test.go:30
↓ 14 callers
Method
labels
()
cluster/kube/builder/role.go:40
↓ 13 callers
Method
GetLeaseID
()
cluster/types/v1beta3/clients/ip/ip.go:34
↓ 13 callers
Function
NewClient
(ctx context.Context)
cluster/kube/operators/clients/inventory/client.go:62
↓ 13 callers
Method
Provider
()
session/session.go:14
↓ 13 callers
Method
ResultChan
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 callers
Method
Wait
(wait <-chan struct{})
cluster/hostname.go:63
↓ 13 callers
Method
container
()
cluster/kube/builder/workload.go:112
↓ 13 callers
Function
makeInventoryScaffold
(t *testing.T)
cluster/kube/operators/clients/inventory/client_test.go:202
↓ 13 callers
Function
waitForInventory
(t *testing.T, ch <-chan ctypes.Inventory)
cluster/kube/operators/clients/inventory/client_test.go:286
↓ 13 callers
Function
wrapKubeCall
(label string, fn func() (T, error))
cluster/kube/client.go:77
↓ 12 callers
Method
Client
()
session/session.go:13
↓ 12 callers
Method
Copy
()
operator/inventory/config.go:153
↓ 12 callers
Method
GetExternalPort
()
cluster/types/v1beta3/clients/ip/ip.go:36
↓ 12 callers
Method
Load
Load reads the migration state from the file. If the file doesn't exist, returns an empty state.
migrations/state.go:32
↓ 12 callers
Function
MustKubeClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:140
↓ 12 callers
Function
MustPubSubFromCtx
(ctx context.Context)
tools/fromctx/context.go:232
↓ 12 callers
Method
ProviderLeasedIPs
ProviderLeasedIPs returns a ProviderLeasedIPInformer.
pkg/client/informers/externalversions/akash.network/v2beta2/interface.go:36
↓ 12 callers
Method
Return
()
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:437
↓ 12 callers
Function
newInventory
(clState inventoryV1.Cluster)
cluster/kube/operators/clients/inventory/inventory.go:27
↓ 12 callers
Method
waitForBlockchainEvent
(expEv interface{})
integration/e2e_test.go:787
↓ 11 callers
Function
NewWorkloadBuilder
( log log.Logger, settings Settings, deployment IClusterDeployment, mani *crd.Manifest, serviceIdx int, )
cluster/kube/builder/workload.go:73
↓ 11 callers
Method
Return
(providerStatus *rest.ProviderStatus, err error)
mocks/client/Client_mock.go:281
↓ 11 callers
Method
Return
(orderID v1.OrderID)
mocks/cluster/types/Reservation_mock.go:210
↓ 11 callers
Method
ServiceStatus
(context.Context, mtypes.LeaseID, string)
cluster/client.go:50
↓ 11 callers
Method
Watch
(ctx context.Context, opts metav1.ListOptions)
operator/inventory/types.go:171
↓ 11 callers
Function
strPtr
(s builder.RuntimeClass)
cluster/kube/webhook/sidecar_test.go:14
↓ 11 callers
Function
testSetup
(t *testing.T, sdlFile string, serviceIdx int, lid mtypes.LeaseID)
cluster/kube/builder/deployment_test.go:19
↓ 10 callers
Function
AddProviderOperationFlagsToCmd
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:54
↓ 10 callers
Method
Delete
(ctx context.Context, name string, opts v1.DeleteOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:43
↓ 10 callers
Method
DeleteCollection
(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:44
↓ 10 callers
Function
MakeScalePricing
( cpuScale decimal.Decimal, memoryScale decimal.Decimal, storageScale Storage, endpointScale decimal.Decim
bidengine/pricing.go:89
↓ 10 callers
Method
ManifestGroup
()
cluster/types/v1beta3/interfaces.go:8
↓ 10 callers
Method
Manifests
Manifests returns an object that can list and get Manifests.
pkg/client/listers/akash.network/v2beta2/manifest.go:35
↓ 10 callers
Function
ShouldInject
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 callers
Function
StatusCodeFrom
(err error)
utils/httperror/httperror.go:45
↓ 10 callers
Function
addAuthFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:79
↓ 10 callers
Function
matchInterconnectResourceName
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:797
↓ 10 callers
Function
multipleReplicasGenNodes
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
next →
1–100 of 2,943, ranked by callers