Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
3,441 in github.com/akash-network/provider
⨍
Functions
3,441
◇
Types & classes
766
↓ 3 callers
Method
ObserveHostnameState
(ctx context.Context)
cluster/kube/client_hostname_connections.go:141
↓ 3 callers
Function
ParseConfig
ParseConfig validates and normalizes raw option values.
sidecar/attestation/internal/logging/config.go:90
↓ 3 callers
Method
Prune
()
operator/common/ignore_list.go:23
↓ 3 callers
Method
ReleaseHostnames
(leaseID mtypes.LeaseID)
cluster/types/v1beta3/types.go:288
↓ 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
↓ 3 callers
Method
Return
(manifestStatus *rest.ManifestStatus, err error)
mocks/manifest/StatusClient_mock.go:94
↓ 3 callers
Method
Return
(reservation v1beta3.Reservation, err error)
mocks/cluster/Cluster_mock.go:99
↓ 3 callers
Method
SendEvent
(*eventsv1.Event)
cluster/types/v1beta3/types.go:213
↓ 3 callers
Method
SetClusterParams
(interface{})
cluster/types/v1beta3/reservation.go:12
↓ 3 callers
Function
SetKubeConfigToCmd
(c *cobra.Command)
cluster/kube/clientcommon/open_kube_config.go:50
↓ 3 callers
Function
SetLogger
SetLogger sets the logger used by TEE providers. nil disables logging.
sidecar/attestation/tee/log.go:14
↓ 3 callers
Method
WithGPU
WithGPU sets the GPU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "Wit
pkg/client/applyconfiguration/akash.network/v2beta2/resources.go:60
↓ 3 callers
Method
WithGSeq
WithGSeq sets the GSeq 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:56
↓ 3 callers
Method
WithOSeq
WithOSeq sets the OSeq 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:64
↓ 3 callers
Function
WithSNP
()
cluster/types/v1beta3/types.go:120
↓ 3 callers
Function
WithTDX
()
cluster/types/v1beta3/types.go:124
↓ 3 callers
Function
addCmdFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:59
↓ 3 callers
Function
addServiceFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:98
↓ 3 callers
Function
attestationSidecarEnv
attestationSidecarEnv returns the environment injected into attestation sidecars: the provider's logging configuration and, in mock mode, ATTESTATION_
cmd/provider-services/cmd/run.go:1027
↓ 3 callers
Function
authErrorResponse
(logger log.Logger, err error)
gateway/rest/auth.go:56
↓ 3 callers
Function
benchConfig
(b *testing.B, level, format string)
tools/logging/bench_test.go:23
↓ 3 callers
Method
chainRead
chainRead is a fetch result whose deployment has hash, read at block height.
manifest/manager_test.go:792
↓ 3 callers
Function
cleanupStaleRBACResources
cleanupStaleRBACResources removes ServiceAccounts, Roles, and RoleBindings that belong to services that no longer have permissions in the current mani
cluster/kube/cleanup.go:82
↓ 3 callers
Function
cleanupStaleResources
(ctx context.Context, kc kubernetes.Interface, lid mtypes.LeaseID, group *mani.Group, servicesWithPermissions
cluster/kube/cleanup.go:17
↓ 3 callers
Function
clusterErrorToHTTP
(err error)
gateway/rest/cluster_errors.go:13
↓ 3 callers
Function
decNearly
(t *testing.T, v sdkmath.LegacyDec, expected int64)
bidengine/pricing_test.go:231
↓ 3 callers
Function
defaultGroupSpecCPUMem
()
bidengine/pricing_test.go:63
↓ 3 callers
Function
discoveryPodEnv
discoveryPodEnv returns the environment of hardware discovery pods. The pods run provider-services, so the operator's logging configuration is passed
operator/inventory/node-discovery.go:173
↓ 3 callers
Function
dpQuery
dpQuery sends one typed read request to the per-node psutil API connector and waits for the response, honoring the caller's context, the discovery lif
operator/inventory/node-discovery.go:113
↓ 3 callers
Function
executeOperatorProbe
executeOperatorProbe mounts OperatorsCmd under a root carrying the logging flags (as the real root does) and runs a probe operator subcommand, with en
operator/cmd_test.go:29
↓ 3 callers
Method
expectActive
expectActive registers the chain's pages of the provider's active leases.
cluster/service_reconcile_test.go:71
↓ 3 callers
Method
expectChecks
expectChecks registers funds checks of the lease that find its escrow payment in the given state, and an open payment's escrow balance exhausted, so s
balance_checker_test.go:975
↓ 3 callers
Method
expectExhaustedRepeatedly
expectExhaustedRepeatedly registers any number of such funds checks.
balance_checker_test.go:1003
↓ 3 callers
Method
expectLease
(lid mv1.LeaseID, state mv1.Lease_State, reason mv1.LeaseClosedReason)
cluster/service_reconcile_test.go:95
↓ 3 callers
Function
generateTestFiles
(t *testing.T, dir, domain string)
tools/certissuer/storage_test.go:142
↓ 3 callers
Function
getStateKey
(leaseID mtypes.LeaseID, sharingKey string, externalPort uint32)
operator/ip/operator.go:284
↓ 3 callers
Method
getWorkloadPermissions
getWorkloadPermissions extracts all permission types from the service params and returns them as a WorkloadPermissions struct. NOTE: Currently only Re
cluster/kube/builder/workload.go:672
↓ 3 callers
Method
hasPermissions
hasPermissions returns true if any permissions are defined for this workload. This checks all permission types (read, write, delete).
cluster/kube/builder/workload.go:687
↓ 3 callers
Function
homeWithLogConfig
homeWithLogConfig creates a provider home with the generated config.toml whose top-level logging keys are replaced by values.
cmd/provider-services/cmd/root_test.go:132
↓ 3 callers
Function
integrationTestOnly
skip integration-only tests. using build tags breaks tooling for compilation, etc...
integration/test_helpers.go:67
↓ 3 callers
Function
jsonLogValue
(value interface{})
operator/inventory/diagnostics.go:50
↓ 3 callers
Function
kubeSelectorForLease
(dst *strings.Builder, lID mtypes.LeaseID)
operator/ip/operator.go:918
↓ 3 callers
Function
leasesForDeployment
(ctx context.Context, cctx sdkclient.Context, flags *pflag.FlagSet, cl aclient.QueryClient)
cmd/provider-services/cmd/helpers.go:156
↓ 3 callers
Function
loadAuditPackages
loadAuditPackages type-checks the main module packages in root matching pattern.
tools/logging/entity_ids_test.go:128
↓ 3 callers
Function
makeGroupForInventoryTest
(sharedHTTP, nodePort, leasedIP bool)
cluster/inventory_test.go:365
↓ 3 callers
Function
makeWatchdogTestScaffold
(t *testing.T, timeout time.Duration)
manifest/watchdog_test.go:35
↓ 3 callers
Function
makeWatchdogTestScaffoldFull
(t *testing.T, timeout, broadcastTimeout time.Duration, blockUntilRelease <-chan struct{})
manifest/watchdog_test.go:43
↓ 3 callers
Function
mockManifestGroupsForRouterTest
(rt *routerTest, leaseID mtypes.LeaseID)
gateway/rest/router_test.go:567
↓ 3 callers
Method
newRequest
(ctx context.Context, method string, path string, body io.Reader)
cluster/kube/operators/clients/ip/client.go:84
↓ 3 callers
Function
providerFromFlags
(flags *pflag.FlagSet)
cmd/provider-services/cmd/helpers.go:143
↓ 3 callers
Function
queryApp
(t *testing.T, appURL string, limit int)
integration/test_helpers.go:117
↓ 3 callers
Method
reconcileLeases
reconcileLeases tears down what leases that closed while the provider was down left in the cluster. It runs in the background, so startup does not wai
cluster/service.go:528
↓ 3 callers
Function
registryLoader
(ctx context.Context)
operator/inventory/cmd.go:364
↓ 3 callers
Function
requireNoBroadcast
(t *testing.T, ch chan []sdk.Msg)
cluster/manager_reclaim_test.go:152
↓ 3 callers
Function
sanitizedDomain
sanitizedDomain Make sure no funny chars are in the cert names (like wildcards ;)).
tools/certissuer/storage.go:653
↓ 3 callers
Function
secs
secs builds estimates from whole seconds.
testutil/shard/shard_test.go:11
↓ 3 callers
Function
sparamsInterconnect
sparamsInterconnect pulls the per-service interconnect scheduler params off a nullable SchedulerParams chain. Returns nil when the service has no inte
cluster/kube/builder/workload.go:662
↓ 3 callers
Function
startVersionTestManager
startVersionTestManager runs a manager for fx's deployment, with one active lease, against a chain that answers deployment queries with reads. The man
manifest/manager_test.go:865
↓ 3 callers
Method
stopMonitor
()
cluster/manager.go:382
↓ 3 callers
Function
subStorageAllocatedResource
( log log.Logger, driver string, class string, persistentVolume string, persistentVolumeID string, alloc
operator/inventory/diagnostics.go:59
↓ 3 callers
Method
submit
submit sends mani to m the way the manifest service does and waits for the answer.
manifest/manager_test.go:810
↓ 3 callers
Function
testManagedProviderHost
(t *testing.T, hostname, owner string)
cluster/kube/client_hostname_connections_test.go:31
↓ 3 callers
Function
updateNodeInfo
(knode *corev1.Node, node *v1.Node, interconnectPatterns []string)
operator/inventory/node-discovery.go:884
↓ 3 callers
Function
watchEvents
watchEvents waits until ctx ends. If the chain event service stops first, on its own, it returns errEventsStopped with the service's reason, so the pr
cmd/provider-services/cmd/chain_events.go:18
↓ 3 callers
Function
websocketCloseCodeFrom
(err error)
gateway/rest/router.go:72
↓ 3 callers
Function
withLifecycle
withLifecycle wraps an operator subcommand so the run context created by the operator pre-run is cancelled when the subcommand returns, including when
operator/lifecycle.go:15
↓ 2 callers
Function
AccountQuerierFromCtx
(ctx context.Context)
tools/fromctx/context.go:277
↓ 2 callers
Function
AddIgnoreListFlags
(cmd *cobra.Command)
operator/common/ignore_list_config.go:31
↓ 2 callers
Function
AddOperatorFlags
(cmd *cobra.Command)
operator/common/operator_flags.go:27
↓ 2 callers
Function
AllHostnamesOfManifestGroup
(mgroup manitypes.Group)
manifest/parse.go:13
↓ 2 callers
Function
AuthProcess
(ctx context.Context, peerCerts []*x509.Certificate, token string)
gateway/utils/utils.go:90
↓ 2 callers
Function
BuildRoleBinding
BuildRoleBinding creates a new RoleBinding builder for the given workload.
cluster/kube/builder/rolebinding.go:29
↓ 2 callers
Function
BuildServiceAccount
(workload *Workload)
cluster/kube/builder/serviceaccount.go:20
↓ 2 callers
Function
BuildStatefulSet
(workload *Workload)
cluster/kube/builder/statefulset.go:22
↓ 2 callers
Function
CPUArchMatches
CPUArchMatches reports whether a node, described by info, can take a CPU request carrying attrs. The arch attribute only narrows placement: a request
cluster/types/v1beta3/clients/inventory/metrics.go:161
↓ 2 callers
Method
Clone
()
bidengine/service_test.go:195
↓ 2 callers
Method
Close
()
tools/certissuer/lego.go:36
↓ 2 callers
Function
ClusterDeploymentFromDeployment
(d ctypes.IDeployment)
cluster/kube/builder/builder.go:146
↓ 2 callers
Function
ClusterStateFromCtx
(ctx context.Context)
operator/inventory/util.go:58
↓ 2 callers
Function
ConfigFromViper
ConfigFromViper reads the logging options from v. Options not set in v take their defaults.
tools/logging/config.go:145
↓ 2 callers
Method
Create
(ctx context.Context, manifest *akashnetworkv2beta2.Manifest, opts v1.CreateOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:41
↓ 2 callers
Method
Create
()
cluster/kube/builder/deployment.go:12
↓ 2 callers
Method
CreatedAtBlockHeight
()
session/session.go:16
↓ 2 callers
Method
DeclareHostname
DeclareHostname Declare that a given deployment should be connected to a given hostname
cluster/client.go:87
↓ 2 callers
Method
DeclareIP
(ctx context.Context, lID mtypes.LeaseID, serviceName string, port uint32, externalPort uint32, proto mani.Ser
cluster/client.go:96
↓ 2 callers
Method
DelAccount
(context.Context, sdk.Address)
tools/pconfig/pconfig.go:33
↓ 2 callers
Method
DelAccountCertificate
(context.Context, sdk.Address, *big.Int)
tools/pconfig/pconfig.go:35
↓ 2 callers
Function
DeleteHTTPRoute
DeleteHTTPRoute removes an HTTPRoute by hostname. If allowMissing is true, NotFound errors are ignored.
cluster/kube/gateway/httproute.go:277
↓ 2 callers
Method
Description
Description returns a human-readable description of what this migration does.
migrations/migrations.go:16
↓ 2 callers
Method
EXPECT
()
mocks/client/Client_mock.go:41
↓ 2 callers
Method
ExistsOrWildcard
(model string)
cluster/types/v1beta3/clients/inventory/metrics.go:27
↓ 2 callers
Method
FilterOutStorageClasses
(available []string)
operator/inventory/config.go:112
↓ 2 callers
Method
FindActiveLease
(ctx context.Context, owner sdktypes.Address, dseq uint64, gseq uint32)
cluster/service.go:97
↓ 2 callers
Function
FromEnv
FromEnv reads the shard from E2E_SHARD_INDEX and E2E_SHARD_TOTAL. With both unset it returns shard 1 of 1, which runs everything. Setting only one of
testutil/shard/shard.go:30
↓ 2 callers
Function
Get
Get returns a migration by name, or nil if not found.
migrations/registry.go:57
↓ 2 callers
Method
GetAllCertificates
(context.Context)
tools/pconfig/pconfig.go:28
↓ 2 callers
Method
GetCode
()
operator/ip/types/error_response.go:26
↓ 2 callers
Function
GetEndpointQuantityOfResourceUnits
(r rtypes.Resources, kind rtypes.Endpoint_Kind)
cluster/util/endpoint_quantity.go:25
↓ 2 callers
Function
GetOperatorConfigFromViper
()
operator/common/operator_config.go:18
← previous
next →
401–500 of 3,441, ranked by callers