Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTapSinkServiceServer(s grpc.ServiceRegistrar, srv TapSinkServiceServer)
- type TapSinkServiceClient
- type TapSinkServiceServer
- type TapSinkService_StreamTapsClient
- type TapSinkService_StreamTapsServer
- type UnimplementedTapSinkServiceServer
- type UnsafeTapSinkServiceServer
Constants ¶
const (
TapSinkService_StreamTaps_FullMethodName = "/envoy.service.tap.v3.TapSinkService/StreamTaps"
)
Variables ¶
var TapSinkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.tap.v3.TapSinkService", HandlerType: (*TapSinkServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StreamTaps", Handler: _TapSinkService_StreamTaps_Handler, ClientStreams: true, }, }, Metadata: "envoy/service/tap/v3/tap.proto", }
TapSinkService_ServiceDesc is the grpc.ServiceDesc for TapSinkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTapSinkServiceServer ¶
func RegisterTapSinkServiceServer(s grpc.ServiceRegistrar, srv TapSinkServiceServer)
Types ¶
type TapSinkServiceClient ¶
type TapSinkServiceClient interface {
StreamTaps(ctx context.Context, opts ...grpc.CallOption) (TapSinkService_StreamTapsClient, error)
}
TapSinkServiceClient is the client API for TapSinkService 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.
func NewTapSinkServiceClient ¶
func NewTapSinkServiceClient(cc grpc.ClientConnInterface) TapSinkServiceClient
type TapSinkServiceServer ¶
type TapSinkServiceServer interface {
StreamTaps(TapSinkService_StreamTapsServer) error
}
TapSinkServiceServer is the server API for TapSinkService service. All implementations should embed UnimplementedTapSinkServiceServer for forward compatibility
type TapSinkService_StreamTapsClient ¶
type TapSinkService_StreamTapsClient interface { Send(*v3.StreamTapsRequest) error CloseAndRecv() (*v3.StreamTapsResponse, error) grpc.ClientStream }
type TapSinkService_StreamTapsServer ¶
type TapSinkService_StreamTapsServer interface { SendAndClose(*v3.StreamTapsResponse) error Recv() (*v3.StreamTapsRequest, error) grpc.ServerStream }
type UnimplementedTapSinkServiceServer ¶
type UnimplementedTapSinkServiceServer struct { }
UnimplementedTapSinkServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTapSinkServiceServer) StreamTaps ¶
func (UnimplementedTapSinkServiceServer) StreamTaps(TapSinkService_StreamTapsServer) error
type UnsafeTapSinkServiceServer ¶
type UnsafeTapSinkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTapSinkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TapSinkServiceServer will result in compilation errors.