MCPcopy Create free account

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

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

MethodDeployments
Deployments is a helper method to define mock.On call - context1 context.Context
mocks/cluster/Client_mock.go:429
MethodDeployments
(context.Context)
cluster/client.go:299
MethodDeployments
(ctx context.Context)
cluster/kube/client.go:221
FunctionDeregisterWebhookConfiguration
DeregisterWebhookConfiguration removes the MutatingWebhookConfiguration from the cluster. Call this on shutdown to avoid dangling webhooks that block
cluster/kube/webhook/registration.go:132
MethodDescription
()
migrations/ingress_to_httproute.go:42
MethodDescription
()
migrations/registry_test.go:21
FunctionDetect
Detect probes the guest environment and returns the first available TEE provider. If ATTESTATION_MOCK=true is set, returns a MockProvider that produc
sidecar/attestation/tee/tee.go:61
MethodDetectPoolChanges
DetectPoolChanges provides a mock function for the type Client
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:100
MethodDetectPoolChanges
DetectPoolChanges is a helper method to define mock.On call - ctx context.Context
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:134
MethodDetectPoolChanges
(ctx context.Context)
operator/ip/operator.go:732
MethodDetectPoolChanges
(ctx context.Context)
cluster/kube/operators/clients/metallb/client.go:494
MethodDetectTEEPlatform
AttestationQuote provides a mock function for the type Client
mocks/cluster/Client_mock.go:1708
MethodDetectTEEPlatform
(_ context.Context)
cluster/client.go:331
MethodDetectTEEPlatform
DetectTEEPlatform scans K8s nodes to determine the TEE platform available. Returns TEEPlatformTDX if any node has the TDX label, TEEPlatformSNP for SN
cluster/kube/client_attestation.go:129
FunctionDiscoverInfinibandFromSysfs
DiscoverInfinibandFromSysfs walks `/sys/class/infiniband` on the host (via the InfinibandSysfsPath mount) and produces the IBDiscovery payload. Return
operator/inventory/infiniband.go:41
MethodDiscoverNow
()
cluster/util/service_discovery_agent_types.go:16
MethodDiscoverNow
()
cluster/util/service_discovery_agent_static.go:13
MethodDiscoverNow
()
cluster/util/service_discovery_agent.go:56
MethodDiscovery
Discovery retrieves the DiscoveryClient
pkg/client/clientset/versioned/clientset.go:48
MethodDiscovery
()
pkg/client/clientset/versioned/fake/clientset_generated.go:79
MethodDoRequest
(req *http.Request)
cluster/util/service_client.go:22
MethodDone
()
service_test.go:37
MethodDone
()
service_test.go:63
MethodDone
()
service.go:176
MethodDone
Done provides a mock function for the type Service
mocks/cluster/Service_mock.go:92
MethodDone
Done is a helper method to define mock.On call
mocks/cluster/Service_mock.go:116
MethodDone
()
bidengine/service.go:53
MethodDone
()
bidengine/service.go:148
MethodDone
()
manifest/service.go:62
MethodDone
()
manifest/service.go:198
MethodDone
()
cluster/service.go:216
MethodDone
()
cluster/types/v1beta3/types.go:237
MethodDup
()
cluster/inventory_test.go:56
MethodDup
()
cluster/types/v1beta3/clients/inventory/inventory.go:277
MethodDup
()
cluster/kube/operators/clients/inventory/inventory.go:58
MethodEXPECT
()
mocks/client/StatusClient_mock.go:38
MethodEXPECT
()
mocks/manifest/Client_mock.go:38
MethodEXPECT
()
mocks/manifest/StatusClient_mock.go:38
MethodEXPECT
()
mocks/cluster/ReadClient_mock.go:42
MethodEXPECT
()
mocks/cluster/Client_mock.go:46
MethodEXPECT
()
mocks/cluster/Cluster_mock.go:37
MethodEXPECT
()
mocks/cluster/types/IDeployment_mock.go:36
MethodEXPECT
()
mocks/cluster/types/ReservationGroup_mock.go:35
MethodEXPECT
()
mocks/cluster/types/Reservation_mock.go:36
MethodEXPECT
()
mocks/cluster/types/HostnameServiceClient_mock.go:38
MethodEXPECT
()
mocks/cluster/types/clients/ip/Client_mock.go:38
MethodEXPECT
()
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:38
MethodEnabled
(int)
operator/inventory/node-discovery_test.go:31
MethodExec
Exec provides a mock function for the type Client
mocks/cluster/Client_mock.go:457
MethodExec
Exec is a helper method to define mock.On call - ctx context.Context - lID v1.LeaseID - service string - podIndex uint - cmd []string - stdin io.Reade
mocks/cluster/Client_mock.go:500
MethodExec
(context.Context, mtypes.LeaseID, string, uint, []string, io.Reader, io.Writer, io.Writer, bool, remotecommand
cluster/client.go:303
MethodExec
(ctx context.Context, leaseID mtypes.LeaseID, serviceName string, podIndex uint, cmd []string, stdin io.Reader
cluster/kube/client_exec.go:51
MethodExecCommandInContainerWithFullOutput
(ctx context.Context, appLabel, containerName, namespace string, cmd ...string)
operator/inventory/types.go:176
FunctionExecLeaseShell
(ctx context.Context, clientCtx sdkclient.Context, args ...string)
testutil/provider/provider.go:48
FunctionExecMigrateHostname
(ctx context.Context, clientCtx sdkclient.Context, args ...string)
testutil/provider/provider.go:56
FunctionExecProviderLeaseStatus
(ctx context.Context, clientCtx client.Context, extraArgs ...string)
cmd/provider-services/cmd/test_helpers.go:12
FunctionExecProviderService
(ctx context.Context, clientCtx client.Context, extraArgs ...string)
cmd/provider-services/cmd/test_helpers.go:24
FunctionExecProviderServiceStatus
(ctx context.Context, clientCtx client.Context, extraArgs ...string)
cmd/provider-services/cmd/test_helpers.go:16
FunctionExecProviderStatus
(ctx context.Context, clientCtx client.Context, extraArgs ...string)
cmd/provider-services/cmd/test_helpers.go:20
FunctionExecSendManifest
ExecSendManifest for integration testing this is similar to cli command exampled below akash provider send-manifest --owner <address> \ --dseq 7 \
testutil/provider/provider.go:40
MethodExecWithOptions
(ctx context.Context, options rookexec.ExecOptions)
operator/inventory/types.go:175
FunctionExtractMockReportData
ExtractMockReportData extracts the report_data (nonce) from a mock report.
sidecar/attestation/tee/mock.go:135
FunctionFeatureDiscoveryFromCtx
(ctx context.Context)
operator/inventory/util.go:49
FunctionFilterGPUInterface
FilterGPUInterface ensures interface values are always lower case generalizes sxm* to sxm
cluster/types/v1beta3/types.go:295
MethodFindActiveLease
FindActiveLease provides a mock function for the type Service
mocks/cluster/Service_mock.go:138
MethodFindActiveLease
FindActiveLease is a helper method to define mock.On call - ctx context.Context - owner types.Address - dseq uint64 - gseq uint32
mocks/cluster/Service_mock.go:185
MethodFindActiveLease
(ctx context.Context, owner sdktypes.Address, dseq uint64, gseq uint32)
cluster/service.go:173
MethodFlag
()
operator/common/prepared_data.go:36
FunctionForKind
ForKind returns an apply configuration type for the given GroupVersionKind, or nil if no apply configuration type exists for the given GroupVersionKin
pkg/client/applyconfiguration/utils.go:32
MethodForModule
(name string)
session/session.go:48
MethodForResource
ForResource gives generic access to a shared informer of the matching type.
pkg/client/informers/externalversions/factory.go:251
MethodForResource
ForResource gives generic access to a shared informer of the matching type TODO extend this to unknown resources with a client pool
pkg/client/informers/externalversions/generic.go:53
MethodForwardedPortStatus
ForwardedPortStatus provides a mock function for the type ReadClient
mocks/cluster/ReadClient_mock.go:109
MethodForwardedPortStatus
ForwardedPortStatus is a helper method to define mock.On call - context1 context.Context - leaseID v1.LeaseID
mocks/cluster/ReadClient_mock.go:144
MethodForwardedPortStatus
ForwardedPortStatus provides a mock function for the type Client
mocks/cluster/Client_mock.go:573
MethodForwardedPortStatus
ForwardedPortStatus is a helper method to define mock.On call - context1 context.Context - leaseID v1.LeaseID
mocks/cluster/Client_mock.go:608
MethodForwardedPortStatus
(_ context.Context, _ mtypes.LeaseID)
cluster/client.go:193
MethodForwardedPortStatus
(ctx context.Context, leaseID mtypes.LeaseID)
cluster/kube/client.go:1044
MethodFromVersion
()
migrations/ingress_to_httproute.go:46
MethodFromVersion
()
migrations/registry_test.go:25
MethodGet
Get retrieves the ProviderHost from the indexer for a given namespace and name. Objects returned here must be treated as read-only.
pkg/client/listers/akash.network/v2beta2/providerhost.go:62
MethodGet
Get retrieves the Manifest from the indexer for a given namespace and name. Objects returned here must be treated as read-only.
pkg/client/listers/akash.network/v2beta2/manifest.go:62
MethodGet
Get retrieves the ProviderLeasedIP from the indexer for a given namespace and name. Objects returned here must be treated as read-only.
pkg/client/listers/akash.network/v2beta2/providerleasedip.go:62
MethodGet
Get retrieves the InventoryRequest from the index for a given name. Objects returned here must be treated as read-only.
pkg/client/listers/akash.network/v2beta2/inventoryrequest.go:36
MethodGet
(ctx context.Context, name string, opts v1.GetOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventory.go:47
MethodGet
(ctx context.Context, name string, opts v1.GetOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerhost.go:45
MethodGet
(ctx context.Context, name string, opts v1.GetOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/manifest.go:45
MethodGet
(ctx context.Context, name string, opts v1.GetOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerleasedip.go:45
MethodGet
(ctx context.Context, name string, opts v1.GetOptions)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventoryrequest.go:47
MethodGet
Get retrieves a Gateway provider by name. Returns an error if the provider is not registered.
cluster/kube/gateway/registry.go:34
MethodGetAPIVersion
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/inventory.go:227
MethodGetAPIVersion
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/providerhost.go:219
MethodGetAPIVersion
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/providerleasedip.go:219
MethodGetAPIVersion
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
pkg/client/applyconfiguration/akash.network/v2beta2/inventoryrequest.go:227
MethodGetAccountCertificate
(_ context.Context, address sdk.Address, serial *big.Int)
tools/pconfig/memory/memory.go:127
MethodGetAccountCertificate
(_ context.Context, acc sdk.Address, serial *big.Int)
tools/pconfig/bbolt/bbolt.go:292
MethodGetAccountCertificate
(ctx context.Context, owner sdk.Address, serial *big.Int)
client/cert.go:25
MethodGetAccountCertificate
(ctx context.Context, acc sdk.Address, serial *big.Int)
cmd/provider-services/cmd/certs.go:236
MethodGetAccountCertificate
(ctx context.Context, address sdk.Address, serial *big.Int)
gateway/rest/integration_test.go:510
MethodGetAccountPublicKey
(_ context.Context, address sdk.Address)
tools/pconfig/memory/memory.go:111
← previousnext →1,401–1,500 of 2,992, ranked by callers