Versions in this module Expand all Collapse all v1 v1.0.0 Jun 28, 2024 Changes in this version + var File_api_proto_events_proto protoreflect.FileDescriptor + var SortOrderEnums_name = map[int32]string + var SortOrderEnums_value = map[string]int32 + func RegisterEventsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterEventsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventsServiceClient) error + func RegisterEventsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterEventsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventsServiceServer) error + func RegisterEventsServiceServer(s *grpc.Server, srv EventsServiceServer) + type Event struct + AppName string + Destination string + Envirionment string + Extract map[string]string + GroupName string + Hostname string + Level string + Message string + Name string + Namespace string + ProcId string + Sender string + Timestamp string + TimestampInt int64 + func (*Event) Descriptor() ([]byte, []int) + func (*Event) ProtoMessage() + func (x *Event) GetAppName() string + func (x *Event) GetDestination() string + func (x *Event) GetEnvirionment() string + func (x *Event) GetExtract() map[string]string + func (x *Event) GetGroupName() string + func (x *Event) GetHostname() string + func (x *Event) GetLevel() string + func (x *Event) GetMessage() string + func (x *Event) GetName() string + func (x *Event) GetNamespace() string + func (x *Event) GetProcId() string + func (x *Event) GetSender() string + func (x *Event) GetTimestamp() string + func (x *Event) GetTimestampInt() int64 + func (x *Event) ProtoReflect() protoreflect.Message + func (x *Event) Reset() + func (x *Event) String() string + type EventGroupsResponse struct + GroupNames []string + func (*EventGroupsResponse) Descriptor() ([]byte, []int) + func (*EventGroupsResponse) ProtoMessage() + func (x *EventGroupsResponse) GetGroupNames() []string + func (x *EventGroupsResponse) ProtoReflect() protoreflect.Message + func (x *EventGroupsResponse) Reset() + func (x *EventGroupsResponse) String() string + type EventsFilter struct + AppName []string + GroupNames []string + Hostname []string + Level []string + Names []string + Namespace []string + ProcId []string + Search string + TimestampEnd string + TimestampStart string + func (*EventsFilter) Descriptor() ([]byte, []int) + func (*EventsFilter) ProtoMessage() + func (x *EventsFilter) GetAppName() []string + func (x *EventsFilter) GetGroupNames() []string + func (x *EventsFilter) GetHostname() []string + func (x *EventsFilter) GetLevel() []string + func (x *EventsFilter) GetNames() []string + func (x *EventsFilter) GetNamespace() []string + func (x *EventsFilter) GetProcId() []string + func (x *EventsFilter) GetSearch() string + func (x *EventsFilter) GetTimestampEnd() string + func (x *EventsFilter) GetTimestampStart() string + func (x *EventsFilter) ProtoReflect() protoreflect.Message + func (x *EventsFilter) Reset() + func (x *EventsFilter) String() string + type EventsPostRequest struct + Count uint64 + Destination string + Filter *EventsFilter + Offset uint64 + Sort *SortOrder + TimestampEnd uint64 + TimestampStart uint64 + func (*EventsPostRequest) Descriptor() ([]byte, []int) + func (*EventsPostRequest) ProtoMessage() + func (x *EventsPostRequest) GetCount() uint64 + func (x *EventsPostRequest) GetDestination() string + func (x *EventsPostRequest) GetFilter() *EventsFilter + func (x *EventsPostRequest) GetOffset() uint64 + func (x *EventsPostRequest) GetSort() *SortOrder + func (x *EventsPostRequest) GetTimestampEnd() uint64 + func (x *EventsPostRequest) GetTimestampStart() uint64 + func (x *EventsPostRequest) ProtoReflect() protoreflect.Message + func (x *EventsPostRequest) Reset() + func (x *EventsPostRequest) String() string + type EventsResponse struct + Count int64 + Events []*Event + Offset int64 + TotalCount int64 + func (*EventsResponse) Descriptor() ([]byte, []int) + func (*EventsResponse) ProtoMessage() + func (x *EventsResponse) GetCount() int64 + func (x *EventsResponse) GetEvents() []*Event + func (x *EventsResponse) GetOffset() int64 + func (x *EventsResponse) GetTotalCount() int64 + func (x *EventsResponse) ProtoReflect() protoreflect.Message + func (x *EventsResponse) Reset() + func (x *EventsResponse) String() string + type EventsServiceClient interface + CreateEvent func(ctx context.Context, in *Event, opts ...grpc.CallOption) (*empty.Empty, error) + GetEventGroups func(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*EventGroupsResponse, error) + GetEvents func(ctx context.Context, in *EventsPostRequest, opts ...grpc.CallOption) (*EventsResponse, error) + func NewEventsServiceClient(cc grpc.ClientConnInterface) EventsServiceClient + type EventsServiceServer interface + CreateEvent func(context.Context, *Event) (*empty.Empty, error) + GetEventGroups func(context.Context, *empty.Empty) (*EventGroupsResponse, error) + GetEvents func(context.Context, *EventsPostRequest) (*EventsResponse, error) + type SortOrder struct + Attribute string + Order SortOrderEnums + func (*SortOrder) Descriptor() ([]byte, []int) + func (*SortOrder) ProtoMessage() + func (x *SortOrder) GetAttribute() string + func (x *SortOrder) GetOrder() SortOrderEnums + func (x *SortOrder) ProtoReflect() protoreflect.Message + func (x *SortOrder) Reset() + func (x *SortOrder) String() string + type SortOrderEnums int32 + const SortOrderEnums_ASC + const SortOrderEnums_DESC + const SortOrderEnums_UNKNOWN + func (SortOrderEnums) Descriptor() protoreflect.EnumDescriptor + func (SortOrderEnums) EnumDescriptor() ([]byte, []int) + func (SortOrderEnums) Type() protoreflect.EnumType + func (x SortOrderEnums) Enum() *SortOrderEnums + func (x SortOrderEnums) Number() protoreflect.EnumNumber + func (x SortOrderEnums) String() string + type UnimplementedEventsServiceServer struct + func (*UnimplementedEventsServiceServer) CreateEvent(context.Context, *Event) (*empty.Empty, error) + func (*UnimplementedEventsServiceServer) GetEventGroups(context.Context, *empty.Empty) (*EventGroupsResponse, error) + func (*UnimplementedEventsServiceServer) GetEvents(context.Context, *EventsPostRequest) (*EventsResponse, error)