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

Interface DpiInterfaceClient

api/proto/data_plane_interface_grpc.pb.go:21–27  ·  view source on GitHub ↗

DpiInterfaceClient is the client API for DpiInterface 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 DpiInterfaceClient interface {
22 AddDeployment(ctx context.Context, in *ServiceInfo, opts ...grpc.CallOption) (*DeploymentUpdateSuccess, error)
23 DeleteDeployment(ctx context.Context, in *ServiceInfo, opts ...grpc.CallOption) (*DeploymentUpdateSuccess, error)
24 UpdateEndpointList(ctx context.Context, in *DeploymentEndpointPatch, opts ...grpc.CallOption) (*DeploymentUpdateSuccess, error)
25 DrainSandbox(ctx context.Context, in *DeploymentEndpointPatch, opts ...grpc.CallOption) (*DeploymentUpdateSuccess, error)
26 ResetMeasurements(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ActionStatus, error)
27}
28
29type dpiInterfaceClient struct {
30 cc grpc.ClientConnInterface

Implementers 7

DataPlaneConnectionInfointernal/control_plane/data_plane/data
emptyDataplaneinternal/control_plane/data_plane/empt
DpApiServerapi/data_plane_api_server.go
dpiInterfaceClientapi/proto/data_plane_interface_grpc.pb
UnimplementedDpiInterfaceServerapi/proto/data_plane_interface_grpc.pb
MockDataPlaneInterfacemock/mock_core/mock_core.go
MockDataPlaneInterfaceMockRecordermock/mock_core/mock_core.go

Calls

no outgoing calls

Tested by

no test coverage detected