MCPcopy Create free account

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

Functions2,992 in github.com/akash-network/provider

MethodStatusV1
(ctx context.Context)
bidengine/service.go:173
MethodStatusV1
(context.Context)
manifest/service.go:49
MethodStatusV1
(ctx context.Context)
manifest/service.go:228
MethodStatusV1
(ctx context.Context)
cluster/service.go:267
MethodStop
Stop provides a mock function for the type Client
mocks/cluster/types/clients/ip/Client_mock.go:222
MethodStop
Stop is a helper method to define mock.On call
mocks/cluster/types/clients/ip/Client_mock.go:233
MethodStop
Stop provides a mock function for the type Client
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:415
MethodStop
Stop is a helper method to define mock.On call
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:426
MethodStop
()
cluster/types/v1beta3/clients/hostname/hostname.go:57
MethodStop
()
cluster/types/v1beta3/clients/ip/ip.go:101
MethodStop
()
cluster/kube/operators/clients/metallb/client.go:102
MethodStop
()
cluster/kube/operators/clients/hostname/client.go:89
MethodStop
()
cluster/kube/operators/clients/ip/client.go:61
MethodStop
()
cluster/util/service_discovery_agent_static.go:12
MethodStop
()
cluster/util/service_discovery_agent.go:52
FunctionStorageFromCtx
(ctx context.Context)
operator/inventory/util.go:40
MethodStreamCluster
(_ *emptypb.Empty, stream inventory.ClusterRPC_StreamClusterServer)
operator/inventory/cmd.go:655
MethodStreamStatus
(_ *emptypb.Empty, stream providerv1.ProviderRPC_StreamStatusServer)
gateway/grpc/server.go:165
MethodString
String provides a mock function for the type Client
mocks/cluster/types/clients/ip/Client_mock.go:255
MethodString
String is a helper method to define mock.On call
mocks/cluster/types/clients/ip/Client_mock.go:277
MethodString
()
version/version.go:115
MethodString
()
operator/waiter/waiter_test.go:22
MethodString
()
cluster/types/v1beta3/types.go:92
MethodString
()
cluster/types/v1beta3/clients/hostname/hostname.go:56
MethodString
()
cluster/types/v1beta3/clients/ip/ip.go:89
MethodString
()
cluster/kube/client.go:83
MethodString
()
cluster/kube/operators/clients/metallb/client.go:73
MethodString
()
cluster/kube/operators/clients/hostname/client.go:85
MethodString
()
cluster/kube/operators/clients/ip/client.go:57
MethodSubmit
(context.Context, dtypes.DeploymentID, manifesttypes.Manifest)
service_test.go:55
MethodSubmit
Submit provides a mock function for the type Client
mocks/manifest/Client_mock.go:109
MethodSubmit
Submit is a helper method to define mock.On call - context1 context.Context - deploymentID v1.DeploymentID - manifest v2beta3.Manifest
mocks/manifest/Client_mock.go:134
MethodSubmit
Submit incoming manifest request.
manifest/service.go:165
MethodSwap
(i, j int)
tools/certissuer/lego.go:65
MethodSwap
(i, j int)
cluster/kube/client_exec.go:47
MethodTearDownSuite
()
integration/e2e_test.go:660
MethodTearDownTest
()
integration/e2e_test.go:621
MethodTeardownLease
TeardownLease provides a mock function for the type Client
mocks/cluster/Client_mock.go:1651
MethodTeardownLease
TeardownLease is a helper method to define mock.On call - context1 context.Context - leaseID v1.LeaseID
mocks/cluster/Client_mock.go:1675
MethodTeardownLease
(_ context.Context, lid mtypes.LeaseID)
cluster/client.go:287
MethodTeardownLease
(ctx context.Context, lid mtypes.LeaseID)
cluster/kube/client.go:892
FunctionTestAdjust_InterconnectGroup_DistinctGroupsIndependent
Two services in DIFFERENT groups. Groups are independent — peers from pair0 must not collide, peers from pair1 must not collide, but pair0 and pair1 c
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:195
FunctionTestAdjust_InterconnectGroup_EmptyGroupAllowsCoLocation
No interconnect_group set anywhere. Regression: existing single-service interconnect bids on a cluster with 1 node continue to work — the group-aware
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:208
FunctionTestAdjust_InterconnectGroup_InvalidLabelRejected
The group name becomes a pod label value verbatim; names Kubernetes would reject at admission must fail the bid, not the deployment — otherwise the te
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:221
FunctionTestAdjust_InterconnectGroup_SingleServiceCount4_FourNodes_Success
Single service, count=4 in pair0. 4 nodes. Each replica claims a distinct node — bid succeeds.
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:158
FunctionTestAdjust_InterconnectGroup_SingleServiceCount4_ThreeNodes_Rejected
Same shape, only 3 nodes. 4th replica has no clean node — reject.
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:168
FunctionTestAdjust_InterconnectGroup_TwoServicesOneEach_OneNode_Rejected
Same shape, but only one node. Both peers cannot land on it (anti-affinity would be unschedulable), so Adjust must reject.
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:144
FunctionTestAdjust_InterconnectGroup_TwoServicesOneEach_TwoNodes_Success
Two services in pair0, count=1 each. 2 nodes, 8 GPUs each. Bid should succeed because each service can claim a distinct node.
cluster/kube/operators/clients/inventory/interconnect_group_adjust_test.go:132
FunctionTestAuthProcess_ErrAuthAmbiguous
(t *testing.T)
gateway/utils/utils_test.go:101
FunctionTestAuthProcess_NoTokenReturnsClaims
(t *testing.T)
gateway/utils/utils_test.go:111
FunctionTestBlockedDomain
(t *testing.T)
cluster/hostname_test.go:55
FunctionTestBlockedHostname
(t *testing.T)
cluster/hostname_test.go:37
FunctionTestBuildHTTPRouteSpecExtensionRef
TestBuildHTTPRouteSpecExtensionRef asserts the rule gains an ExtensionRef filter to the route's SnippetsFilter when http_options are set, and none whe
cluster/kube/gateway/nginx_gateway_test.go:106
FunctionTestBuildRouteExtensionsSnippetsFilter
TestBuildRouteExtensionsSnippetsFilter asserts BuildRouteExtensions emits a SnippetsFilter named after the route carrying the snippet at the location
cluster/kube/gateway/nginx_gateway_test.go:81
FunctionTestBuildSidecarPatch_CPUOnly
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:162
FunctionTestBuildSidecarPatch_EmptyImage
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:186
FunctionTestBuildSidecarPatch_GPU
(t *testing.T)
cluster/kube/webhook/sidecar_test.go:124
FunctionTestCertificatesStorage_MoveToArchive
(t *testing.T)
tools/certissuer/storage_test.go:20
FunctionTestCertificatesStorage_MoveToArchive_ambiguousDomain
(t *testing.T)
tools/certissuer/storage_test.go:98
FunctionTestCertificatesStorage_MoveToArchive_noFileRelatedToDomain
(t *testing.T)
tools/certissuer/storage_test.go:60
FunctionTestCleanupRBACWhenPermissionsRemoved
(t *testing.T)
cluster/kube/cleanup_test.go:164
FunctionTestCleanupStaleRBACResources
(t *testing.T)
cluster/kube/cleanup_test.go:19
FunctionTestCleanupStaleRBACResourcesDoesNotDeleteNonAkashResources
(t *testing.T)
cluster/kube/cleanup_test.go:117
FunctionTestCleanupStaleResourcesIntegration
(t *testing.T)
cluster/kube/cleanup_test.go:232
FunctionTestClientExec
(t *testing.T)
cluster/kube/client_exec_test.go:174
FunctionTestClientExecPodFailed
(t *testing.T)
cluster/kube/client_exec_test.go:282
FunctionTestClientExecPodNotReady
(t *testing.T)
cluster/kube/client_exec_test.go:305
FunctionTestClientExecPodNotRunning
(t *testing.T)
cluster/kube/client_exec_test.go:259
FunctionTestClientExecTty
(t *testing.T)
cluster/kube/client_exec_test.go:197
FunctionTestClientExecWrongPodIndex
(t *testing.T)
cluster/kube/client_exec_test.go:240
FunctionTestClientExecWrongServiceName
(t *testing.T)
cluster/kube/client_exec_test.go:221
FunctionTestClusterErrorToHTTP
(t *testing.T)
gateway/rest/cluster_errors_test.go:16
FunctionTestConfigClusterStorage
(t *testing.T)
operator/inventory/config_test.go:33
FunctionTestConfigClusterStorageAvailable
(t *testing.T)
operator/inventory/config_test.go:195
FunctionTestConfigClusterStorageExclude
(t *testing.T)
operator/inventory/config_test.go:70
FunctionTestConfigClusterStorageExclude2
(t *testing.T)
operator/inventory/config_test.go:109
FunctionTestConfigClusterStorageNotListed
(t *testing.T)
operator/inventory/config_test.go:148
FunctionTestConfigEmpty
(t *testing.T)
operator/inventory/config_test.go:10
FunctionTestConfigExcludeNode
(t *testing.T)
operator/inventory/config_test.go:168
FunctionTestCreateOrUpdateHTTPRouteAppliesFilterBeforeReference
TestCreateOrUpdateHTTPRouteAppliesFilterBeforeReference asserts a new route ends up referencing a SnippetsFilter that actually exists and is owned by
cluster/kube/gateway/httproute_test.go:113
FunctionTestCreateOrUpdateHTTPRouteDoesNotDangleOnExtensionFailure
TestCreateOrUpdateHTTPRouteDoesNotDangleOnExtensionFailure asserts that when the SnippetsFilter cannot be applied, an existing route is not updated to
cluster/kube/gateway/httproute_test.go:137
FunctionTestCreateOrUpdateHTTPRouteNewRoutePlaceholderNotRoutable
TestCreateOrUpdateHTTPRouteNewRoutePlaceholderNotRoutable asserts that when the SnippetsFilter cannot be applied for a brand-new route, the placeholde
cluster/kube/gateway/httproute_test.go:189
MethodTestDedicatedStorageClass
()
integration/persistentstorage_test.go:151
FunctionTestDefaultErrorHandler
(t *testing.T)
gateway/rest/auth_test.go:15
MethodTestDefaultStorageClass
()
integration/customcurrency_test.go:31
MethodTestDefaultStorageClass
()
integration/persistentstorage_test.go:37
FunctionTestDeploy
(t *testing.T)
cluster/kube/deploy_test.go:27
FunctionTestDeployConnectsRoCENetworksToWorkloads
Exercise Deploy itself: independently testing NAD lookup and podAnnotations misses a broken connection between those helpers and the submitted workloa
cluster/kube/roce_networks_test.go:125
FunctionTestDeploySetsEnvironmentVariables
(t *testing.T)
cluster/kube/builder/deployment_test.go:53
FunctionTestDeploymentNeedsRoCENetworks
(t *testing.T)
cluster/kube/roce_networks_test.go:44
FunctionTestDeploymentPermissions
(t *testing.T)
cluster/kube/builder/deployment_test.go:96
FunctionTestDeploymentRecoveryAcrossFeatures
Add valid feature fixtures to testdata/deployment; every YAML runs here. Compare complete pod templates, without an allowlist of fields or features. F
cluster/kube/recovery_test.go:31
FunctionTestDeploymentRecoveryKeepsPodsRunning
This test uses real API-server resource versions and controllers. A fake client does not advance resourceVersion and cannot reproduce the regression.
cluster/kube/recovery_integration_test.go:40
FunctionTestDeploymentUpgradeFromSnapshots
Run via script/test-provider-recovery-upgrade.sh. Missing baseline artifacts are a failure, never a skipped upgrade check.
cluster/kube/recovery_upgrade_test.go:24
FunctionTestDiscoverInfiniband_InfiniBand8Port
(t *testing.T)
operator/inventory/infiniband_test.go:27
FunctionTestDiscoverInfiniband_MissingLinkLayerFile
(t *testing.T)
operator/inventory/infiniband_test.go:105
FunctionTestDiscoverInfiniband_MissingPath
(t *testing.T)
operator/inventory/infiniband_test.go:84
FunctionTestDiscoverInfiniband_MixedVendor
AKT-492: mixed-vendor hosts publish every distinct HCA family rather than reducing to a shared character prefix. NCCL accepts a comma-separated list d
operator/inventory/infiniband_test.go:61
FunctionTestDiscoverInfiniband_NoDevices
(t *testing.T)
operator/inventory/infiniband_test.go:74
FunctionTestDiscoverInfiniband_RoCE
(t *testing.T)
operator/inventory/infiniband_test.go:46
← previousnext →2,301–2,400 of 2,992, ranked by callers