MCPcopy Create free account

hub / github.com/akash-network/provider / functions

Functions3,441 in github.com/akash-network/provider

↓ 1 callersMethodDone
()
service.go:52
↓ 1 callersMethodEXPECT
()
mocks/cluster/Service_mock.go:43
↓ 1 callersFunctionErrorIsOkToSendToClient
(err error)
cluster/client.go:115
↓ 1 callersMethodEvents
()
balance_checker_test.go:334
↓ 1 callersMethodExecCommandInContainerWithFullOutputWithTimeout
ExecCommandInContainerWithFullOutputWithTimeout uses 15s hard-coded timeout
operator/inventory/types.go:179
↓ 1 callersFunctionExecuteWithCtx
ExecuteWithCtx executes the root command. It mirrors pkg.akt.dev/go/cli.ExecuteWithCtx but registers the logging flags with the provider's defaults (t
cmd/provider-services/cmd/execute.go:19
↓ 1 callersMethodExitCode
()
cluster/types/v1beta3/types.go:255
↓ 1 callersMethodExitCode
()
cluster/kube/client_exec.go:32
↓ 1 callersMethodFromCRD
FromCRD returns akash group details formatted from manifest group
pkg/apis/akash.network/v2beta2/manifest.go:241
↓ 1 callersFunctionGatewayConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:334
↓ 1 callersFunctionGenerateEphemeralKeypair
GenerateEphemeralKeypair creates an ECDSA P-384 TLS keypair with a self-signed certificate valid for 24 hours. The keypair is generated fresh on each
sidecar/attestation/tlsbinding.go:33
↓ 1 callersMethodGetAPIVersion
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:219
↓ 1 callersMethodGetAllGPUAttestations
GetAllGPUAttestations collects attestation reports from ALL CC-capable GPUs. The binary output format from `attest-all` is: 4 bytes LE: device count
sidecar/attestation/tee/nvidia_gpu.go:92
↓ 1 callersMethodGetAllocatedResources
()
cluster/types/v1beta3/reservation.go:11
↓ 1 callersMethodGetByType
GetByType returns the permissions for a given type
cluster/kube/builder/permissions.go:37
↓ 1 callersMethodGetCACerts
(ctx context.Context, domain string)
gateway/utils/utils.go:25
↓ 1 callersMethodGetDeclaredIPs
(ctx context.Context, leaseID mtypes.LeaseID)
cluster/client.go:59
↓ 1 callersMethodGetDeployment
(ctx context.Context, dID dtypes.DeploymentID)
cluster/kube/client.go:169
↓ 1 callersFunctionGetFreePorts
GetFreePorts asks the kernel for free open ports that are ready to use.
testutil/network.go:8
↓ 1 callersMethodGetIP
()
cluster/types/v1beta3/clients/ip/ip.go:44
↓ 1 callersMethodGetIPAddressStatusForLease
(ctx context.Context, leaseID mtypes.LeaseID)
cluster/kube/operators/clients/metallb/client.go:54
↓ 1 callersMethodGetIPPassthroughs
(ctx context.Context)
cluster/kube/operators/clients/metallb/client.go:58
↓ 1 callersMethodGetKind
GetKind retrieves the value of the Kind field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/manifest.go:214
↓ 1 callersMethodGetMTLS
(ctx context.Context)
gateway/utils/utils.go:24
↓ 1 callersFunctionGetManifestCmd
GetManifestCmd reads the current manifest from the provider
cmd/provider-services/cmd/manifest.go:54
↓ 1 callersMethodGetPermissions
GetPermissions returns the read permissions list for backward compatibility. Deprecated: Use GetWorkloadPermissions() for access to all permission typ
cluster/kube/builder/workload.go:725
↓ 1 callersMethodGetPrivateKey
(keyType certcrypto.KeyType)
tools/certissuer/storage.go:287
↓ 1 callersMethodGetWorkloadPermissions
GetWorkloadPermissions returns all permissions for this workload organized by type.
cluster/kube/builder/workload.go:730
↓ 1 callersMethodGroup
(t testing.TB)
testutil/manifest/v2beta2/manifest_rand.go:24
↓ 1 callersMethodGroup
(t testing.TB)
testutil/manifest/v2beta2/manifest_app.go:24
↓ 1 callersMethodGroup
(t testing.TB)
testutil/manifest/v2beta2/manifest_overflow.go:24
↓ 1 callersMethodHasPermissions
HasPermissions returns true if any permissions are defined for this workload.
cluster/kube/builder/workload.go:719
↓ 1 callersMethodHasRead
HasRead returns true if any read permissions are defined
cluster/kube/builder/permissions.go:29
↓ 1 callersMethodHasStorageClass
(name string)
operator/inventory/config.go:340
↓ 1 callersMethodImpl
Impl returns the underlying *zap.Logger.
tools/logging/logger.go:132
↓ 1 callersMethodInformer
Informer returns the SharedIndexInformer.
pkg/client/informers/externalversions/generic.go:42
↓ 1 callersMethodInformer
()
pkg/client/informers/externalversions/akash.network/v2beta2/inventory.go:95
↓ 1 callersMethodInformer
()
pkg/client/informers/externalversions/akash.network/v2beta2/providerhost.go:96
↓ 1 callersMethodInformer
()
pkg/client/informers/externalversions/akash.network/v2beta2/manifest.go:96
↓ 1 callersMethodInformer
()
pkg/client/informers/externalversions/akash.network/v2beta2/providerleasedip.go:96
↓ 1 callersMethodInformer
()
pkg/client/informers/externalversions/akash.network/v2beta2/inventoryrequest.go:95
↓ 1 callersFunctionIngressHost
(lid mtypes.LeaseID, svcName string)
manifest/parse.go:24
↓ 1 callersMethodIsAnyZero
()
bidengine/pricing.go:45
↓ 1 callersFunctionIsInventoryUnderTestFromCtx
(ctx context.Context)
tools/fromctx/context.go:313
↓ 1 callersFunctionIsKubeAPIUnreachable
IsKubeAPIUnreachable reports whether err indicates the kube API server is unreachable.
cluster/kube/errors/errors.go:26
↓ 1 callersFunctionKubeRESTClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:74
↓ 1 callersMethodKubeVersion
KubeVersion returns the version information of kubernetes running in the cluster
cluster/client.go:94
↓ 1 callersMethodLeaseID
LeaseID returns the lease the hostname belongs to, validating the owner and provider addresses.
pkg/apis/akash.network/v2beta2/provider_host.go:47
↓ 1 callersFunctionLeaseIDFromAkash
LeaseIDFromAkash returns LeaseID instance from akash
pkg/apis/akash.network/v2beta2/types.go:85
↓ 1 callersMethodLeaseLogs
LeaseLogs provides a mock function for the type Client
mocks/cluster/Client_mock.go:1040
↓ 1 callersFunctionLeaseShellCmd
()
cmd/provider-services/cmd/shell.go:35
↓ 1 callersFunctionLifecycleFromCtx
(ctx context.Context)
tools/fromctx/context.go:166
↓ 1 callersFunctionManifestCmds
()
cmd/provider-services/cmd/manifest.go:23
↓ 1 callersFunctionMigrateEndpointsCmd
()
cmd/provider-services/cmd/migrate_endpoints.go:61
↓ 1 callersFunctionMigrateHostnamesCmd
()
cmd/provider-services/cmd/migrate_hostnames.go:51
↓ 1 callersFunctionMigrateRunCmd
()
cmd/provider-services/cmd/migrate_run.go:22
↓ 1 callersFunctionMustAkashClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:157
↓ 1 callersMethodNS
()
cluster/kube/builder/builder.go:281
↓ 1 callersMethodName
()
sidecar/attestation/tee/mock.go:27
↓ 1 callersMethodName
()
cluster/kube/builder/service.go:39
↓ 1 callersMethodName
()
cluster/kube/builder/workload.go:59
↓ 1 callersMethodName
()
cluster/kube/builder/workload.go:104
↓ 1 callersMethodName
()
cluster/kube/builder/service_credentials.go:32
↓ 1 callersFunctionNew
New returns a new Interface.
pkg/client/informers/externalversions/akash.network/v2beta2/interface.go:46
↓ 1 callersFunctionNewCeph
(ctx context.Context)
operator/inventory/ceph.go:126
↓ 1 callersFunctionNewClient
(ctx context.Context, logger log.Logger, poolName string, endpoint *net.SRV)
cluster/kube/operators/clients/metallb/client.go:77
↓ 1 callersFunctionNewClient
(ctx context.Context, logger log.Logger, endpoint *net.SRV)
cluster/kube/operators/clients/ip/client.go:44
↓ 1 callersFunctionNewForConfig
NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will gene
pkg/client/clientset/versioned/clientset.go:60
↓ 1 callersFunctionNewForConfig
NewForConfig creates a new AkashV2beta2Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClie
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:66
↓ 1 callersFunctionNewForConfigAndClient
NewForConfigAndClient creates a new Clientset for the given config and http client. Note the http client provided takes precedence over the configured
pkg/client/clientset/versioned/clientset.go:80
↓ 1 callersFunctionNewForConfigAndClient
NewForConfigAndClient creates a new AkashV2beta2Client for the given config and http client. Note the http client provided takes precedence over the c
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:78
↓ 1 callersFunctionNewLego
NewLego initializes and returns a certificate issuer based on the ACME protocol using the Lego library. It manages certificate operations through DNS
tools/certissuer/lego.go:88
↓ 1 callersFunctionNewRancher
(ctx context.Context)
operator/inventory/rancher.go:38
↓ 1 callersFunctionNewServer
NewServer creates the attestation sidecar HTTP server.
sidecar/attestation/server.go:66
↓ 1 callersFunctionNewService
NewService creates and returns a new Service instance Simple wrapper around various services needed for running a provider.
service.go:57
↓ 1 callersFunctionNewService
NewService creates and returns new Service instance Manage incoming leases and manifests and pair the two together to construct and emit a ManifestRec
manifest/service.go:68
↓ 1 callersFunctionNewService
NewService returns new Service instance
cluster/service.go:112
↓ 1 callersFunctionNewServiceLog
NewServiceLog creates and returns a service log with provided details
cluster/client.go:131
↓ 1 callersFunctionNewTypeConverter
(scheme *runtime.Scheme)
pkg/client/applyconfiguration/utils.go:100
↓ 1 callersFunctionNewVersionCommand
NewVersionCommand returns a CLI command to interactively print the application binary version information.
version/version.go:49
↓ 1 callersMethodNext
()
gateway/rest/router.go:229
↓ 1 callersFunctionNullClient
NullClient returns nullClient instance
cluster/client.go:140
↓ 1 callersMethodOnCreate
(err error)
cluster/kube/gateway/httproute.go:42
↓ 1 callersMethodOnDelete
(err error)
cluster/kube/gateway/httproute.go:44
↓ 1 callersMethodOnUpdate
(err error)
cluster/kube/gateway/httproute.go:43
↓ 1 callersFunctionParseCPUAttributes
(attrs attrtypes.Attributes)
cluster/types/v1beta3/clients/inventory/metrics.go:132
↓ 1 callersFunctionParseGPUAttributes
(attrs attrtypes.Attributes)
cluster/types/v1beta3/clients/inventory/metrics.go:38
↓ 1 callersFunctionParser
()
pkg/client/applyconfiguration/internal/internal.go:28
↓ 1 callersMethodProbe
Probe checks for NVIDIA GPU CC support and returns a diagnostic string.
sidecar/attestation/tee/nvidia_gpu.go:49
↓ 1 callersMethodPurgeDeclaredHostname
(ctx context.Context, lID mtypes.LeaseID, hostname string)
cluster/client.go:91
↓ 1 callersMethodPurgeDeclaredIP
(ctx context.Context, lID mtypes.LeaseID, serviceName string, externalPort uint32, proto mani.ServiceProtocol)
cluster/client.go:97
↓ 1 callersMethodReadResource
(domain string)
tools/certissuer/storage.go:79
↓ 1 callersMethodReserve
(mtypes.OrderID, dtypes.ResourceGroup)
cluster/service.go:89
↓ 1 callersFunctionResourceRequiresInterconnect
ResourceRequiresInterconnect reports whether a per-service resource has opted into GPU interconnect. The chain SDK emits a single `interconnect/group`
cluster/kube/operators/clients/inventory/interconnect.go:52
↓ 1 callersMethodResourceVersion
()
cluster/types/v1beta3/deployment.go:13
↓ 1 callersFunctionRookClientFromCtx
(ctx context.Context)
operator/inventory/util.go:31
↓ 1 callersMethodRun
(run func(resourceUnits v1beta4.ResourceUnits))
mocks/cluster/types/ReservationGroup_mock.go:194
↓ 1 callersMethodRun
(run func(ifaceVal interface{}))
mocks/cluster/types/ReservationGroup_mock.go:234
↓ 1 callersMethodRun
(run func(resourceUnits v1beta4.ResourceUnits))
mocks/cluster/types/Reservation_mock.go:283
↓ 1 callersMethodRun
(run func(ifaceVal interface{}))
mocks/cluster/types/Reservation_mock.go:323
← previousnext →801–900 of 3,441, ranked by callers