MCPcopy Create free account

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

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

MethodAllHostnames
AllHostnames is a helper method to define mock.On call - context1 context.Context
mocks/cluster/ReadClient_mock.go:81
MethodAllHostnames
AllHostnames provides a mock function for the type Client
mocks/cluster/Client_mock.go:51
MethodAllHostnames
AllHostnames is a helper method to define mock.On call - context1 context.Context
mocks/cluster/Client_mock.go:85
MethodAllHostnames
(context.Context)
cluster/client.go:311
MethodAllHostnames
(ctx context.Context)
cluster/kube/client_hostname_connections.go:283
MethodAllLessThenOrEqual
AllLessThenOrEqual check all storage classes fit into max limits note better have dedicated limits for each class
bidengine/pricing.go:71
MethodAllocated
Allocated provides a mock function for the type Reservation
mocks/cluster/types/Reservation_mock.go:41
MethodAllocated
Allocated is a helper method to define mock.On call
mocks/cluster/types/Reservation_mock.go:63
MethodAllocated
()
cluster/reservation.go:56
MethodAllocated
()
cluster/kube/operators/clients/inventory/client_test.go:80
MethodAny
()
cluster/kube/builder/service.go:109
MethodApply
(ctx context.Context, inventory *applyconfigurationakashnetworkv2beta2.InventoryApplyConfiguration, opts v1.Ap
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventory.go:51
MethodApply
(ctx context.Context, providerHost *applyconfigurationakashnetworkv2beta2.ProviderHostApplyConfiguration, opts
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerhost.go:49
MethodApply
(ctx context.Context, manifest *applyconfigurationakashnetworkv2beta2.ManifestApplyConfiguration, opts v1.Appl
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:49
MethodApply
(ctx context.Context, providerLeasedIP *applyconfigurationakashnetworkv2beta2.ProviderLeasedIPApplyConfigurati
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerleasedip.go:49
MethodApply
(ctx context.Context, inventoryRequest *applyconfigurationakashnetworkv2beta2.InventoryRequestApplyConfigurati
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventoryrequest.go:51
MethodApplyStatus
Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventory.go:53
MethodApplyStatus
Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventoryrequest.go:53
MethodArchiveDomain
(domain string)
tools/certissuer/storage.go:311
MethodAttestationQuote
(ctx context.Context, lID v1.LeaseID, service string, podIndex uint, requestBody []byte)
mocks/cluster/Client_mock.go:1712
MethodAttestationQuote
(ctx context.Context, req *leasev1.AttestationQuoteRequest)
gateway/grpc/lease_server.go:24
MethodAttestationQuote
(_ context.Context, _ mtypes.LeaseID, _ string, _ uint, _ []byte)
cluster/client.go:327
MethodAttestationQuote
AttestationQuote forwards an attestation quote request to the sidecar running inside a confidential compute pod. It uses the K8s API server's pod prox
cluster/kube/client_attestation.go:35
MethodAvailable
()
sidecar/attestation/tee/mock.go:43
MethodAvailable
Available returns true if the guest rootfs is accessible and at least one GPU has Confidential Computing mode enabled.
sidecar/attestation/tee/nvidia_gpu.go:43
MethodAvailable
()
sidecar/attestation/tee/composite.go:30
MethodBidEngine
()
tools/pconfig/memory/memory.go:49
MethodBidEngine
()
tools/pconfig/bbolt/bbolt.go:80
MethodBidScreening
(ctx context.Context, request *providerv1.BidScreeningRequest)
gateway/grpc/server.go:43
MethodBuildAnnotations
(_ chostname.ConnectToDeploymentDirective)
cluster/kube/gateway/nginx_gateway.go:113
MethodBuildHTTPRouteSpec
BuildHTTPRouteSpec builds the HTTPRoute spec. When the directive carries any http_options, the rule references a per-route SnippetsFilter (built by Bu
cluster/kube/gateway/nginx_gateway.go:46
FunctionBuildRoleWithRegistry
BuildRoleWithRegistry creates a new Role builder with a custom PolicyRuleRegistry. This is useful for testing or for cases where custom resource mappi
cluster/kube/builder/role.go:33
MethodBuildRouteExtensions
BuildRouteExtensions returns the auxiliary CRD objects to apply for a route. For NGF that is a SnippetsFilter named after the route, carrying the http
cluster/kube/gateway/nginx_gateway.go:120
MethodCalculatePrice
(ctx context.Context, r Request)
bidengine/shellscript.go:130
MethodCalculatePrice
(_ context.Context, req Request)
bidengine/pricing.go:133
MethodCalculatePrice
(_ context.Context, req Request)
bidengine/pricing.go:253
MethodCalculatePrice
(_ context.Context, _ Request)
bidengine/order_test.go:652
MethodCalculatePrice
(_ context.Context, _ Request)
bidengine/order_test.go:681
MethodCanReserveHostnames
CanReserveHostnames provides a mock function for the type HostnameServiceClient
mocks/cluster/types/HostnameServiceClient_mock.go:43
MethodCanReserveHostnames
CanReserveHostnames is a helper method to define mock.On call - hostnames []string - ownerAddr types.Address
mocks/cluster/types/HostnameServiceClient_mock.go:67
MethodCanReserveHostnames
(hostnames []string, ownerAddr sdktypes.Address)
cluster/hostname.go:196
MethodCanReserveHostnames
(hostnames []string, ownerAddr sdktypes.Address)
cluster/hostname.go:451
MethodCheck
Check provides a mock function for the type Client
mocks/cluster/types/clients/ip/Client_mock.go:43
MethodCheck
Check is a helper method to define mock.On call - context1 context.Context
mocks/cluster/types/clients/ip/Client_mock.go:66
MethodCheck
(_ context.Context)
operator/waiter/waiter_test.go:18
MethodCheck
(ctx context.Context)
cluster/types/v1beta3/clients/hostname/hostname.go:55
MethodCheck
(_ context.Context)
cluster/types/v1beta3/clients/ip/ip.go:93
MethodCheck
(ctx context.Context)
cluster/kube/operators/clients/hostname/client.go:66
MethodCheck
(ctx context.Context)
cluster/kube/operators/clients/ip/client.go:65
MethodClient
()
session/session.go:40
FunctionClientHostnameFromContext
(ctx context.Context)
cluster/types/v1beta3/fromctx/context.go:31
FunctionClientIPFromContext
(ctx context.Context)
cluster/types/v1beta3/fromctx/context.go:19
FunctionClientInventoryFromContext
(ctx context.Context)
cluster/types/v1beta3/fromctx/context.go:43
MethodClose
()
service_test.go:33
MethodClose
()
service_test.go:67
MethodClose
()
balance_checker.go:108
MethodClose
()
service.go:51
MethodClose
()
service.go:171
MethodClose
()
tools/certissuer/lego.go:209
MethodClose
()
tools/pconfig/memory/memory.go:191
MethodClose
()
tools/pconfig/bbolt/bbolt.go:84
MethodClose
Close provides a mock function for the type Service
mocks/cluster/Service_mock.go:48
MethodClose
Close is a helper method to define mock.On call
mocks/cluster/Service_mock.go:70
MethodClose
()
cmd/provider-services/cmd/certs.go:224
MethodClose
()
bidengine/service.go:52
MethodClose
()
bidengine/service.go:143
MethodClose
()
manifest/service.go:63
MethodClose
()
manifest/service.go:202
MethodClose
()
cluster/service.go:211
MethodCluster
()
service.go:184
MethodCluster
Cluster provides a mock function for the type Client
mocks/client/Client_mock.go:46
MethodCluster
Cluster is a helper method to define mock.On call
mocks/client/Client_mock.go:70
MethodClusterParams
()
service.go:345
MethodClusterParams
ClusterParams provides a mock function for the type IDeployment
mocks/cluster/types/IDeployment_mock.go:41
MethodClusterParams
ClusterParams is a helper method to define mock.On call
mocks/cluster/types/IDeployment_mock.go:65
MethodClusterParams
ClusterParams provides a mock function for the type ReservationGroup
mocks/cluster/types/ReservationGroup_mock.go:40
MethodClusterParams
ClusterParams is a helper method to define mock.On call
mocks/cluster/types/ReservationGroup_mock.go:64
MethodClusterParams
ClusterParams provides a mock function for the type Reservation
mocks/cluster/types/Reservation_mock.go:85
MethodClusterParams
ClusterParams is a helper method to define mock.On call
mocks/cluster/types/Reservation_mock.go:109
MethodClusterParams
()
pkg/apis/akash.network/v2beta2/types.go:41
MethodClusterParams
()
cluster/reservation.go:52
MethodClusterParams
()
cluster/types/v1beta3/reservation.go:13
MethodClusterParams
()
cluster/types/v1beta3/deployment.go:33
MethodClusterParams
()
cluster/kube/operators/clients/inventory/client_test.go:88
MethodClusterParams
()
cluster/kube/builder/builder.go:211
MethodClusterService
()
service.go:167
MethodClusterService
ClusterService provides a mock function for the type Client
mocks/client/Client_mock.go:92
MethodClusterService
ClusterService is a helper method to define mock.On call
mocks/client/Client_mock.go:116
MethodCommit
Commit at the moment commit works on single node clusters
cluster/types/v1beta3/clients/inventory/inventory.go:135
FunctionConfigFromCtx
(ctx context.Context)
operator/inventory/util.go:67
MethodConnectHostnameToDeployment
ConnectHostnameToDeployment provides a mock function for the type Client
mocks/cluster/Client_mock.go:113
MethodConnectHostnameToDeployment
ConnectHostnameToDeployment is a helper method to define mock.On call - ctx context.Context - directive hostname.ConnectToDeploymentDirective
mocks/cluster/Client_mock.go:137
MethodConnectHostnameToDeployment
ConnectHostnameToDeployment Connect a given hostname to a deployment
cluster/client.go:80
MethodConnectHostnameToDeployment
(_ context.Context, _ chostname.ConnectToDeploymentDirective)
cluster/client.go:160
MethodConnectHostnameToDeployment
(ctx context.Context, directive chostname.ConnectToDeploymentDirective)
cluster/kube/client_ingress.go:79
MethodCopy
()
operator/inventory/config.go:166
MethodCopy
()
operator/inventory/config.go:174
MethodCopy
()
operator/inventory/config.go:183
MethodCopy
()
operator/inventory/config.go:191
MethodCopy
()
operator/inventory/config.go:201
← previousnext →1,201–1,300 of 2,992, ranked by callers