Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eth-easl/dirigent
/ functions
Functions
1,276 in github.com/eth-easl/dirigent
⨍
Functions
1,276
◇
Types & classes
154
↓ 4 callers
Method
RemoveDataplane
(ipAddress string, port int, restart bool)
internal/data_plane/haproxy/manager.go:160
↓ 4 callers
Method
ReportFailure
(ctx context.Context, in *Failure, opts ...grpc.CallOption)
api/proto/control_plane_interface_grpc.pb.go:28
↓ 4 callers
Method
ReviseHAProxyConfiguration
HAProxy
api/proto/control_plane_interface_grpc.pb.go:37
↓ 4 callers
Method
ReviseRegistrationServers
ReviseRegistrationServers Need to call restart after this call
internal/data_plane/haproxy/manager.go:341
↓ 4 callers
Method
SetSchedulability
(bool)
internal/control_plane/core/interface.go:68
↓ 4 callers
Function
SetupLogger
(verbosity string)
pkg/logger/logging.go:34
↓ 4 callers
Function
StartContainer
(ctx context.Context, container containerd.Container, network cni.CNI)
internal/worker_node/sandbox/containerd/iface.go:93
↓ 4 callers
Function
WatchExitChannel
(cpApi proto.CpiInterfaceClient, metadata *managers.Metadata, extractContainerName func(*managers.Metadata) st
internal/worker_node/sandbox/containerd/iface.go:133
↓ 4 callers
Function
file_common_proto_init
()
api/proto/common.pb.go:814
↓ 4 callers
Function
file_raft_proto_rawDescGZIP
()
api/proto/raft.pb.go:296
↓ 4 callers
Function
file_worker_node_interface_proto_rawDescGZIP
()
api/proto/worker_node_interface.pb.go:428
↓ 4 callers
Method
prepareEndpointInfo
TODO: Refactor two following function - design can be improved
internal/control_plane/scaling_loop.go:370
↓ 3 callers
Method
AddChannel
(PID uint32, notifyChannel chan uint32)
internal/worker_node/managers/process_monitor.go:75
↓ 3 callers
Method
AddDataplane
(ipAddress string, port int, restart bool)
internal/data_plane/haproxy/manager.go:146
↓ 3 callers
Method
AddDeployment
(ctx context.Context, in *ServiceInfo, opts ...grpc.CallOption)
api/proto/data_plane_interface_grpc.pb.go:22
↓ 3 callers
Method
AtomicRemove
(key K)
pkg/synchronization/control_plane_sync.go:50
↓ 3 callers
Method
ConnectToWorker
()
internal/control_plane/core/interface.go:51
↓ 3 callers
Function
CreateGRPCServer
(port string, serverSpecific func(sr grpc.ServiceRegistrar), options ...grpc.ServerOption)
pkg/grpc_helpers/grpc_helpers.go:46
↓ 3 callers
Method
CreateSandbox
(context.Context, *proto.ServiceInfo, ...grpc.CallOption)
internal/control_plane/core/interface.go:52
↓ 3 callers
Method
CreateSandbox
(ctx context.Context, in *ServiceInfo, opts ...grpc.CallOption)
api/proto/worker_node_interface_grpc.pb.go:22
↓ 3 callers
Method
DecrementQueueDepth
()
internal/data_plane/function_metadata/statistics.go:66
↓ 3 callers
Function
DeleteContainer
(ctx context.Context, network cni.CNI, metadata *managers.Metadata)
internal/worker_node/sandbox/containerd/iface.go:159
↓ 3 callers
Method
DeleteDataPlaneInformation
(ctx context.Context, dataplaneInfo *proto.DataplaneInformation)
internal/control_plane/persistence/interface.go:35
↓ 3 callers
Method
DeleteDeployment
(context.Context, *proto.ServiceInfo)
internal/control_plane/core/interface.go:40
↓ 3 callers
Method
DeleteDeployment
(ctx context.Context, in *ServiceInfo, opts ...grpc.CallOption)
api/proto/data_plane_interface_grpc.pb.go:23
↓ 3 callers
Method
DeleteSandbox
(ctx context.Context, in *proto.SandboxID)
internal/worker_node/sandbox/runtime_interface.go:35
↓ 3 callers
Method
DeleteSandbox
(context.Context, *proto.SandboxID, ...grpc.CallOption)
internal/control_plane/core/interface.go:53
↓ 3 callers
Method
DeleteSandbox
(ctx context.Context, in *SandboxID, opts ...grpc.CallOption)
api/proto/worker_node_interface_grpc.pb.go:23
↓ 3 callers
Method
DeleteServiceInformation
(ctx context.Context, serviceInfo *proto.ServiceInfo)
internal/control_plane/persistence/interface.go:41
↓ 3 callers
Method
DeregisterNodeFromControlPlane
(config config.WorkerNodeConfig, cpApi *proto.CpiInterfaceClient)
internal/worker_node/worker_node.go:165
↓ 3 callers
Method
DeregisterService
(ctx context.Context, serviceInfo *proto.ServiceInfo)
internal/control_plane/control_plane.go:316
↓ 3 callers
Function
Difference
(a, b []T)
pkg/map/maps.go:47
↓ 3 callers
Method
DrainSandbox
(ctx context.Context, in *DeploymentEndpointPatch, opts ...grpc.CallOption)
api/proto/data_plane_interface_grpc.pb.go:25
↓ 3 callers
Function
EvictionPolicy
(endpoint []*core.Endpoint)
internal/control_plane/eviction_policy/eviction_policy.go:32
↓ 3 callers
Function
GetContainerdClient
(containerdSocket string)
internal/worker_node/sandbox/containerd/iface.go:48
↓ 3 callers
Method
GetCpuCores
()
internal/control_plane/core/interface.go:62
↓ 3 callers
Method
InitializeDataPlaneConnection
(host string, port string)
internal/control_plane/core/interface.go:37
↓ 3 callers
Method
IsLeader
()
internal/control_plane/leader_election/consensus_module.go:123
↓ 3 callers
Method
ListEndpoints
(context.Context, *emptypb.Empty, ...grpc.CallOption)
internal/control_plane/core/interface.go:54
↓ 3 callers
Method
ListEndpoints
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
api/proto/worker_node_interface_grpc.pb.go:24
↓ 3 callers
Function
NewCpiInterfaceClient
(cc grpc.ClientConnInterface)
api/proto/control_plane_interface_grpc.pb.go:44
↓ 3 callers
Function
NewDataplane
(config config.DataPlaneConfig)
internal/data_plane/data_plane.go:56
↓ 3 callers
Function
NewHAProxyAPI
(loadBalancerAddress string)
internal/data_plane/haproxy/manager.go:64
↓ 3 callers
Function
NewPerFunctionStateController
(scalingChannel chan int, serviceInfo *proto.ServiceInfo, period time.Duration)
internal/control_plane/autoscaling/controller.go:52
↓ 3 callers
Function
NewProcessMonitor
()
internal/worker_node/managers/process_monitor.go:45
↓ 3 callers
Function
NewSandboxManager
(nodeName string)
internal/worker_node/managers/sandbox_manager.go:53
↓ 3 callers
Function
NewWorkerNode
(cpApi proto.CpiInterfaceClient, config config.WorkerNodeConfig, name ...string)
internal/worker_node/worker_node.go:70
↓ 3 callers
Method
Place
(storage synchronization.SyncStructure[string, core.WorkerNodeInterface], _ *ResourceMap)
internal/control_plane/placement_policy/round_robin.go:43
↓ 3 callers
Method
RemoveKey
(key K)
pkg/atomic_map/atomic_map.go:70
↓ 3 callers
Method
ResetMeasurements
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
api/proto/data_plane_interface_grpc.pb.go:26
↓ 3 callers
Method
ResourceKeys
()
internal/control_plane/placement_policy/resource_map.go:54
↓ 3 callers
Method
SetCPUCores
(v uint64)
internal/control_plane/placement_policy/resource_map.go:46
↓ 3 callers
Method
SetupHeartbeatLoop
(proxy proxy.Proxy)
internal/data_plane/data_plane.go:71
↓ 3 callers
Method
String
()
api/proto/common.pb.go:611
↓ 3 callers
Function
UnassignPort
(port int)
internal/worker_node/sandbox/containerd/config_builder.go:73
↓ 3 callers
Method
UpdateEndpointList
(context.Context, *proto.DeploymentEndpointPatch)
internal/control_plane/core/interface.go:39
↓ 3 callers
Method
UpdateEndpointList
(ctx context.Context, in *DeploymentEndpointPatch, opts ...grpc.CallOption)
api/proto/data_plane_interface_grpc.pb.go:24
↓ 3 callers
Method
calculate
(retry float64)
internal/worker_node/managers/exponential_backoff.go:38
↓ 3 callers
Function
cdf
(df, column)
artifact_evaluation/plot_azure_500.py:36
↓ 3 callers
Method
excludeEndpoints
(toExclude map[*core.Endpoint]struct{})
internal/control_plane/scaling_loop.go:357
↓ 3 callers
Function
file_data_plane_interface_proto_rawDescGZIP
()
api/proto/data_plane_interface.pb.go:252
↓ 3 callers
Method
generateRawGatewayIP
()
internal/worker_node/managers/ip_manager.go:65
↓ 3 callers
Function
getCpuUsage
()
pkg/hardware/hardware.go:49
↓ 3 callers
Function
getCurve
(path, idx=0)
artifact_evaluation/plot_azure_500.py:50
↓ 3 callers
Function
getHAProxyClient
()
internal/data_plane/haproxy/connection.go:83
↓ 3 callers
Function
getMemoryUsage
()
pkg/hardware/hardware.go:58
↓ 3 callers
Function
kubernetesFirstAvailableLoadBalancing
(metadata *function_metadata.FunctionMetadata)
internal/data_plane/proxy/load_balancing/load_balancing.go:194
↓ 3 callers
Function
kubernetesRoundRobinLoadBalancing
(metadata *function_metadata.FunctionMetadata)
internal/data_plane/proxy/load_balancing/load_balancing.go:208
↓ 3 callers
Function
leastProcessedLoadBalancing
(metadata *function_metadata.FunctionMetadata)
internal/data_plane/proxy/load_balancing/load_balancing.go:141
↓ 3 callers
Function
parse_df
(path)
scripts/plotting/proxy_analysis.py:27
↓ 3 callers
Function
plotClusteredStackedBarchart
(dataToPlot, clusterLabels=None, clusterLabe
scripts/plotting/common.py:148
↓ 3 callers
Method
populate
()
internal/worker_node/sandbox/firecracker/networking.go:112
↓ 3 callers
Function
randomEndpoint
(endpoints []*function_metadata.UpstreamEndpoint)
internal/data_plane/proxy/load_balancing/load_balancing.go:124
↓ 3 callers
Function
randomLoadBalancing
(metadata *function_metadata.FunctionMetadata)
internal/data_plane/proxy/load_balancing/load_balancing.go:129
↓ 3 callers
Method
runElectionTimer
runElectionTimer implements an election timer. It should be launched whenever we want to start a timer towards becoming a candidate in a new election.
internal/control_plane/leader_election/consensus_module.go:216
↓ 3 callers
Function
searchEndpointByContainerName
(endpoints []*core.Endpoint, cid string)
internal/control_plane/helpers.go:108
↓ 3 callers
Function
setupViper
(configPath string)
pkg/config/config.go:115
↓ 3 callers
Method
startElection
startElection starts a new election with this CM as a candidate. Expects cm.mu to be locked.
internal/control_plane/leader_election/consensus_module.go:259
↓ 3 callers
Method
updateEndpoints
(endpoints []*proto.EndpointInfo)
internal/control_plane/scaling_loop.go:326
↓ 2 callers
Function
AddRules
(ipt *iptables.IPTables, sourcePort int, destIP string, destPort int)
internal/worker_node/managers/iptables_manager.go:41
↓ 2 callers
Function
AssignRandomPort
()
internal/worker_node/sandbox/containerd/config_builder.go:53
↓ 2 callers
Method
AtomicDecrement
(key K)
pkg/atomic_map/atomic_map_counter.go:78
↓ 2 callers
Method
AtomicGet
(key K)
pkg/synchronization/control_plane_sync.go:48
↓ 2 callers
Method
AtomicGetNoCheck
(key K)
pkg/synchronization/control_plane_sync.go:49
↓ 2 callers
Method
AtomicSet
Not thread safe
pkg/synchronization/control_plane_sync.go:47
↓ 2 callers
Function
CreateFileIfNotExist
(path string)
pkg/tracing/tracing.go:127
↓ 2 callers
Function
CreateMetricsHandler
(deployments *function_metadata.Deployments)
internal/data_plane/proxy/metrics.go:33
↓ 2 callers
Function
CreateRedisClient
(ctx context.Context, redisLogin config.RedisConf)
internal/control_plane/persistence/redis_persistence.go:55
↓ 2 callers
Function
CreateRedisConnector
(ctx context.Context, redisLogin config.RedisConf)
pkg/redis_helpers/redis_helpers.go:34
↓ 2 callers
Method
DecreaseInflight
()
internal/data_plane/function_metadata/function_metadata.go:328
↓ 2 callers
Method
DecrementInflight
()
internal/data_plane/function_metadata/statistics.go:54
↓ 2 callers
Function
DeleteAllSnapshots
()
internal/worker_node/sandbox/firecracker/runtime.go:305
↓ 2 callers
Function
DeleteRules
(ipt *iptables.IPTables, sourcePort int, destIP string, destPort int)
internal/worker_node/managers/iptables_manager.go:79
↓ 2 callers
Method
DeleteSandbox
(key string)
internal/worker_node/managers/sandbox_manager.go:64
↓ 2 callers
Function
DeleteUnusedNetworkDevices
()
internal/worker_node/sandbox/firecracker/networking.go:318
↓ 2 callers
Method
DeregisterControlPlaneConnection
()
internal/data_plane/data_plane.go:196
↓ 2 callers
Method
DisseminateHAProxyConfig
()
api/control_plane_api_server.go:330
↓ 2 callers
Function
DoLoadBalancing
(req *http.Request, metadata *function_metadata.FunctionMetadata, loadBalancingPolicy LoadBalancingPolicy)
internal/data_plane/proxy/load_balancing/load_balancing.go:72
↓ 2 callers
Method
DrainSandbox
(context.Context, *proto.DeploymentEndpointPatch)
internal/control_plane/core/interface.go:41
↓ 2 callers
Function
Fire
()
async/fire.go:76
← previous
next →
101–200 of 1,276, ranked by callers