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

Interface WorkerNodeInterfaceClient

api/proto/worker_node_interface_grpc.pb.go:21–25  ·  view source on GitHub ↗

WorkerNodeInterfaceClient is the client API for WorkerNodeInterface service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Source from the content-addressed store, hash-verified

19//
20// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
21type WorkerNodeInterfaceClient interface {
22 CreateSandbox(ctx context.Context, in *ServiceInfo, opts ...grpc.CallOption) (*SandboxCreationStatus, error)
23 DeleteSandbox(ctx context.Context, in *SandboxID, opts ...grpc.CallOption) (*ActionStatus, error)
24 ListEndpoints(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EndpointsList, error)
25}
26
27type workerNodeInterfaceClient struct {
28 cc grpc.ClientConnInterface

Implementers 11

Runtimeinternal/worker_node/sandbox/firecrack
ContainerdRuntimeinternal/worker_node/sandbox/container
Runtimeinternal/worker_node/sandbox/fake_snap
WorkerNodeinternal/control_plane/workers/worker_
emptyInterfaceClientinternal/control_plane/workers/empty_w
emptyWorkerinternal/control_plane/workers/empty_w
WnApiServerapi/worker_node_api_server.go
workerNodeInterfaceClientapi/proto/worker_node_interface_grpc.p
UnimplementedWorkerNodeInterfaceServerapi/proto/worker_node_interface_grpc.p
MockWorkerNodeInterfacemock/mock_core/mock_core.go
MockWorkerNodeInterfaceMockRecordermock/mock_core/mock_core.go

Calls

no outgoing calls

Tested by

no test coverage detected