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
↓ 2 callers
Method
GetApiPort
()
internal/control_plane/core/interface.go:46
↓ 2 callers
Method
GetLastHeartBeat
()
internal/control_plane/core/interface.go:43
↓ 2 callers
Method
GetLeaderID
()
internal/control_plane/leader_election/consensus_module.go:191
↓ 2 callers
Method
GetLoadBalancerAddress
()
internal/data_plane/haproxy/manager.go:120
↓ 2 callers
Function
GetLocalIP
()
pkg/network/ip.go:32
↓ 2 callers
Method
GetLocalQueueLength
(endpoint *UpstreamEndpoint)
internal/data_plane/function_metadata/function_metadata.go:161
↓ 2 callers
Method
GetMap
()
pkg/synchronization/control_plane_sync.go:84
↓ 2 callers
Function
GetMemory
()
pkg/hardware/hardware.go:45
↓ 2 callers
Function
GetNumberCpus
()
pkg/hardware/hardware.go:41
↓ 2 callers
Method
GetPeers
()
internal/control_plane/leader_election/server.go:210
↓ 2 callers
Method
GetRequestCountPerInstance
()
internal/data_plane/function_metadata/function_metadata.go:153
↓ 2 callers
Method
GetSchedulability
()
internal/control_plane/core/interface.go:69
↓ 2 callers
Method
GetService
()
api/proto/common.pb.go:386
↓ 2 callers
Function
GetServiceName
(r *http.Request)
internal/data_plane/proxy/utils.go:33
↓ 2 callers
Method
GetUnsafe
(key K)
pkg/atomic_map/atomic_map.go:61
↓ 2 callers
Method
GetValues
Not thread safe
pkg/synchronization/control_plane_sync.go:40
↓ 2 callers
Method
HAProxyReconstructionCallback
(config *config.ControlPlaneConfig, reviseDataplanes ReviseDataplanesInLBCall)
internal/data_plane/haproxy/manager.go:401
↓ 2 callers
Method
HandleFailure
(failures []*proto.Failure)
internal/control_plane/failure.go:35
↓ 2 callers
Method
IncrementKubernetesRoundRobinCounter
()
internal/data_plane/function_metadata/function_metadata.go:149
↓ 2 callers
Method
IncrementQueueDepth
()
internal/data_plane/function_metadata/statistics.go:62
↓ 2 callers
Method
IncrementSuccessfulInvocations
()
internal/data_plane/function_metadata/statistics.go:42
↓ 2 callers
Function
IsRoot
()
pkg/utils/utils.go:48
↓ 2 callers
Method
KeyValues
()
pkg/atomic_map/atomic_map.go:112
↓ 2 callers
Function
Keys
(m M)
pkg/map/maps.go:27
↓ 2 callers
Method
ListDeployments
()
internal/data_plane/function_metadata/deployment.go:89
↓ 2 callers
Method
ListEndpoints
(ctx context.Context, _ *emptypb.Empty)
internal/worker_node/sandbox/runtime_interface.go:36
↓ 2 callers
Method
ListRegistrationServers
()
internal/data_plane/haproxy/manager.go:128
↓ 2 callers
Function
NewContainerdImageManager
()
internal/worker_node/sandbox/containerd/image_manager.go:39
↓ 2 callers
Function
NewFunctionMetadata
(name string, dataplaneID string)
internal/data_plane/function_metadata/function_metadata.go:103
↓ 2 callers
Function
NewIPManager
(networkPrefix string)
internal/worker_node/managers/ip_manager.go:38
↓ 2 callers
Function
NewIptablesUtil
()
internal/worker_node/managers/iptables_manager.go:37
↓ 2 callers
Function
NewMockCpiInterfaceClient
NewMockCpiInterfaceClient creates a new mock instance.
mock/mock_cp_api/mock_cp_api.go:33
↓ 2 callers
Function
NewProxyTracingService
(outputFile string)
pkg/tracing/tracing.go:118
↓ 2 callers
Function
NewRoundRobinPlacement
()
internal/control_plane/placement_policy/round_robin.go:37
↓ 2 callers
Function
NewThreadSafeRandomGenerator
()
internal/worker_node/managers/thread_safe_random.go:38
↓ 2 callers
Method
Next
()
internal/worker_node/managers/exponential_backoff.go:42
↓ 2 callers
Method
Place
(synchronization.SyncStructure[string, core.WorkerNodeInterface], *ResourceMap)
internal/control_plane/placement_policy/placement_policy.go:35
↓ 2 callers
Method
RegisterNodeWithControlPlane
(config config.WorkerNodeConfig, cpApi *proto.CpiInterfaceClient)
internal/worker_node/worker_node.go:130
↓ 2 callers
Method
ResetMeasurements
(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)
api/proto/control_plane_interface_grpc.pb.go:32
↓ 2 callers
Method
ReviseDataplanes
ReviseDataplanes Need to call restart after this call
internal/data_plane/haproxy/manager.go:353
↓ 2 callers
Function
ScoreBalancedAllocation
(installed ResourceMap, requested ResourceMap)
internal/control_plane/placement_policy/k8s_placement.go:92
↓ 2 callers
Function
ScoreFitLeastAllocated
(installed ResourceMap, requested ResourceMap)
internal/control_plane/placement_policy/k8s_placement.go:68
↓ 2 callers
Method
SetMemory
(v uint64)
internal/control_plane/placement_policy/resource_map.go:50
↓ 2 callers
Method
TryWarmStart
(cp proto.CpiInterfaceClient)
internal/data_plane/function_metadata/function_metadata.go:332
↓ 2 callers
Function
Values
(m M)
pkg/map/maps.go:37
↓ 2 callers
Function
WaitTerminationSignal
(cleanFunction func())
pkg/utils/utils.go:36
↓ 2 callers
Method
addServer
(ipAddress string, port int, transaction string, version int64)
internal/data_plane/haproxy/manager.go:174
↓ 2 callers
Method
addToEndpointList
(data []*proto.EndpointInfo)
internal/data_plane/function_metadata/function_metadata.go:185
↓ 2 callers
Function
bestOfTwoRandoms
(metadata *function_metadata.FunctionMetadata)
internal/data_plane/proxy/load_balancing/load_balancing.go:175
↓ 2 callers
Function
contextTerminationHandler
(r *http.Request, coldStartChannel chan common.ColdStartChannelStruct)
internal/data_plane/proxy/utils.go:49
↓ 2 callers
Method
createNetwork
()
internal/worker_node/sandbox/firecracker/networking.go:153
↓ 2 callers
Method
destroyStateFromPreviousElectionTerm
()
cmd/master_node/state_management/election_management.go:82
↓ 2 callers
Method
doDownscaling
(actualScale, desiredCount int)
internal/control_plane/scaling_loop.go:220
↓ 2 callers
Function
file_raft_proto_init
()
api/proto/raft.pb.go:319
↓ 2 callers
Function
generateTwoUniformRandomEndpoints
(endpoints []*function_metadata.UpstreamEndpoint)
internal/data_plane/proxy/load_balancing/load_balancing.go:160
↓ 2 callers
Method
genericRevise
(backend string, addressesToKeep []string)
internal/data_plane/haproxy/manager.go:263
↓ 2 callers
Function
getScalingChannel
()
internal/control_plane/autoscaling/controller_test.go:34
↓ 2 callers
Function
getSchedulableNodes
(allNodes []core.WorkerNodeInterface)
internal/control_plane/placement_policy/placement_policy.go:38
↓ 2 callers
Function
getServiceInfo
()
internal/control_plane/autoscaling/controller_test.go:38
↓ 2 callers
Method
getUniqueCounterValue
()
internal/worker_node/managers/ip_manager.go:45
↓ 2 callers
Function
get_dirigent_data
(technology)
artifact_evaluation/plot_cold_start_sweep.py:95
↓ 2 callers
Function
get_per_function
(path)
artifact_evaluation/plot_azure_500.py:127
↓ 2 callers
Function
get_per_invocation
(path)
artifact_evaluation/plot_azure_500.py:119
↓ 2 callers
Function
get_processing_list
(path)
artifact_evaluation/plot_cold_start_sweep.py:38
↓ 2 callers
Function
giveBackCCCapacity
(endpoint *common.UpstreamEndpoint)
internal/data_plane/proxy/utils.go:38
↓ 2 callers
Function
handleBodyClosing
(response *http.Response)
internal/worker_node/managers/readiness_probes.go:136
↓ 2 callers
Method
listServers
(backend string)
internal/data_plane/haproxy/manager.go:132
↓ 2 callers
Method
notifyDataplanesAndStartScalingLoop
* Helpers for control_plane.go */ Only one goroutine will execute the function per service
internal/control_plane/helpers.go:44
↓ 2 callers
Function
parseConfigPath
(configPath string)
pkg/config/config.go:103
↓ 2 callers
Function
plot_experiment
(experiment_name, input_folder, column)
scripts/plotting/plot_utilization.py:34
↓ 2 callers
Method
registerDataPlane
(cpApiServer proto.CpiInterfaceClient)
internal/data_plane/data_plane.go:112
↓ 2 callers
Method
removeEndpointFromWNStruct
(e *core.Endpoint)
internal/control_plane/scaling_loop.go:204
↓ 2 callers
Method
removeServerByName
(ipAddress string, port int, transaction string, version int64)
internal/data_plane/haproxy/manager.go:229
↓ 2 callers
Function
roundRobinLoadBalancing
(metadata *function_metadata.FunctionMetadata)
internal/data_plane/proxy/load_balancing/load_balancing.go:133
↓ 2 callers
Method
scalingCycle
(isScaleFromZero bool)
internal/control_plane/autoscaling/controller.go:81
↓ 2 callers
Method
sendInstructionToControlPlane
(ctx context.Context, config config.WorkerNodeConfig, cpi *proto.CpiInterfaceClient, action int)
internal/worker_node/worker_node.go:179
↓ 2 callers
Method
singlethreadUpdateEndpoints
(endpoints []*proto.EndpointInfo)
internal/control_plane/scaling_loop.go:333
↓ 2 callers
Function
sleepWithJitter
()
internal/control_plane/leader_election/server.go:167
↓ 2 callers
Method
stopAutoscalingLoop
()
internal/control_plane/autoscaling/controller.go:95
↓ 1 callers
Method
AddEndpoints
(endpoints []*proto.EndpointInfo)
internal/data_plane/function_metadata/function_metadata.go:201
↓ 1 callers
Method
AddSnapshot
(serviceID string, metadata *SnapshotMetadata)
internal/worker_node/sandbox/firecracker/snapshot_manager.go:50
↓ 1 callers
Function
AggregateStatistics
(functions []*FunctionMetadata)
internal/data_plane/function_metadata/statistics.go:70
↓ 1 callers
Function
BufferedRequestFromRequest
(request *http.Request, code string)
internal/data_plane/proxy/requests/requests.go:71
↓ 1 callers
Method
CheckPeriodicallyWorkerNodes
(stopCh chan struct{})
internal/control_plane/control_plane.go:376
↓ 1 callers
Method
CleanControlPlaneInMemoryData
(args *CpApiServerCreationArguments)
api/control_plane_api_server.go:101
↓ 1 callers
Method
CleanResources
()
internal/worker_node/worker_node.go:149
↓ 1 callers
Method
ConnectToPeer
(peerId int, addr net.Addr)
internal/control_plane/leader_election/server.go:141
↓ 1 callers
Function
CreateNewCpApiServer
(args *CpApiServerCreationArguments)
api/control_plane_api_server.go:62
↓ 1 callers
Function
CreateScoringPipeline
()
internal/control_plane/placement_policy/k8s_placement.go:42
↓ 1 callers
Function
CreateVMSnapshot
(ctx context.Context, vmcs *VMControlStructure)
internal/worker_node/sandbox/firecracker/runtime.go:230
↓ 1 callers
Method
DeleteAllDataplanes
()
internal/data_plane/haproxy/manager.go:364
↓ 1 callers
Method
DeleteBufferedRequest
(ctx context.Context, code string)
internal/data_plane/proxy/persistence/request_persistence.go:38
↓ 1 callers
Method
DeleteSandbox
(_ context.Context, in *proto.SandboxID)
internal/worker_node/sandbox/firecracker/runtime.go:259
↓ 1 callers
Function
Deployservice
()
async/fire.go:47
↓ 1 callers
Function
DeregisterControlPlaneConnection
(cfg *config.DataPlaneConfig)
pkg/grpc_helpers/grpc_helpers.go:183
↓ 1 callers
Method
Descriptor
()
api/proto/control_plane_interface.pb.go:56
↓ 1 callers
Method
Descriptor
Deprecated: Use Failure.ProtoReflect.Descriptor instead.
api/proto/control_plane_interface.pb.go:379
↓ 1 callers
Method
Descriptor
()
api/proto/common.pb.go:52
↓ 1 callers
Method
Descriptor
Deprecated: Use Endpoint.ProtoReflect.Descriptor instead.
api/proto/common.pb.go:630
↓ 1 callers
Function
DisseminateHAProxyConfig
(config *proto.HAProxyConfig, les *leader_election.LeaderElectionServer)
internal/data_plane/haproxy/manager.go:392
← previous
next →
201–300 of 1,276, ranked by callers