kafkacloudevent

package
v1.0.14-herb-centrifig... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KafkaCloudEventService_SubmitCloudEvents_FullMethodName = "/pkg.proto.kafkacloudevent.KafkaCloudEventService/SubmitCloudEvents"
)

Variables

View Source
var File_pkg_proto_kafkacloudevent_kafkacloudevent_proto protoreflect.FileDescriptor
View Source
var KafkaCloudEventService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pkg.proto.kafkacloudevent.KafkaCloudEventService",
	HandlerType: (*KafkaCloudEventServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SubmitCloudEvents",
			Handler:    _KafkaCloudEventService_SubmitCloudEvents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/proto/kafkacloudevent/kafkacloudevent.proto",
}

KafkaCloudEventService_ServiceDesc is the grpc.ServiceDesc for KafkaCloudEventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func AddKafkaCloudEventServiceServer

func AddKafkaCloudEventServiceServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)

AddKafkaCloudEventServiceServer adds the fluffycore aware grpc server

func AddKafkaCloudEventServiceServerWithExternalRegistration

func AddKafkaCloudEventServiceServerWithExternalRegistration(cb fluffy_dozm_di.ContainerBuilder, ctor any, register func() endpoint.IEndpointRegistration)

AddKafkaCloudEventServiceServerWithExternalRegistration adds the fluffycore aware grpc server and external registration service. Mainly used for grpc-gateway

func RegisterKafkaCloudEventServiceServer

func RegisterKafkaCloudEventServiceServer(s grpc.ServiceRegistrar, srv KafkaCloudEventServiceServer)

Types

type IFluffyCoreKafkaCloudEventServiceServer added in v1.0.12

type IFluffyCoreKafkaCloudEventServiceServer interface {
	KafkaCloudEventServiceServer
}

IFluffyCoreKafkaCloudEventServiceServer defines the grpc server

type KafkaCloudEventServiceClient

type KafkaCloudEventServiceClient interface {
	// submits a batch of cloud events
	SubmitCloudEvents(ctx context.Context, in *SubmitCloudEventsRequest, opts ...grpc.CallOption) (*SubmitCloudEventsResponse, error)
}

KafkaCloudEventServiceClient is the client API for KafkaCloudEventService 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.

type KafkaCloudEventServiceFluffyCoreServer

KafkaCloudEventServiceFluffyCoreServer defines the grpc server truct

func (*KafkaCloudEventServiceFluffyCoreServer) RegisterFluffyCoreGRPCService added in v1.0.12

func (srv *KafkaCloudEventServiceFluffyCoreServer) RegisterFluffyCoreGRPCService(s *grpc.Server)

RegisterFluffyCoreGRPCService the server with grpc

func (*KafkaCloudEventServiceFluffyCoreServer) SubmitCloudEvents

SubmitCloudEvents...

type KafkaCloudEventServiceServer

type KafkaCloudEventServiceServer interface {
	// submits a batch of cloud events
	SubmitCloudEvents(context.Context, *SubmitCloudEventsRequest) (*SubmitCloudEventsResponse, error)
	// contains filtered or unexported methods
}

KafkaCloudEventServiceServer is the server API for KafkaCloudEventService service. All implementations must embed UnimplementedKafkaCloudEventServiceServer for forward compatibility

type SubmitCloudEventsRequest

type SubmitCloudEventsRequest struct {
	Batch *cloudevents.CloudEventBatch `protobuf:"bytes,1,opt,name=batch,proto3" json:"batch,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitCloudEventsRequest) Descriptor deprecated

func (*SubmitCloudEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubmitCloudEventsRequest.ProtoReflect.Descriptor instead.

func (*SubmitCloudEventsRequest) GetBatch

func (*SubmitCloudEventsRequest) ProtoMessage

func (*SubmitCloudEventsRequest) ProtoMessage()

func (*SubmitCloudEventsRequest) ProtoReflect

func (x *SubmitCloudEventsRequest) ProtoReflect() protoreflect.Message

func (*SubmitCloudEventsRequest) Reset

func (x *SubmitCloudEventsRequest) Reset()

func (*SubmitCloudEventsRequest) String

func (x *SubmitCloudEventsRequest) String() string

type SubmitCloudEventsResponse

type SubmitCloudEventsResponse struct {
	// contains filtered or unexported fields
}

func (*SubmitCloudEventsResponse) Descriptor deprecated

func (*SubmitCloudEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubmitCloudEventsResponse.ProtoReflect.Descriptor instead.

func (*SubmitCloudEventsResponse) ProtoMessage

func (*SubmitCloudEventsResponse) ProtoMessage()

func (*SubmitCloudEventsResponse) ProtoReflect

func (*SubmitCloudEventsResponse) Reset

func (x *SubmitCloudEventsResponse) Reset()

func (*SubmitCloudEventsResponse) String

func (x *SubmitCloudEventsResponse) String() string

type UnimplementedFluffyCoreKafkaCloudEventServiceServerEndpointRegistration added in v1.0.12

type UnimplementedFluffyCoreKafkaCloudEventServiceServerEndpointRegistration struct {
}

func (UnimplementedFluffyCoreKafkaCloudEventServiceServerEndpointRegistration) RegisterFluffyCoreHandler added in v1.0.12

type UnimplementedKafkaCloudEventServiceServer

type UnimplementedKafkaCloudEventServiceServer struct {
}

UnimplementedKafkaCloudEventServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedKafkaCloudEventServiceServer) SubmitCloudEvents

type UnsafeKafkaCloudEventServiceServer

type UnsafeKafkaCloudEventServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeKafkaCloudEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KafkaCloudEventServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL