Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akash-network/provider
/ functions
Functions
2,680 in github.com/akash-network/provider
⨍
Functions
2,680
◇
Types & classes
661
↓ 4 callers
Function
MustGatewayConfigFromCtx
(ctx context.Context)
tools/fromctx/context.go:357
↓ 4 callers
Function
MustStartupChFromCtx
(ctx context.Context)
tools/fromctx/context.go:71
↓ 4 callers
Function
NewClient
NewClient returns new Kubernetes Client instance with provided logger, host and ns. Returns error in-case of failure configPath may be the empty strin
cluster/kube/client.go:93
↓ 4 callers
Function
NewDefaultConfig
()
cluster/config.go:32
↓ 4 callers
Function
NewIgnoreList
(config IgnoreListConfig)
operator/common/ignore_list.go:39
↓ 4 callers
Function
NewIngressToHTTPRouteMigration
()
migrations/ingress_to_httproute.go:32
↓ 4 callers
Function
NewNginxGateway
NewNginxGateway creates a new NGINX Gateway Fabric provider.
cluster/kube/gateway/nginx_gateway.go:28
↓ 4 callers
Function
NewStorage
NewStorage Creates a new AccountsStorage.
tools/certissuer/storage.go:193
↓ 4 callers
Function
OpenKubeConfig
(cfgPath string, log log.Logger)
cluster/kube/clientcommon/open_kube_config.go:19
↓ 4 callers
Method
PrepareAll
()
operator/common/operator_server.go:24
↓ 4 callers
Function
RecoverLeaseIDFromLabels
TODO - move to provider/cluster/util since this is generic
cluster/kube/clientcommon/recover_lease_id_from_labels.go:19
↓ 4 callers
Method
Save
Save writes the migration state to the file. Creates the directory if it doesn't exist.
migrations/state.go:55
↓ 4 callers
Method
StatusV1
(context.Context)
cluster/service.go:86
↓ 4 callers
Function
ValidateSettings
(settings Settings)
cluster/kube/builder/settings.go:87
↓ 4 callers
Function
addLeaseFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:90
↓ 4 callers
Method
affinity
()
cluster/kube/builder/workload.go:290
↓ 4 callers
Method
automountServiceAccountToken
()
cluster/kube/builder/workload.go:459
↓ 4 callers
Method
leaseExists
(ctx context.Context, lid mtypes.LeaseID)
cluster/kube/client.go:1217
↓ 4 callers
Function
makeInventoryScaffold
(t *testing.T, leaseQty uint)
cluster/inventory_test.go:285
↓ 4 callers
Function
newDeploymentMonitor
(dm *deploymentManager)
cluster/monitor.go:48
↓ 4 callers
Function
newPreparedResult
()
operator/common/prepared_data.go:28
↓ 4 callers
Function
queryAppWithHostname
nolint: unparam
integration/test_helpers.go:118
↓ 4 callers
Method
replicas
()
cluster/kube/builder/workload.go:283
↓ 4 callers
Function
requestOwner
(req *http.Request)
gateway/rest/middleware.go:59
↓ 4 callers
Function
requestProvider
(req *http.Request)
gateway/rest/middleware.go:55
↓ 4 callers
Function
run_kubectl
(*args, ojson = True, stdin_data = None)
script/provider_migrate_to_hostname_operator.py:48
↓ 4 callers
Method
runtimeClass
()
cluster/kube/builder/workload.go:267
↓ 4 callers
Method
serviceAccountName
()
cluster/kube/builder/workload.go:468
↓ 4 callers
Function
testCertHelper
(t *testing.T, test *routerTest)
gateway/rest/router_test.go:168
↓ 4 callers
Method
unreserve
(order mtypes.OrderID)
cluster/inventory.go:218
↓ 3 callers
Method
ArchiveDomain
(string)
tools/certissuer/storage.go:87
↓ 3 callers
Function
BuildRole
BuildRole creates a new Role builder for the given workload. It uses the default PolicyRuleRegistry which includes mappings for all supported resource
cluster/kube/builder/role.go:24
↓ 3 callers
Method
CanReserveHostnames
(hostnames []string, ownerAddr sdktypes.Address)
cluster/types/v1beta3/types.go:154
↓ 3 callers
Method
ClusterParams
()
cluster/kube/builder/builder.go:80
↓ 3 callers
Method
CreateRequest
(ctx context.Context, method, path string, body io.Reader)
cluster/util/service_discovery_agent_types.go:20
↓ 3 callers
Method
Deploy
(ctx context.Context, deployment ctypes.IDeployment)
cluster/client.go:65
↓ 3 callers
Function
DetectPort
(ctx context.Context, flags *flag.FlagSet, flag string, container, portName string)
operator/common/operator_flags.go:55
↓ 3 callers
Method
Discovery
()
pkg/client/clientset/versioned/clientset.go:32
↓ 3 callers
Function
ErrGroupFromCtx
(ctx context.Context)
tools/fromctx/context.go:195
↓ 3 callers
Method
ForwardedPortStatus
(context.Context, mtypes.LeaseID)
cluster/client.go:47
↓ 3 callers
Method
FromVersion
FromVersion returns the provider version this migration applies from. Migrations will only run when upgrading from a version < FromVersion. For fresh
migrations/migrations.go:22
↓ 3 callers
Method
GenerateRules
GenerateRules generates all policy rules for the given permissions
cluster/kube/builder/permissions.go:85
↓ 3 callers
Method
GetAccountPublicKey
(context.Context, sdk.Address)
tools/pconfig/pconfig.go:26
↓ 3 callers
Method
GetAccountPublicKey
(context.Context, sdk.Address)
types/types.go:20
↓ 3 callers
Method
GetClient
(ctx context.Context, isHTTPS, secure bool)
cluster/util/service_discovery_agent_types.go:15
↓ 3 callers
Function
GetEndpointQuantityOfResourceGroup
(resources dtypes.ResourceGroup, kind rtypes.Endpoint_Kind)
cluster/util/endpoint_quantity.go:8
↓ 3 callers
Method
GetIPAddressStatus
(context.Context, mtypes.OrderID)
cluster/types/v1beta3/clients/ip/ip.go:72
↓ 3 callers
Method
GetIPAddressUsage
(ctx context.Context)
cluster/kube/operators/clients/metallb/client.go:53
↓ 3 callers
Method
GetManifestGroup
(context.Context, mtypes.LeaseID)
cluster/client.go:53
↓ 3 callers
Method
GetProtocol
()
cluster/types/v1beta3/clients/ip/ip.go:39
↓ 3 callers
Method
HasAny
HasAny returns true if any permissions are defined
cluster/kube/builder/permissions.go:21
↓ 3 callers
Method
HostnameService
()
cluster/service.go:97
↓ 3 callers
Method
Informer
()
pkg/client/informers/externalversions/generic.go:32
↓ 3 callers
Method
Less
(i, j int)
tools/certissuer/lego.go:61
↓ 3 callers
Function
MakeIPSharingKey
(lID mtypes.LeaseID, endpointName string)
cluster/util/ip_sharing_key.go:16
↓ 3 callers
Function
NewDeployment
(workload *Workload)
cluster/kube/builder/deployment.go:22
↓ 3 callers
Function
NewInfo
()
version/version.go:102
↓ 3 callers
Function
NewMemory
()
tools/pconfig/memory/memory.go:40
↓ 3 callers
Function
NewPolicyRuleRegistry
NewPolicyRuleRegistry creates a new registry with default resource mappings
cluster/kube/builder/permissions.go:67
↓ 3 callers
Method
Prune
()
operator/common/ignore_list.go:23
↓ 3 callers
Method
Return
(providerStatus *rest.ProviderStatus, err error)
mocks/client/StatusClient_mock.go:94
↓ 3 callers
Method
Return
(err error)
mocks/manifest/Client_mock.go:161
↓ 3 callers
Method
Return
(manifestStatus *rest.ManifestStatus, err error)
mocks/manifest/StatusClient_mock.go:94
↓ 3 callers
Method
Return
(reservation v1beta3.Reservation, err error)
mocks/cluster/Cluster_mock.go:99
↓ 3 callers
Method
SendEvent
(*eventsv1.Event)
cluster/types/v1beta3/types.go:78
↓ 3 callers
Method
SetClusterParams
(interface{})
cluster/types/v1beta3/reservation.go:12
↓ 3 callers
Function
SetKubeConfigToCmd
(c *cobra.Command)
cluster/kube/clientcommon/open_kube_config.go:50
↓ 3 callers
Method
SetResourceVersion
(string)
cluster/kube/builder/builder.go:81
↓ 3 callers
Method
Validate
()
cluster/kube/builder/builder.go:215
↓ 3 callers
Method
WithGSeq
WithGSeq sets the GSeq field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "W
pkg/client/applyconfiguration/akash.network/v2beta2/leaseid.go:56
↓ 3 callers
Method
WithLeaseID
WithLeaseID sets the LeaseID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chain
pkg/client/applyconfiguration/akash.network/v2beta2/manifestspec.go:37
↓ 3 callers
Method
WithOSeq
WithOSeq sets the OSeq field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "W
pkg/client/applyconfiguration/akash.network/v2beta2/leaseid.go:64
↓ 3 callers
Function
addCmdFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:59
↓ 3 callers
Function
addServiceFlags
(cmd *cobra.Command)
cmd/provider-services/cmd/helpers.go:98
↓ 3 callers
Function
cleanupStaleRBACResources
cleanupStaleRBACResources removes ServiceAccounts, Roles, and RoleBindings that belong to services that no longer have permissions in the current mani
cluster/kube/cleanup.go:82
↓ 3 callers
Function
cleanupStaleResources
(ctx context.Context, kc kubernetes.Interface, lid mtypes.LeaseID, group *mani.Group, servicesWithPermissions
cluster/kube/cleanup.go:17
↓ 3 callers
Function
clusterErrorToHTTP
(err error)
gateway/rest/cluster_errors.go:13
↓ 3 callers
Function
decNearly
(t *testing.T, v sdkmath.LegacyDec, expected int64)
bidengine/pricing_test.go:231
↓ 3 callers
Function
defaultGroupSpecCPUMem
()
bidengine/pricing_test.go:63
↓ 3 callers
Function
generateTestFiles
(t *testing.T, dir, domain string)
tools/certissuer/storage_test.go:142
↓ 3 callers
Function
getStateKey
(leaseID mtypes.LeaseID, sharingKey string, externalPort uint32)
operator/ip/operator.go:284
↓ 3 callers
Method
getStatusV1
(state *inventoryServiceState)
cluster/inventory.go:838
↓ 3 callers
Method
getWorkloadPermissions
getWorkloadPermissions extracts all permission types from the service params and returns them as a WorkloadPermissions struct. NOTE: Currently only Re
cluster/kube/builder/workload.go:429
↓ 3 callers
Method
hasPermissions
hasPermissions returns true if any permissions are defined for this workload. This checks all permission types (read, write, delete).
cluster/kube/builder/workload.go:444
↓ 3 callers
Function
integrationTestOnly
skip integration-only tests. using build tags breaks tooling for compilation, etc...
integration/test_helpers.go:55
↓ 3 callers
Function
kubeSelectorForLease
(dst *strings.Builder, lID mtypes.LeaseID)
operator/ip/operator.go:916
↓ 3 callers
Function
leasesForDeployment
(ctx context.Context, cctx sdkclient.Context, flags *pflag.FlagSet, cl aclient.QueryClient)
cmd/provider-services/cmd/helpers.go:156
↓ 3 callers
Function
makeGroupForInventoryTest
(sharedHTTP, nodePort, leasedIP bool)
cluster/inventory_test.go:342
↓ 3 callers
Function
makeWatchdogTestScaffold
(t *testing.T, timeout time.Duration)
manifest/watchdog_test.go:31
↓ 3 callers
Function
mockManifestGroupsForRouterTest
(rt *routerTest, leaseID mtypes.LeaseID)
gateway/rest/router_test.go:567
↓ 3 callers
Method
newRequest
(ctx context.Context, method string, path string, body io.Reader)
cluster/kube/operators/clients/ip/client.go:84
↓ 3 callers
Function
providerFromFlags
(flags *pflag.FlagSet)
cmd/provider-services/cmd/helpers.go:143
↓ 3 callers
Function
queryWithBody
(val []byte)
integration/test_helpers.go:45
↓ 3 callers
Function
sanitizedDomain
sanitizedDomain Make sure no funny chars are in the cert names (like wildcards ;)).
tools/certissuer/storage.go:653
↓ 3 callers
Method
stop
()
manifest/manager.go:97
↓ 3 callers
Method
stopMonitor
()
cluster/manager.go:265
↓ 3 callers
Function
websocketCloseCodeFrom
(err error)
gateway/rest/router.go:72
↓ 2 callers
Function
AccountQuerierFromCtx
(ctx context.Context)
tools/fromctx/context.go:283
↓ 2 callers
Function
AddIgnoreListFlags
(cmd *cobra.Command)
operator/common/ignore_list_config.go:31
↓ 2 callers
Function
AddOperatorFlags
(cmd *cobra.Command)
operator/common/operator_flags.go:26
← previous
next →
201–300 of 2,680, ranked by callers