Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
2,680 in github.com/akash-network/provider
⨍
Functions
2,680
◇
Types & classes
661
↓ 190 callers
Method
Error
()
utils/httperror/httperror.go:33
↓ 142 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
↓ 135 callers
Method
Done
()
cluster/service.go:96
↓ 127 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
↓ 110 callers
Method
String
()
operator/waiter/waiter.go:16
↓ 96 callers
Method
Return
(execResult v1beta3.ExecResult, err error)
mocks/cluster/Client_mock.go:562
↓ 92 callers
Function
run
()
cmd/provider-services/main.go:13
↓ 55 callers
Method
LeaseID
()
cluster/types/v1beta3/deployment.go:10
↓ 46 callers
Method
LeaseID
()
cluster/kube/builder/builder.go:77
↓ 46 callers
Function
LidNS
LidNS generates a unique sha256 sum for identifying a provider's object name.
cluster/kube/builder/builder.go:288
↓ 45 callers
Method
Close
()
cluster/service.go:94
↓ 45 callers
Method
Set
([]byte)
operator/common/prepared_data.go:15
↓ 43 callers
Method
String
()
cluster/types/v1beta3/clients/ip/ip.go:73
↓ 40 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
↓ 36 callers
Method
Len
()
cluster/kube/client_exec.go:39
↓ 33 callers
Method
AkashV2beta2
()
pkg/client/clientset/versioned/clientset.go:33
↓ 32 callers
Method
Error
()
operator/ip/types/error_response.go:34
↓ 30 callers
Method
Len
()
tools/certissuer/lego.go:57
↓ 28 callers
Method
Create
()
cluster/kube/builder/role.go:10
↓ 28 callers
Method
Error
()
gateway/rest/router_test.go:70
↓ 26 callers
Method
Stop
()
cluster/kube/operators/clients/metallb/client.go:61
↓ 25 callers
Method
Name
()
cluster/kube/builder/manifest.go:13
↓ 25 callers
Method
Update
(obj *rbacv1.Role)
cluster/kube/builder/role.go:11
↓ 22 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:1040
↓ 22 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:1034
↓ 22 callers
Method
Shutdown
()
cluster/types/v1beta3/types.go:75
↓ 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
Dup
()
cluster/types/v1beta3/types.go:71
↓ 19 callers
Method
Done
()
cluster/types/v1beta3/types.go:76
↓ 19 callers
Method
OrderID
()
cluster/types/v1beta3/reservation.go:18
↓ 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
Method
Query
(ctx context.Context)
operator/inventory/types.go:165
↓ 17 callers
Function
AppendLeaseLabels
(lid mtypes.LeaseID, labels map[string]string)
cluster/kube/builder/builder.go:292
↓ 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
Function
LogrFromCtx
(ctx context.Context)
tools/fromctx/context.go:52
↓ 16 callers
Method
ResultChan
()
cluster/types/v1beta3/types.go:77
↓ 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
↓ 15 callers
Method
Manifest
()
service.go:40
↓ 15 callers
Method
ManifestGroup
()
cluster/kube/builder/builder.go:78
↓ 15 callers
Method
Metrics
()
cluster/types/v1beta3/types.go:69
↓ 15 callers
Method
NS
()
cluster/kube/builder/builder.go:213
↓ 15 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
↓ 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
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
↓ 15 callers
Function
makeOrderForTest
( t *testing.T, checkForExistingBid bool, bidState mvbeta.Bid_State, pricing BidPricingStrategy, callerCo
bidengine/order_test.go:167
↓ 14 callers
Method
WithName
WithName sets the Name 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:66
↓ 13 callers
Method
Adjust
(ReservationGroup, ...InventoryOption)
cluster/types/v1beta3/types.go:68
↓ 13 callers
Method
FromCRD
FromCRD returns LeaseID from LeaseID details
pkg/apis/akash.network/v2beta2/types.go:59
↓ 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:60
↓ 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:35
↓ 13 callers
Method
Wait
(wait <-chan struct{})
cluster/hostname.go:63
↓ 13 callers
Function
clientForTest
(t *testing.T, kobjs []runtime.Object, aobjs []runtime.Object)
cluster/kube/client_test.go:28
↓ 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
↓ 12 callers
Method
Client
()
session/session.go:13
↓ 12 callers
Method
Copy
()
operator/inventory/config.go:129
↓ 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
Provider
()
session/session.go:14
↓ 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
Method
labels
()
cluster/kube/builder/role.go:40
↓ 12 callers
Method
waitForBlockchainEvent
(expEv interface{})
integration/e2e_test.go:787
↓ 12 callers
Function
wrapKubeCall
(label string, fn func() (T, error))
cluster/kube/client.go:77
↓ 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
Watch
(ctx context.Context, opts metav1.ListOptions)
operator/inventory/types.go:169
↓ 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
NewWorkloadBuilder
( log log.Logger, settings Settings, deployment IClusterDeployment, mani *crd.Manifest, serviceIdx int, )
cluster/kube/builder/workload.go:42
↓ 10 callers
Method
ServiceStatus
(context.Context, mtypes.LeaseID, string)
cluster/client.go:50
↓ 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:615
↓ 9 callers
Function
AddProviderOperationFlagsToCmd
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:54
↓ 9 callers
Method
Delete
(ctx context.Context, name string, opts v1.DeleteOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:43
↓ 9 callers
Method
Deployments
(context.Context)
cluster/client.go:67
↓ 9 callers
Method
Equals
(other hostnameID)
cluster/hostname.go:28
↓ 9 callers
Method
IsObjectRevisionLatest
(map[string]string)
cluster/kube/builder/builder.go:216
↓ 9 callers
Function
KubeClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:126
↓ 9 callers
Method
LeaseStatus
(context.Context, mtypes.LeaseID)
cluster/client.go:46
↓ 9 callers
Function
NewDefaultSettings
()
cluster/kube/builder/settings.go:101
↓ 9 callers
Function
NewRegistry
NewRegistry creates a new migration registry.
migrations/registry.go:71
↓ 9 callers
Method
ProviderHosts
ProviderHosts returns an object that can list and get ProviderHosts.
pkg/client/listers/akash.network/v2beta2/providerhost.go:35
↓ 9 callers
Method
SetCurrentVersion
SetCurrentVersion sets the current provider version. This should be called before GetPending or RunMigrations.
migrations/registry.go:79
↓ 9 callers
Function
StatusCodeFrom
(err error)
utils/httperror/httperror.go:45
↓ 9 callers
Function
addAuthFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:79
next →
1–100 of 2,680, ranked by callers