MCPcopy Create free account

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

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

MethodBuildAnnotations
BuildAnnotations creates NGINX-specific annotations for features not available in the standard Gateway API v1 spec. Annotations used: - nginx.org/cli
cluster/kube/gateway/nginx_gateway.go:108
MethodBuildHTTPRouteSpec
BuildHTTPRouteSpec builds the HTTPRoute spec using standard Gateway API features. Timeouts are configured via NGINX-specific annotations (see BuildAnn
cluster/kube/gateway/nginx_gateway.go:40
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
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:201
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
MethodCreate
(ctx context.Context, inventory *akashnetworkv2beta2.Inventory, opts v1.CreateOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventory.go:41
MethodCreate
(ctx context.Context, providerHost *akashnetworkv2beta2.ProviderHost, opts v1.CreateOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerhost.go:41
MethodCreate
(ctx context.Context, providerLeasedIP *akashnetworkv2beta2.ProviderLeasedIP, opts v1.CreateOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerleasedip.go:41
MethodCreate
(ctx context.Context, inventoryRequest *akashnetworkv2beta2.InventoryRequest, opts v1.CreateOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventoryrequest.go:41
MethodCreate
()
cluster/kube/builder/serviceaccount.go:10
MethodCreate
()
cluster/kube/builder/serviceaccount.go:30
MethodCreate
()
cluster/kube/builder/rolebinding.go:18
MethodCreate
Create returns a new RoleBinding with the name, labels, RoleRef, and Subjects derived from the builder's workload. The RoleBinding will reference a R
cluster/kube/builder/rolebinding.go:44
MethodCreate
()
cluster/kube/builder/netpol.go:17
MethodCreate
Create a set of NetworkPolicies to restrict the ingress traffic to a Tenant's Deployment namespace.
cluster/kube/builder/netpol.go:33
MethodCreate
()
cluster/kube/builder/role.go:59
MethodCreate
()
cluster/kube/builder/service.go:16
MethodCreate
()
cluster/kube/builder/service.go:54
MethodCreate
()
cluster/kube/builder/manifest.go:11
MethodCreate
()
cluster/kube/builder/manifest.go:40
MethodCreate
()
cluster/kube/builder/statefulset.go:12
MethodCreate
()
cluster/kube/builder/statefulset.go:32
MethodCreate
()
cluster/kube/builder/service_credentials.go:16
MethodCreate
()
cluster/kube/builder/service_credentials.go:37
MethodCreate
()
cluster/kube/builder/deployment.go:32
MethodCreate
()
cluster/kube/builder/namespace.go:10
MethodCreate
()
cluster/kube/builder/namespace.go:28
MethodCreateIPPassthrough
CreateIPPassthrough provides a mock function for the type Client
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:43
MethodCreateIPPassthrough
CreateIPPassthrough is a helper method to define mock.On call - ctx context.Context - directive ip.ClusterIPPassthroughDirective
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:67
MethodCreateIPPassthrough
(_ context.Context, _ mtypes.LeaseID, _ cip.ClusterIPPassthroughDirective)
cluster/client.go:339
MethodCreateIPPassthrough
(ctx context.Context, directive cip.ClusterIPPassthroughDirective)
cluster/kube/operators/clients/metallb/client.go:331
MethodCreateRequest
(ctx context.Context, method, path string, body io.Reader)
cluster/util/service_client.go:12
MethodCreatedAtBlockHeight
()
session/session.go:53
MethodDeclareHostname
DeclareHostname provides a mock function for the type Client
mocks/cluster/Client_mock.go:170
MethodDeclareHostname
DeclareHostname is a helper method to define mock.On call - ctx context.Context - lID v1.LeaseID - host string - serviceName string - externalPort uin
mocks/cluster/Client_mock.go:197
← previousnext →1,201–1,300 of 2,942, ranked by callers