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
↓ 9 callers
Function
createMocks
()
gateway/rest/integration_test.go:455
↓ 9 callers
Function
makeHostnameScaffold
(t *testing.T, blockedHostnames []string)
cluster/hostname_test.go:21
↓ 9 callers
Function
multipleReplicasGenReservations
(cpuUnits, gpuUnits uint64, count uint32)
cluster/kube/operators/clients/inventory/client_test.go:706
↓ 9 callers
Function
setupProviderClient
(ctx context.Context, cctx sdkclient.Context, flags *pflag.FlagSet, cl aclient.QueryClient, paddr sdk.AccAddre
cmd/provider-services/cmd/helpers.go:267
↓ 9 callers
Function
updateAkashLabels
(currLabels, newLabels map[string]string)
cluster/kube/builder/builder.go:302
↓ 9 callers
Function
withServer
( ctx context.Context, t testing.TB, keys []cryptotypes.PrivKey, pclient provider.Client, mocks integrati
gateway/rest/integration_test.go:516
↓ 8 callers
Function
DefaultErrorHandler
(w http.ResponseWriter, _ *http.Request, err error)
gateway/rest/auth.go:32
↓ 8 callers
Method
Exec
(ctx context.Context, lID mtypes.LeaseID, service string, podIndex uint, cmd []string, stdin io.Read
cluster/client.go:68
↓ 8 callers
Method
GetName
GetName retrieves the value of the Name field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:224
↓ 8 callers
Method
GetResourceVersion
()
cluster/kube/builder/builder.go:82
↓ 8 callers
Function
MustKubeConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:117
↓ 8 callers
Function
New
New returns new session instance with provided details
session/session.go:20
↓ 8 callers
Method
ReserveHostnames
(ctx context.Context, hostnames []string, leaseID mtypes.LeaseID)
cluster/types/v1beta3/types.go:152
↓ 8 callers
Method
Resources
()
cluster/types/v1beta3/reservation.go:9
↓ 8 callers
Method
Return
()
mocks/cluster/types/clients/ip/Client_mock.go:244
↓ 8 callers
Method
SetProviderVersion
SetProviderVersion sets the provider version in the state.
migrations/state.go:109
↓ 8 callers
Method
WithOwner
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
↓ 8 callers
Function
kubeSelectorForLease
(dst *strings.Builder, lID mtypes.LeaseID)
cluster/kube/client.go:834
↓ 8 callers
Function
queryClientOrNil
(cl aclient.Client)
cmd/provider-services/cmd/helpers.go:356
↓ 8 callers
Function
writeJSON
(log log.Logger, w http.ResponseWriter, obj interface{})
gateway/rest/router.go:871
↓ 7 callers
Method
Any
()
cluster/kube/builder/service.go:18
↓ 7 callers
Function
BuildService
(workload *Workload, requireNodePort bool)
cluster/kube/builder/service.go:28
↓ 7 callers
Method
Deployment
Deployment returns the cluster.Deployment that the saved manifest represents.
pkg/apis/akash.network/v2beta2/manifest.go:177
↓ 7 callers
Method
GetAuditorAttributeSignatures
(auditor string)
bidengine/provider_attributes.go:55
↓ 7 callers
Method
GetServiceName
()
cluster/types/v1beta3/clients/ip/ip.go:35
↓ 7 callers
Method
Hostname
()
service.go:42
↓ 7 callers
Method
MarkApplied
MarkApplied adds a migration name to the applied list and saves the state.
migrations/state.go:92
↓ 7 callers
Function
NewHttpError
(statusCode int, err error)
utils/httperror/httperror.go:41
↓ 7 callers
Function
NewNullWaiter
()
operator/waiter/waiter.go:25
↓ 7 callers
Function
PubSubFromCtx
(ctx context.Context)
tools/fromctx/context.go:218
↓ 7 callers
Method
RESTClient
()
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:30
↓ 7 callers
Method
Return
(leaseID v1.LeaseID)
mocks/cluster/types/IDeployment_mock.go:120
↓ 7 callers
Method
Return
(resourceGroup v1beta4.ResourceGroup)
mocks/cluster/types/ReservationGroup_mock.go:167
↓ 7 callers
Method
Return
(err error)
mocks/cluster/types/HostnameServiceClient_mock.go:203
↓ 7 callers
Method
WaitForAll
(ctx context.Context)
operator/waiter/waiter.go:11
↓ 7 callers
Method
Watch
(ctx context.Context, opts v1.ListOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:47
↓ 7 callers
Method
WithKind
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 callers
Method
cleanup
(get getFileName, domain string)
tools/certissuer/storage.go:102
↓ 7 callers
Function
hostnameIDFromLeaseID
(lID mtypes.LeaseID)
cluster/hostname.go:34
↓ 7 callers
Function
newInventoryService
( ctx context.Context, config Config, log log.Logger, sub pubsub.Subscriber, client Client, waiter waite
cluster/inventory.go:113
↓ 7 callers
Function
requestLeaseID
(req *http.Request)
gateway/rest/middleware.go:35
↓ 7 callers
Function
withExecTestScaffold
(t *testing.T, changePod func(pod *corev1.Pod) error, test func(s *execScaffold))
cluster/kube/client_exec_test.go:85
↓ 6 callers
Method
AddAccount
(context.Context, sdk.Address, cryptotypes.PubKey)
tools/pconfig/pconfig.go:32
↓ 6 callers
Method
GetHostname
()
cluster/types/v1beta3/clients/hostname/hostname.go:49
↓ 6 callers
Method
GetPending
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 callers
Method
IsApplied
IsApplied checks if a migration with the given name has been applied.
migrations/state.go:76
↓ 6 callers
Function
KubeConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:103
↓ 6 callers
Function
MustErrGroupFromCtx
(ctx context.Context)
tools/fromctx/context.go:209
↓ 6 callers
Method
Register
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 callers
Method
Wait
()
operator/inventory/nodes.go:81
↓ 6 callers
Method
WithProvider
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 callers
Function
releaseCmdLock
()
testutil/provider/provider.go:29
↓ 6 callers
Function
requestClaims
(req *http.Request)
gateway/rest/middleware.go:63
↓ 6 callers
Function
requireMsgType
(t *testing.T, res interface{})
bidengine/order_test.go:242
↓ 6 callers
Method
selectorLabels
()
cluster/kube/builder/builder.go:249
↓ 6 callers
Function
setupProviderAttributesTestScaffold
( t *testing.T, ttl time.Duration, clientFactory func(scaffold *providerAttributesTestScaffold) *clientmock
bidengine/provider_attributes_test.go:36
↓ 6 callers
Function
showErrorToUser
(err error)
cmd/provider-services/cmd/run.go:880
↓ 6 callers
Method
stop
(t *testing.T)
bidengine/provider_attributes_test.go:65
↓ 5 callers
Method
AddPreparedEndpoint
(path string, prepare PrepareFn)
operator/common/operator_server.go:22
↓ 5 callers
Function
CmdSetContextValue
(cmd *cobra.Command, key, val interface{})
tools/fromctx/context.go:48
↓ 5 callers
Method
DoRequest
(req *http.Request)
cluster/util/service_discovery_agent_types.go:21
↓ 5 callers
Method
ForModule
(string)
session/session.go:15
↓ 5 callers
Method
GetSharingKey
()
cluster/types/v1beta3/clients/ip/ip.go:38
↓ 5 callers
Method
Group
(t testing.TB)
testutil/manifest/v2beta2/manifest.go:27
↓ 5 callers
Method
InformerFor
(obj runtime.Object, newFunc NewInformerFunc)
pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go:36
↓ 5 callers
Function
NewOperatorHTTP
()
operator/common/operator_server.go:32
↓ 5 callers
Function
NewOperatorWaiter
(ctx context.Context, logger log.Logger, waitOn ...Waitable)
operator/waiter/waiter.go:36
↓ 5 callers
Method
PrepareHostnamesForTransfer
(ctx context.Context, hostnames []string, leaseID mtypes.LeaseID)
cluster/types/v1beta3/types.go:155
↓ 5 callers
Method
RunMigrations
RunMigrations executes all pending migrations. Returns the number of migrations that were successfully executed. After successful execution, updates t
migrations/registry.go:140
↓ 5 callers
Method
Status
(context.Context)
cluster/service.go:85
↓ 5 callers
Method
StorageClassesForNode
(name string)
operator/inventory/config.go:315
↓ 5 callers
Method
applyEvent
(ctx context.Context, ev cip.ResourceEvent)
operator/ip/operator.go:234
↓ 5 callers
Method
available
()
cluster/kube/resourcetypes.go:92
↓ 5 callers
Method
container
()
cluster/kube/builder/workload.go:81
↓ 5 callers
Method
get
()
operator/common/prepared_data.go:56
↓ 5 callers
Function
initTestBackends
(t *testing.T)
tools/pconfig/bbolt_test.go:31
↓ 5 callers
Function
markRPCServerError
(err error)
cmd/provider-services/cmd/helpers.go:228
↓ 5 callers
Function
newestLease
(leases []mvbeta.QueryLeaseResponse)
integration/e2e_test.go:725
↓ 5 callers
Function
queryAppWithRetries
nolint: unparam
integration/test_helpers.go:64
↓ 5 callers
Method
reserve
(order mtypes.OrderID, resources dtypes.ResourceGroup)
cluster/inventory.go:185
↓ 5 callers
Function
runIPOperator
(t *testing.T, run bool, aobj []runtime.Object, prerun, fn func(ctx context.Context, s ipOperatorScaffold))
operator/ip/operator_test.go:42
↓ 5 callers
Function
takeCmdLock
()
testutil/provider/provider.go:25
↓ 5 callers
Function
writeClusterError
(w http.ResponseWriter, err error)
gateway/rest/router.go:67
↓ 5 callers
Function
writeJSON
(w http.ResponseWriter, obj interface{})
operator/psutil.go:220
↓ 4 callers
Method
AddAccountCertificate
(context.Context, sdk.Address, *x509.Certificate, crypto.PublicKey)
tools/pconfig/pconfig.go:34
↓ 4 callers
Method
AddError
(id mtypes.LeaseID, err error, extra ...string)
operator/common/ignore_list.go:22
↓ 4 callers
Function
AkashClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:149
↓ 4 callers
Function
ApplyToContext
(ctx context.Context, config map[interface{}]interface{})
tools/fromctx/context.go:366
↓ 4 callers
Method
BuildAnnotations
BuildAnnotations converts directive options to implementation-specific annotations. These annotations are applied to the HTTPRoute metadata and contro
cluster/kube/gateway/gateway.go:21
↓ 4 callers
Method
Close
()
tools/pconfig/pconfig.go:47
↓ 4 callers
Method
Flag
()
operator/common/prepared_data.go:14
↓ 4 callers
Method
GetAccountCertificate
(context.Context, sdk.Address, *big.Int)
tools/pconfig/pconfig.go:27
↓ 4 callers
Function
GetAll
GetAll returns all registered migrations.
migrations/registry.go:40
↓ 4 callers
Method
GetAttributes
()
bidengine/provider_attributes.go:56
↓ 4 callers
Method
GetPort
()
cluster/types/v1beta3/clients/ip/ip.go:37
↓ 4 callers
Method
GetProviderVersion
GetProviderVersion returns the provider version from the state.
migrations/state.go:120
↓ 4 callers
Method
GetRouter
()
operator/common/operator_server.go:23
↓ 4 callers
Method
IsFlagged
(id mtypes.LeaseID)
operator/common/ignore_list.go:15
↓ 4 callers
Method
LeaseID
()
cluster/types/v1beta3/deployment.go:25
↓ 4 callers
Function
MakeRandomRangePricing
()
bidengine/pricing.go:249
← previous
next →
101–200 of 2,680, ranked by callers