MCPcopy
hub / github.com/dapr/dapr / GRPCClient

Interface GRPCClient

pkg/components/pluggable/grpc.go:33–36  ·  view source on GitHub ↗

GRPCClient is any client that supports common pluggable grpc operations.

Source from the content-addressed store, hash-verified

31
32// GRPCClient is any client that supports common pluggable grpc operations.
33type GRPCClient interface {
34 // Ping is for liveness purposes.
35 Ping(ctx context.Context, in *proto.PingRequest, opts ...grpc.CallOption) (*proto.PingResponse, error)
36}
37
38// NewConverterFunc returns a function that maps from any error to a business error.
39// if the error is unknown it is kept as is, otherwise a converter function will be used.

Callers 8

TestComponentCallsFunction · 0.65
TestComponentCallsFunction · 0.65
PingMethod · 0.65
TestResiliencyUnaryMethod · 0.65

Implementers 15

serverpkg/components/secretstores/pluggable_
serverpkg/components/state/pluggable_test.go
fakeClientpkg/components/pluggable/grpc_test.go
inputBindingServerpkg/components/bindings/input_pluggabl
outputBindingServerpkg/components/bindings/output_pluggab
serverpkg/components/pubsub/pluggable_test.g
secretStoreClientpkg/proto/components/v1/secretstore_gr
UnimplementedSecretStoreServerpkg/proto/components/v1/secretstore_gr
pubSubClientpkg/proto/components/v1/pubsub_grpc.pb
UnimplementedPubSubServerpkg/proto/components/v1/pubsub_grpc.pb
inputBindingClientpkg/proto/components/v1/bindings_grpc.
UnimplementedInputBindingServerpkg/proto/components/v1/bindings_grpc.

Calls

no outgoing calls

Tested by

no test coverage detected