MCPcopy Create free account
hub / github.com/eth-easl/dirigent / RuntimeInterface

Interface RuntimeInterface

internal/worker_node/sandbox/runtime_interface.go:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31)
32
33type RuntimeInterface interface {
34 CreateSandbox(ctx context.Context, serviceInfo *proto.ServiceInfo) (*proto.SandboxCreationStatus, error)
35 DeleteSandbox(ctx context.Context, in *proto.SandboxID) (*proto.ActionStatus, error)
36 ListEndpoints(ctx context.Context, _ *emptypb.Empty) (*proto.EndpointsList, error)
37 ValidateHostConfig() bool
38}

Callers 6

CleanResourcesMethod · 0.65
DeleteSandboxMethod · 0.65
DeleteSandboxMethod · 0.65
ListEndpointsMethod · 0.65
ListEndpointsMethod · 0.65
NewWorkerNodeFunction · 0.95

Implementers 3

Runtimeinternal/worker_node/sandbox/firecrack
ContainerdRuntimeinternal/worker_node/sandbox/container
Runtimeinternal/worker_node/sandbox/fake_snap

Calls

no outgoing calls

Tested by

no test coverage detected