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
↓ 1 callers
Method
handleRequest
(req serviceDiscoveryRequest)
cluster/util/service_discovery_agent.go:108
↓ 1 callers
Method
handleUpdate
(version []byte)
manifest/manager.go:126
↓ 1 callers
Method
handleUpdate
(ctx context.Context)
cluster/manager.go:134
↓ 1 callers
Function
hostCIDR
hostCIDR returns a single-host CIDR string for the given IP, using /32 for IPv4 and /128 for IPv6.
cluster/kube/builder/netpol.go:317
↓ 1 callers
Method
imagePullSecrets
()
cluster/kube/builder/workload.go:397
↓ 1 callers
Function
ingressRules
(hostname string, kubeServiceName string, kubeServicePort int32)
operator/hostname/operator.go:764
↓ 1 callers
Function
ingressRules
(hostname string, kubeServiceName string, kubeServicePort int32)
cluster/kube/client_ingress.go:160
↓ 1 callers
Function
initDNSProviders
(providers []string)
tools/certissuer/lego.go:384
↓ 1 callers
Method
initNodeInfo
(gpusIDs RegistryGPUVendors, knode *corev1.Node)
operator/inventory/node-discovery.go:637
↓ 1 callers
Function
inventoryRun
(ctx context.Context, endpoint string, invch chan<- inventoryState)
cluster/kube/operators/clients/inventory/client.go:376
↓ 1 callers
Method
isEventIgnored
(ev chostname.ResourceEvent)
operator/hostname/operator.go:318
↓ 1 callers
Function
isNodeReady
(conditions []corev1.NodeCondition)
operator/inventory/node-discovery.go:804
↓ 1 callers
Function
isPodAllocated
(status corev1.PodStatus)
operator/inventory/node-discovery.go:344
↓ 1 callers
Method
isStaleBid
(bid mvbeta.Bid)
bidengine/order.go:159
↓ 1 callers
Function
isValidHTTPStatusCode
(codeStr string)
cluster/kube/gateway/nginx_gateway.go:167
↓ 1 callers
Function
kubeConfig
(t testing.TB)
pkg/apis/akash.network/v2beta2/k8s_integration_test.go:93
↓ 1 callers
Function
kubeNginxIngressAnnotations
(directive chostname.ConnectToDeploymentDirective)
operator/hostname/operator.go:788
↓ 1 callers
Function
kubeNginxIngressAnnotations
(directive chostname.ConnectToDeploymentDirective)
cluster/kube/client_ingress.go:35
↓ 1 callers
Function
kubeSelectorForLease
(dst *strings.Builder, lID mtypes.LeaseID)
operator/hostname/operator.go:832
↓ 1 callers
Function
leaseEventsCmd
()
cmd/provider-services/cmd/leaseEvents.go:15
↓ 1 callers
Function
leaseIDFromFlags
(flags *pflag.FlagSet, owner string)
cmd/provider-services/cmd/helpers.go:108
↓ 1 callers
Function
leaseKubeEventsHandler
(log log.Logger, cclient cluster.ReadClient)
gateway/rest/router.go:515
↓ 1 callers
Function
leaseLogsHandler
(log log.Logger, cclient cluster.ReadClient)
gateway/rest/router.go:638
↓ 1 callers
Function
leaseServiceStatusHandler
(log log.Logger, cclient cluster.ReadClient)
gateway/rest/router.go:627
↓ 1 callers
Function
leaseShellHandler
(log log.Logger, cclient cluster.Client)
gateway/rest/router.go:233
↓ 1 callers
Function
leaseShellPingHandler
(ctx context.Context, wg *sync.WaitGroup, ws *websocket.Conn)
gateway/rest/router_shell.go:17
↓ 1 callers
Function
leaseShellWebsocketHandler
(log log.Logger, wg *sync.WaitGroup, shellWs *websocket.Conn, stdinPipeOut io.Writer, terminalSizeUpdate chan<
gateway/rest/router_shell.go:35
↓ 1 callers
Function
leaseStatusHandler
(log log.Logger, cclient cluster.ReadClient, clusterSettings map[interface{}]interface{})
gateway/rest/router.go:539
↓ 1 callers
Function
leasedIPStatus
(state *inventoryServiceState)
cluster/inventory.go:435
↓ 1 callers
Function
loadConfig
(cfg string, defaultOnErr bool)
operator/inventory/config.go:59
↓ 1 callers
Function
loadPrivateKey
(file string)
tools/certissuer/storage.go:578
↓ 1 callers
Method
locateServiceFromManifest
(ctx context.Context, leaseID mtypes.LeaseID, serviceName string, externalPort uint32)
operator/hostname/operator.go:386
↓ 1 callers
Function
logsResourceMapping
logsResourceMapping returns the policy mapping for "logs" resource
cluster/kube/builder/permissions.go:123
↓ 1 callers
Method
lookup
(order mtypes.OrderID, resources dtypes.ResourceGroup)
cluster/inventory.go:168
↓ 1 callers
Function
makeGlobalServiceNameFromBasename
(basename string)
cluster/kube/builder/builder.go:283
↓ 1 callers
Function
makeMetricsRouter
()
cmd/provider-services/cmd/metrics.go:9
↓ 1 callers
Function
makeMocks
(s *orderTestScaffold)
bidengine/order_test.go:69
↓ 1 callers
Function
manifestGroupToCRD
manifestGroupToCRD returns manifest group instance from akash group
pkg/apis/akash.network/v2beta2/manifest.go:221
↓ 1 callers
Function
manifestServiceExposeFromAkash
(amse mani.ServiceExpose)
pkg/apis/akash.network/v2beta2/manifest.go:400
↓ 1 callers
Function
manifestServiceFromProvider
(ams mani.Service, schedulerParams *SchedulerParams)
pkg/apis/akash.network/v2beta2/manifest.go:309
↓ 1 callers
Method
maybeFetchData
maybeFetchData try fetch deployment and lease data if there is cached result the function returns nil channel which signals caller to process events
manifest/manager.go:234
↓ 1 callers
Method
maybeRemoveWatchdog
(deploymentID dtypes.DeploymentID)
manifest/service.go:343
↓ 1 callers
Method
maybeScheduleStop
()
manifest/manager.go:308
↓ 1 callers
Method
maybeStart
(ctx context.Context, auditor string)
bidengine/provider_attributes.go:296
↓ 1 callers
Function
migrate
()
cmd/provider-services/cmd/migrate.go:7
↓ 1 callers
Function
migrateEndpointHandler
(log log.Logger, clusterService cluster.Service, client cluster.Client)
gateway/rest/router_migrate_endpoint.go:29
↓ 1 callers
Function
migrateHandler
(log log.Logger, hostnameService clustertypes.HostnameServiceClient, clusterService cluster.Service)
gateway/rest/router_migrate.go:22
↓ 1 callers
Method
migrateIngress
( ctx context.Context, dc dynamic.Interface, ingress *netv1.Ingress, gatewayName string, gatewayNamespace
migrations/ingress_to_httproute.go:88
↓ 1 callers
Function
mockManifestGroups
(m integrationMocks, leaseID mtypes.LeaseID)
gateway/rest/integration_test.go:201
↓ 1 callers
Method
monitorUntilError
()
operator/hostname/operator.go:163
↓ 1 callers
Method
monitorUntilError
(ctx context.Context)
operator/ip/operator.go:66
↓ 1 callers
Function
multipleSvcReplicasGenReservations
(cpuUnits, gpuUnits uint64, count uint32)
cluster/kube/operators/clients/inventory/client_test.go:746
↓ 1 callers
Function
mustCreateCertWithCN
(t *testing.T, cn string)
gateway/utils/utils_test.go:119
↓ 1 callers
Function
newAccountQuerier
(ctx context.Context, cctx sdkclient.Context, log log.Logger, bus pubsub.Bus, qc aclient.Client, opts ...Accou
cmd/provider-services/cmd/certs.go:141
↓ 1 callers
Function
newBalanceChecker
( ctx context.Context, aqc aclient.QueryClient, accAddr sdk.AccAddress, clientSession session.Session, bu
balance_checker.go:72
↓ 1 callers
Function
newCertQuerier
(pstorage pconfig.Storage)
gateway/rest/integration_test.go:492
↓ 1 callers
Function
newClusterNodes
(ctx context.Context, image, namespace string)
operator/inventory/nodes.go:46
↓ 1 callers
Function
newDeployCleanupHelper
(lease mtypes.LeaseID, client Client, log logger.Logger)
cluster/manager_cleanup.go:27
↓ 1 callers
Function
newDeploymentManager
(s *service, deployment ctypes.IDeployment, isNewLease bool)
cluster/manager.go:75
↓ 1 callers
Function
newEventsFeedList
(ctx context.Context, events []eventsv1.Event)
cluster/kube/client.go:841
↓ 1 callers
Function
newEventsFeedWatch
(ctx context.Context, events watch.Interface)
cluster/kube/client.go:858
↓ 1 callers
Function
newFakeInventories
(fake *FakeAkashV2beta2)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/fake/fake_inventory.go:34
↓ 1 callers
Function
newFakeInventoryRequests
(fake *FakeAkashV2beta2)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/fake/fake_inventoryrequest.go:34
↓ 1 callers
Function
newFakeManifests
(fake *FakeAkashV2beta2, namespace string)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/fake/fake_manifest.go:34
↓ 1 callers
Function
newFakeProviderHosts
(fake *FakeAkashV2beta2, namespace string)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/fake/fake_providerhost.go:34
↓ 1 callers
Function
newFakeProviderLeasedIPs
(fake *FakeAkashV2beta2, namespace string)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/fake/fake_providerleasedip.go:34
↓ 1 callers
Function
newHostnameOperator
(ctx context.Context, logger log.Logger, ns string, config common.OperatorConfig, ilc common.IgnoreListConfig)
operator/hostname/operator.go:64
↓ 1 callers
Function
newInventories
newInventories returns a Inventories
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventory.go:63
↓ 1 callers
Function
newInventory
(clState inventoryV1.Cluster)
cluster/types/v1beta3/clients/inventory/inventory.go:260
↓ 1 callers
Function
newInventory
(clState inventoryV1.Cluster)
cluster/kube/operators/clients/inventory/inventory.go:21
↓ 1 callers
Function
newInventoryConnector
(ctx context.Context, svc *corev1.Service, invch chan<- inventoryState)
cluster/kube/operators/clients/inventory/client.go:237
↓ 1 callers
Function
newInventoryRequests
newInventoryRequests returns a InventoryRequests
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventoryrequest.go:63
↓ 1 callers
Function
newManager
(h *service, daddr dtypes.DeploymentID)
manifest/manager.go:44
↓ 1 callers
Function
newManifests
newManifests returns a Manifests
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:59
↓ 1 callers
Function
newNodeDiscovery
(ctx context.Context, name, namespace string, image string, sig chan<- string)
operator/inventory/node-discovery.go:59
↓ 1 callers
Function
newOrder
(svc *service, oid mtypes.OrderID, cfg Config, pass ProviderAttrSignatureService, checkForExistingBid bool)
bidengine/order.go:102
↓ 1 callers
Function
newProviderAttrSignatureService
(s session.Session, bus pubsub.Bus)
bidengine/provider_attributes.go:88
↓ 1 callers
Function
newProviderHosts
newProviderHosts returns a ProviderHosts
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerhost.go:59
↓ 1 callers
Function
newProviderLeasedIPs
newProviderLeasedIPs returns a ProviderLeasedIPs
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerleasedip.go:59
↓ 1 callers
Function
newQuerierCluster
()
operator/inventory/types.go:108
↓ 1 callers
Function
newQuerierNodes
()
operator/inventory/types.go:114
↓ 1 callers
Method
newRequest
(ctx context.Context, method string, path string, body io.Reader)
cluster/kube/operators/clients/hostname/client.go:51
↓ 1 callers
Function
newServiceRouter
(apiTimeout, queryTimeout time.Duration)
operator/inventory/cmd.go:530
↓ 1 callers
Function
nodeAllocatableChanged
(prev *corev1.Node, curr *corev1.Node)
operator/inventory/node-discovery.go:621
↓ 1 callers
Function
nodeCmd
()
cmd/provider-services/cmd/root.go:78
↓ 1 callers
Function
nodeResetAllocated
(node *v1.Node)
operator/inventory/node-discovery.go:699
↓ 1 callers
Function
nodeSelectorsFromResources
(res *crd.SchedulerResources)
cluster/kube/builder/workload.go:341
↓ 1 callers
Method
observeHostnameState
(ctx context.Context)
operator/hostname/operator.go:547
↓ 1 callers
Method
obtainCert
(domain string)
tools/certissuer/lego.go:226
↓ 1 callers
Method
ordersFetcher
(ctx context.Context, aqc sclient.QueryClient)
bidengine/service.go:186
↓ 1 callers
Function
parseCPU
(res *rtypes.CPU)
bidengine/shellscript.go:55
↓ 1 callers
Method
parseCPUInfo
(ctx context.Context)
operator/inventory/node-discovery.go:885
↓ 1 callers
Function
parseDeploymentID
(req *http.Request)
gateway/rest/middleware.go:178
↓ 1 callers
Function
parseLeaseID
(req *http.Request)
gateway/rest/middleware.go:185
↓ 1 callers
Function
parseMemory
(res *rtypes.Memory)
bidengine/shellscript.go:59
↓ 1 callers
Function
parseStorage
(resource rtypes.Volumes)
bidengine/shellscript.go:110
↓ 1 callers
Function
parseVersionPart
parseVersionPart parses a version part at the given index. Returns 0 if the index is out of bounds.
migrations/registry.go:213
↓ 1 callers
Function
parseWriteOpions
(opts ...WriteOption)
tools/certissuer/storage.go:127
↓ 1 callers
Function
parse_labels
(data)
script/provider_migrate_to_hostname_operator.py:23
↓ 1 callers
Method
persistentVolumeClaims
()
cluster/kube/builder/workload.go:226
← previous
next →
801–900 of 2,680, ranked by callers