Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
2,942 in github.com/akash-network/provider
⨍
Functions
2,942
◇
Types & classes
699
↓ 5 callers
Function
initTestBackends
(t *testing.T)
tools/pconfig/bbolt_test.go:31
↓ 5 callers
Function
interconnectParamsWith
interconnectParamsWith constructs scheduler params for a given fabric + HCA prefix list, so individual tests (e.g. RoCE GID injection) can override th
cluster/kube/builder/interconnect_test.go:39
↓ 5 callers
Method
leaseExists
(ctx context.Context, lid mtypes.LeaseID)
cluster/kube/client.go:1219
↓ 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:195
↓ 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
↓ 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
Function
BuildSidecarPatch
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 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
IsCC
IsCC returns true if this TEE type represents a confidential compute workload.
cluster/types/v1beta3/types.go:84
↓ 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
↓ 4 callers
Function
MustGatewayConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:357
↓ 4 callers
Function
MustStartupChFromCtx
(ctx context.Context)
tools/fromctx/context.go:71
↓ 4 callers
Function
NewClient
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:93
↓ 4 callers
Function
NewIgnoreList
(config IgnoreListConfig)
operator/common/ignore_list.go:39
↓ 4 callers
Function
NewIngressToHTTPRouteMigration
()
migrations/ingress_to_httproute.go:32
↓ 4 callers
Function
NewNginxGateway
NewNginxGateway creates a new NGINX Gateway Fabric provider.
cluster/kube/gateway/nginx_gateway.go:28
↓ 4 callers
Function
NewStorage
NewStorage Creates a new AccountsStorage.
tools/certissuer/storage.go:193
↓ 4 callers
Function
OpenKubeConfig
(cfgPath string, log log.Logger)
cluster/kube/clientcommon/open_kube_config.go:19
↓ 4 callers
Method
PrepareAll
()
operator/common/operator_server.go:24
↓ 4 callers
Function
RecoverLeaseIDFromLabels
TODO - move to provider/cluster/util since this is generic
cluster/kube/clientcommon/recover_lease_id_from_labels.go:19
↓ 4 callers
Function
RuntimeClassForTEEType
RuntimeClassForTEEType maps a TEE type ("cpu", "cpu-gpu") to the corresponding Kata runtime class using the detected TEE platform ("tdx" or "snp").
cluster/kube/builder/workload.go:39
↓ 4 callers
Method
Save
Save writes the migration state to the file. Creates the directory if it doesn't exist.
migrations/state.go:55
↓ 4 callers
Method
Shutdown
Shutdown gracefully shuts down the server.
cluster/kube/webhook/webhook.go:74
↓ 4 callers
Method
StatusV1
(context.Context)
cluster/service.go:86
↓ 4 callers
Method
Validate
()
cluster/kube/builder/builder.go:256
↓ 4 callers
Function
ValidateSettings
(settings Settings)
cluster/kube/builder/settings.go:87
↓ 4 callers
Function
WithCC
()
cluster/types/v1beta3/types.go:112
↓ 4 callers
Method
automountServiceAccountToken
()
cluster/kube/builder/workload.go:673
↓ 4 callers
Function
fakeIBNode
fakeIBNode constructs a fixture mirroring `/sys/class/infiniband` on a real node: each device is a directory (symlink target in production) with `port
operator/inventory/infiniband_test.go:14
↓ 4 callers
Method
getStatusV1
(state *inventoryServiceState)
cluster/inventory.go:934
↓ 4 callers
Function
interconnectParams
()
cluster/kube/builder/interconnect_test.go:32
↓ 4 callers
Function
makeBaseCluster
()
cluster/kube/operators/clients/inventory/client_test.go:318
↓ 4 callers
Function
makeInventoryScaffold
(t *testing.T, leaseQty uint)
cluster/inventory_test.go:308
↓ 4 callers
Function
newDeploymentMonitor
(dm *deploymentManager)
cluster/monitor.go:48
↓ 4 callers
Function
newPreparedResult
()
operator/common/prepared_data.go:28
↓ 4 callers
Method
podAnnotations
()
cluster/kube/builder/workload.go:358
↓ 4 callers
Function
queryAppWithHostname
nolint: unparam
integration/test_helpers.go:118
↓ 4 callers
Method
replicas
()
cluster/kube/builder/workload.go:383
↓ 4 callers
Function
requestOwner
(req *http.Request)
gateway/rest/middleware.go:59
↓ 4 callers
Function
requestProvider
(req *http.Request)
gateway/rest/middleware.go:55
↓ 4 callers
Function
run_kubectl
(*args, ojson = True, stdin_data = None)
script/provider_migrate_to_hostname_operator.py:48
↓ 4 callers
Method
runtimeClass
()
cluster/kube/builder/workload.go:368
↓ 4 callers
Method
serviceAccountName
()
cluster/kube/builder/workload.go:682
↓ 4 callers
Function
testCertHelper
(t *testing.T, test *routerTest)
gateway/rest/router_test.go:168
↓ 4 callers
Method
unreserve
(order mtypes.OrderID)
cluster/inventory.go:228
↓ 3 callers
Method
ArchiveDomain
(string)
tools/certissuer/storage.go:87
↓ 3 callers
Method
AttestationQuote
AttestationQuote forwards an attestation quote request to the sidecar running inside a confidential compute pod. The requestBody (containing the tenan
cluster/client.go:106
↓ 3 callers
Function
BuildRole
BuildRole creates a new Role builder for the given workload. It uses the default PolicyRuleRegistry which includes mappings for all supported resource
cluster/kube/builder/role.go:24
↓ 3 callers
Method
CanReserveHostnames
(hostnames []string, ownerAddr sdktypes.Address)
cluster/types/v1beta3/types.go:289
↓ 3 callers
Method
Cluster
()
service.go:41
↓ 3 callers
Method
ClusterParams
()
cluster/types/v1beta3/deployment.go:12
↓ 3 callers
Method
ClusterParams
()
cluster/kube/builder/builder.go:121
↓ 3 callers
Method
CreateRequest
(ctx context.Context, method, path string, body io.Reader)
cluster/util/service_discovery_agent_types.go:20
↓ 3 callers
Method
Deploy
(ctx context.Context, deployment ctypes.IDeployment)
cluster/client.go:65
↓ 3 callers
Function
DetectPort
(ctx context.Context, flags *flag.FlagSet, flag string, container, portName string)
operator/common/operator_flags.go:55
↓ 3 callers
Method
Discovery
()
pkg/client/clientset/versioned/clientset.go:32
↓ 3 callers
Function
ErrGroupFromCtx
(ctx context.Context)
tools/fromctx/context.go:195
↓ 3 callers
Method
ForwardedPortStatus
(context.Context, mtypes.LeaseID)
cluster/client.go:47
↓ 3 callers
Method
FromVersion
FromVersion returns the provider version this migration applies from. Migrations will only run when upgrading from a version < FromVersion. For fresh
migrations/migrations.go:22
↓ 3 callers
Method
GenerateRules
GenerateRules generates all policy rules for the given permissions
cluster/kube/builder/permissions.go:85
↓ 3 callers
Method
GetAccountPublicKey
(context.Context, sdk.Address)
tools/pconfig/pconfig.go:26
↓ 3 callers
Method
GetAccountPublicKey
(context.Context, sdk.Address)
types/types.go:20
↓ 3 callers
Method
GetAddress
()
gateway/rest/integration_test.go:52
↓ 3 callers
Method
GetClient
(ctx context.Context, isHTTPS, secure bool)
cluster/util/service_discovery_agent_types.go:15
↓ 3 callers
Function
GetEndpointQuantityOfResourceGroup
(resources dtypes.ResourceGroup, kind rtypes.Endpoint_Kind)
cluster/util/endpoint_quantity.go:8
↓ 3 callers
Method
GetIPAddressStatus
(context.Context, mtypes.OrderID)
cluster/types/v1beta3/clients/ip/ip.go:72
↓ 3 callers
Method
GetIPAddressUsage
(ctx context.Context)
cluster/kube/operators/clients/metallb/client.go:53
↓ 3 callers
Method
GetManifestGroup
(context.Context, mtypes.LeaseID)
cluster/client.go:53
↓ 3 callers
Method
GetProtocol
()
cluster/types/v1beta3/clients/ip/ip.go:39
↓ 3 callers
Method
HasAny
HasAny returns true if any permissions are defined
cluster/kube/builder/permissions.go:21
↓ 3 callers
Method
HostnameService
()
cluster/service.go:97
↓ 3 callers
Method
Informer
()
pkg/client/informers/externalversions/generic.go:32
↓ 3 callers
Method
Less
(i, j int)
tools/certissuer/lego.go:61
↓ 3 callers
Function
MakeIPSharingKey
(lID mtypes.LeaseID, endpointName string)
cluster/util/ip_sharing_key.go:16
↓ 3 callers
Function
ManifestSubmitErrorToHTTP
ManifestSubmitErrorToHTTP maps manifest submit errors to HttpError for gateway responses.
manifest/gateway.go:13
↓ 3 callers
Function
NewDeployment
(workload *Workload)
cluster/kube/builder/deployment.go:22
↓ 3 callers
Function
NewInfo
()
version/version.go:102
↓ 3 callers
Function
NewMemory
()
tools/pconfig/memory/memory.go:40
↓ 3 callers
Function
NewPolicyRuleRegistry
NewPolicyRuleRegistry creates a new registry with default resource mappings
cluster/kube/builder/permissions.go:67
↓ 3 callers
Method
Prune
()
operator/common/ignore_list.go:23
↓ 3 callers
Method
Return
(providerStatus *rest.ProviderStatus, err error)
mocks/client/StatusClient_mock.go:94
↓ 3 callers
Method
Return
(err error)
mocks/manifest/Client_mock.go:161
← previous
next →
201–300 of 2,942, ranked by callers