MCPcopy Create free account

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

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

FunctionMustKubeRESTClientFromCtx
(ctx context.Context)
tools/fromctx/context.go:94
FunctionMustLifecycleFromCtx
(ctx context.Context)
tools/fromctx/context.go:186
MethodNS
()
cluster/kube/builder/manifest.go:64
MethodNS
()
cluster/kube/builder/workload.go:29
MethodNS
()
cluster/kube/builder/workload.go:77
MethodName
()
migrations/ingress_to_httproute.go:38
MethodName
()
migrations/registry_test.go:17
MethodName
()
cluster/kube/builder/builder.go:214
MethodName
()
cluster/kube/builder/builder.go:234
MethodName
Name returns the implementation identifier.
cluster/kube/gateway/nginx_gateway.go:33
MethodName
Name returns the implementation identifier (e.g., "nginx", "istio", "kong")
cluster/kube/gateway/gateway.go:16
FunctionNew
New creates a new Clientset for the given RESTClient.
pkg/client/clientset/versioned/clientset.go:114
FunctionNew
New creates a new AkashV2beta2Client for the given RESTClient.
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:99
FunctionNew
New returns a new Interface.
pkg/client/informers/externalversions/akash.network/interface.go:39
FunctionNewCertificateQuerier
(cclient aclient.QueryClient)
client/cert.go:21
FunctionNewClient
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
mocks/client/Client_mock.go:20
FunctionNewClient
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
mocks/manifest/Client_mock.go:17
FunctionNewClient
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
mocks/cluster/Client_mock.go:25
FunctionNewClient
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
mocks/cluster/types/clients/ip/Client_mock.go:17
FunctionNewClient
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
mocks/cluster/kube/operators/clients/metallb/Client_mock.go:17
FunctionNewClient
(ctx context.Context, logger log.Logger, endpoint *net.SRV)
cluster/kube/operators/clients/hostname/client.go:37
FunctionNewCluster
NewCluster creates a new instance of Cluster. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectation
mocks/cluster/Cluster_mock.go:16
FunctionNewEventsFeed
(ctx context.Context)
cluster/types/v1beta3/types.go:89
FunctionNewFilteredSharedInformerFactory
NewFilteredSharedInformerFactory constructs a new instance of sharedInformerFactory. Listers obtained via this SharedInformerFactory will be subject t
pkg/client/informers/externalversions/factory.go:101
FunctionNewForConfigOrDie
NewForConfigOrDie creates a new Clientset for the given config and panics if there is an error in the config.
pkg/client/clientset/versioned/clientset.go:105
FunctionNewForConfigOrDie
NewForConfigOrDie creates a new AkashV2beta2Client for the given config and panics if there is an error in the config.
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:90
FunctionNewHostnameServiceClient
NewHostnameServiceClient creates a new instance of HostnameServiceClient. It also registers a testing interface on the mock and a cleanup function to
mocks/cluster/types/HostnameServiceClient_mock.go:17
FunctionNewIDeployment
NewIDeployment creates a new instance of IDeployment. It also registers a testing interface on the mock and a cleanup function to assert the mocks exp
mocks/cluster/types/IDeployment_mock.go:15
FunctionNewInventoryInformer
NewInventoryInformer constructs a new informer for Inventory type. Always prefer using an informer factory to get a shared informer instead of getting
pkg/client/informers/externalversions/akash.network/v2beta2/inventory.go:50
FunctionNewInventoryLister
NewInventoryLister returns a new InventoryLister.
pkg/client/listers/akash.network/v2beta2/inventory.go:46
FunctionNewInventoryRequestInformer
NewInventoryRequestInformer constructs a new informer for InventoryRequest type. Always prefer using an informer factory to get a shared informer inst
pkg/client/informers/externalversions/akash.network/v2beta2/inventoryrequest.go:50
FunctionNewInventoryRequestLister
NewInventoryRequestLister returns a new InventoryRequestLister.
pkg/client/listers/akash.network/v2beta2/inventoryrequest.go:46
FunctionNewManifestInformer
NewManifestInformer constructs a new informer for Manifest type. Always prefer using an informer factory to get a shared informer instead of getting a
pkg/client/informers/externalversions/akash.network/v2beta2/manifest.go:51
FunctionNewManifestLister
NewManifestLister returns a new ManifestLister.
pkg/client/listers/akash.network/v2beta2/manifest.go:45
FunctionNewNull
(ctx context.Context, nodes ...string)
cluster/types/v1beta3/clients/inventory/inventory.go:65
FunctionNewNullClient
()
cluster/types/v1beta3/clients/ip/ip.go:85
FunctionNewProviderHostInformer
NewProviderHostInformer constructs a new informer for ProviderHost type. Always prefer using an informer factory to get a shared informer instead of g
pkg/client/informers/externalversions/akash.network/v2beta2/providerhost.go:51
FunctionNewProviderHostLister
NewProviderHostLister returns a new ProviderHostLister.
pkg/client/listers/akash.network/v2beta2/providerhost.go:45
FunctionNewProviderLeasedIPInformer
NewProviderLeasedIPInformer constructs a new informer for ProviderLeasedIP type. Always prefer using an informer factory to get a shared informer inst
pkg/client/informers/externalversions/akash.network/v2beta2/providerleasedip.go:51
FunctionNewProviderLeasedIPLister
NewProviderLeasedIPLister returns a new ProviderLeasedIPLister.
pkg/client/listers/akash.network/v2beta2/providerleasedip.go:45
FunctionNewReadClient
NewReadClient creates a new instance of ReadClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expec
mocks/cluster/ReadClient_mock.go:21
FunctionNewReservation
NewReservation creates a new instance of Reservation. It also registers a testing interface on the mock and a cleanup function to assert the mocks exp
mocks/cluster/types/Reservation_mock.go:15
FunctionNewReservationGroup
NewReservationGroup creates a new instance of ReservationGroup. It also registers a testing interface on the mock and a cleanup function to assert the
mocks/cluster/types/ReservationGroup_mock.go:14
FunctionNewRootCmd
()
cmd/provider-services/cmd/root.go:23
FunctionNewServer
(ctx context.Context, t testing.TB, handler http.Handler, cquery gwutils.CertGetter, sni string)
testutil/rest/restserver.go:13
FunctionNewServer
(ctx context.Context, endpoint string, cquery gwutils.CertGetter, client provider.StatusClient)
gateway/grpc/server.go:60
FunctionNewServer
( ctx context.Context, log log.Logger, pclient provider.Client, cquery gwutils.CertGetter, sni string, a
gateway/rest/server.go:20
FunctionNewServerTLSConfig
(ctx context.Context, cquery CertGetter, sni string)
gateway/utils/utils.go:28
FunctionNewService
NewService creates a new instance of Service. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectation
mocks/cluster/Service_mock.go:22
FunctionNewServiceDiscoveryAgent
(ctx context.Context, logger log.Logger, portName, serviceName, namespace string, endpoint *net.SRV)
cluster/util/service_discovery_agent.go:29
FunctionNewSharedInformerFactory
NewSharedInformerFactory constructs a new instance of sharedInformerFactory for all namespaces.
pkg/client/informers/externalversions/factory.go:93
FunctionNewSimpleClientset
NewSimpleClientset returns a clientset that will respond with the provided objects. It's backed by a very simple object tracker that processes creates
pkg/client/clientset/versioned/fake/clientset_generated.go:42
FunctionNewSimpleHostnames
* Used in test code */
cluster/hostname.go:52
FunctionNewStatusClient
NewStatusClient creates a new instance of StatusClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks e
mocks/client/StatusClient_mock.go:17
FunctionNewStatusClient
NewStatusClient creates a new instance of StatusClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks e
mocks/manifest/StatusClient_mock.go:17
MethodObserveHostnameState
ObserveHostnameState provides a mock function for the type ReadClient
mocks/cluster/ReadClient_mock.go:613
MethodObserveHostnameState
ObserveHostnameState is a helper method to define mock.On call - ctx context.Context
mocks/cluster/ReadClient_mock.go:647
MethodObserveHostnameState
ObserveHostnameState provides a mock function for the type Client
mocks/cluster/Client_mock.go:1132
MethodObserveHostnameState
ObserveHostnameState is a helper method to define mock.On call - ctx context.Context
mocks/cluster/Client_mock.go:1166
MethodObserveHostnameState
(ctx context.Context)
cluster/client.go:55
MethodObserveHostnameState
(_ context.Context)
cluster/client.go:135
MethodObserveHostnameState
(ctx context.Context)
cluster/kube/client_hostname_connections.go:153
MethodObserveIPState
ObserveIPState provides a mock function for the type ReadClient
mocks/cluster/ReadClient_mock.go:675
MethodObserveIPState
ObserveIPState is a helper method to define mock.On call - ctx context.Context
mocks/cluster/ReadClient_mock.go:709
MethodObserveIPState
ObserveIPState provides a mock function for the type Client
mocks/cluster/Client_mock.go:1194
MethodObserveIPState
ObserveIPState is a helper method to define mock.On call - ctx context.Context
mocks/cluster/Client_mock.go:1228
MethodObserveIPState
(ctx context.Context)
cluster/client.go:58
MethodObserveIPState
(_ context.Context)
cluster/client.go:313
MethodObserveIPState
(ctx context.Context)
cluster/kube/cluster_ip_connections.go:136
MethodOnCreate
(err error)
cluster/kube/client_gateway.go:17
MethodOnCreate
(error)
cluster/kube/gateway/httproute.go:46
MethodOnDelete
(err error)
cluster/kube/client_gateway.go:25
MethodOnDelete
(error)
cluster/kube/gateway/httproute.go:48
MethodOnUpdate
(err error)
cluster/kube/client_gateway.go:21
MethodOnUpdate
(error)
cluster/kube/gateway/httproute.go:47
MethodOrderID
OrderID provides a mock function for the type Reservation
mocks/cluster/types/Reservation_mock.go:177
MethodOrderID
OrderID is a helper method to define mock.On call
mocks/cluster/types/Reservation_mock.go:199
MethodOrderID
()
cluster/reservation.go:31
MethodOrderID
()
cluster/kube/operators/clients/inventory/client_test.go:64
MethodPatch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...stri
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventory.go:50
MethodPatch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...stri
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerhost.go:48
MethodPatch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...stri
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerleasedip.go:48
MethodPatch
(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...stri
pkg/client/clientset/versioned/typed/akash.network/v2beta2/inventoryrequest.go:50
FunctionPersistentConfigReaderFromCtx
(ctx context.Context)
tools/fromctx/context.go:241
FunctionPersistentConfigWriterFromCtx
(ctx context.Context)
tools/fromctx/context.go:255
MethodPrepare
(pd PreparedResult)
operator/common/ignore_list.go:46
MethodPrepareAll
()
operator/common/operator_server.go:90
MethodPrepareHostnamesForTransfer
PrepareHostnamesForTransfer provides a mock function for the type HostnameServiceClient
mocks/cluster/types/HostnameServiceClient_mock.go:100
MethodPrepareHostnamesForTransfer
PrepareHostnamesForTransfer is a helper method to define mock.On call - ctx context.Context - hostnames []string - leaseID v1.LeaseID
mocks/cluster/types/HostnameServiceClient_mock.go:125
MethodPrepareHostnamesForTransfer
(ctx context.Context, hostnames []string, leaseID mtypes.LeaseID)
cluster/hostname.go:74
MethodPrepareHostnamesForTransfer
(ctx context.Context, hostnames []string, leaseID mtypes.LeaseID)
cluster/hostname.go:342
MethodProvider
()
session/session.go:44
FunctionProviderHost
ProviderHost constructs a declarative configuration of the ProviderHost type for use with apply.
pkg/client/applyconfiguration/akash.network/v2beta2/providerhost.go:37
FunctionProviderHostSpec
ProviderHostSpecApplyConfiguration constructs a declarative configuration of the ProviderHostSpec type for use with apply.
pkg/client/applyconfiguration/akash.network/v2beta2/providerhostspec.go:36
MethodProviderHosts
ProviderHosts returns an object that can list and get ProviderHosts.
pkg/client/listers/akash.network/v2beta2/providerhost.go:50
MethodProviderHosts
(namespace string)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/akash.network_client.go:55
MethodProviderHosts
(namespace string)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/providerhost.go:36
MethodProviderHosts
(namespace string)
pkg/client/clientset/versioned/typed/akash.network/v2beta2/fake/fake_akash.network_client.go:43
MethodProviderHosts
ProviderHosts returns a ProviderHostInformer.
pkg/client/informers/externalversions/akash.network/v2beta2/interface.go:66
FunctionProviderLeasedIP
ProviderLeasedIP constructs a declarative configuration of the ProviderLeasedIP type for use with apply.
pkg/client/applyconfiguration/akash.network/v2beta2/providerleasedip.go:37
← previousnext →1,601–1,700 of 2,680, ranked by callers