Documentation ¶
Overview ¶
Package eventsvc is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterEventsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEventsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventsClient) error
- func RegisterEventsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEventsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventsServer) error
- func RegisterEventsServer(s grpc.ServiceRegistrar, srv EventsServer)
- type EventsClient
- type EventsServer
- type Events_MonitorProjectEventsClient
- type Events_MonitorProjectEventsServer
- type Events_TrackIngestEventClient
- type Events_TrackIngestEventServer
- type GetEventRequest
- func (*GetEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventRequest) GetId() string
- func (*GetEventRequest) ProtoMessage()
- func (x *GetEventRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventRequest) Reset()
- func (x *GetEventRequest) String() string
- func (m *GetEventRequest) Validate() error
- type GetEventRequestValidationError
- func (e GetEventRequestValidationError) Cause() error
- func (e GetEventRequestValidationError) Error() string
- func (e GetEventRequestValidationError) ErrorName() string
- func (e GetEventRequestValidationError) Field() string
- func (e GetEventRequestValidationError) Key() bool
- func (e GetEventRequestValidationError) Reason() string
- type GetEventResponse
- func (*GetEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventResponse) GetEvent() *event.Event
- func (*GetEventResponse) ProtoMessage()
- func (x *GetEventResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventResponse) Reset()
- func (x *GetEventResponse) String() string
- func (m *GetEventResponse) Validate() error
- type GetEventResponseValidationError
- func (e GetEventResponseValidationError) Cause() error
- func (e GetEventResponseValidationError) Error() string
- func (e GetEventResponseValidationError) ErrorName() string
- func (e GetEventResponseValidationError) Field() string
- func (e GetEventResponseValidationError) Key() bool
- func (e GetEventResponseValidationError) Reason() string
- type GetEventStateForProjectRequest
- func (*GetEventStateForProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventStateForProjectRequest) GetId() string
- func (x *GetEventStateForProjectRequest) GetProjectId() string
- func (*GetEventStateForProjectRequest) ProtoMessage()
- func (x *GetEventStateForProjectRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventStateForProjectRequest) Reset()
- func (x *GetEventStateForProjectRequest) String() string
- func (m *GetEventStateForProjectRequest) Validate() error
- type GetEventStateForProjectRequestValidationError
- func (e GetEventStateForProjectRequestValidationError) Cause() error
- func (e GetEventStateForProjectRequestValidationError) Error() string
- func (e GetEventStateForProjectRequestValidationError) ErrorName() string
- func (e GetEventStateForProjectRequestValidationError) Field() string
- func (e GetEventStateForProjectRequestValidationError) Key() bool
- func (e GetEventStateForProjectRequestValidationError) Reason() string
- type GetEventStateForProjectResponse
- func (*GetEventStateForProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventStateForProjectResponse) GetLog() []*event.ProjectEventStateRecord
- func (*GetEventStateForProjectResponse) ProtoMessage()
- func (x *GetEventStateForProjectResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventStateForProjectResponse) Reset()
- func (x *GetEventStateForProjectResponse) String() string
- func (m *GetEventStateForProjectResponse) Validate() error
- type GetEventStateForProjectResponseValidationError
- func (e GetEventStateForProjectResponseValidationError) Cause() error
- func (e GetEventStateForProjectResponseValidationError) Error() string
- func (e GetEventStateForProjectResponseValidationError) ErrorName() string
- func (e GetEventStateForProjectResponseValidationError) Field() string
- func (e GetEventStateForProjectResponseValidationError) Key() bool
- func (e GetEventStateForProjectResponseValidationError) Reason() string
- type GetEventStateRequest
- func (*GetEventStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventStateRequest) GetId() string
- func (*GetEventStateRequest) ProtoMessage()
- func (x *GetEventStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventStateRequest) Reset()
- func (x *GetEventStateRequest) String() string
- func (m *GetEventStateRequest) Validate() error
- type GetEventStateRequestValidationError
- func (e GetEventStateRequestValidationError) Cause() error
- func (e GetEventStateRequestValidationError) Error() string
- func (e GetEventStateRequestValidationError) ErrorName() string
- func (e GetEventStateRequestValidationError) Field() string
- func (e GetEventStateRequestValidationError) Key() bool
- func (e GetEventStateRequestValidationError) Reason() string
- type GetEventStateResponse
- func (*GetEventStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventStateResponse) GetLog() []*event.EventStateRecord
- func (*GetEventStateResponse) ProtoMessage()
- func (x *GetEventStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventStateResponse) Reset()
- func (x *GetEventStateResponse) String() string
- func (m *GetEventStateResponse) Validate() error
- type GetEventStateResponseValidationError
- func (e GetEventStateResponseValidationError) Cause() error
- func (e GetEventStateResponseValidationError) Error() string
- func (e GetEventStateResponseValidationError) ErrorName() string
- func (e GetEventStateResponseValidationError) Field() string
- func (e GetEventStateResponseValidationError) Key() bool
- func (e GetEventStateResponseValidationError) Reason() string
- type GetProjectWaitingEventsRequest
- func (*GetProjectWaitingEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectWaitingEventsRequest) GetProjectId() string
- func (*GetProjectWaitingEventsRequest) ProtoMessage()
- func (x *GetProjectWaitingEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetProjectWaitingEventsRequest) Reset()
- func (x *GetProjectWaitingEventsRequest) String() string
- func (m *GetProjectWaitingEventsRequest) Validate() error
- type GetProjectWaitingEventsRequestValidationError
- func (e GetProjectWaitingEventsRequestValidationError) Cause() error
- func (e GetProjectWaitingEventsRequestValidationError) Error() string
- func (e GetProjectWaitingEventsRequestValidationError) ErrorName() string
- func (e GetProjectWaitingEventsRequestValidationError) Field() string
- func (e GetProjectWaitingEventsRequestValidationError) Key() bool
- func (e GetProjectWaitingEventsRequestValidationError) Reason() string
- type GetProjectWaitingEventsResponse
- func (*GetProjectWaitingEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetProjectWaitingEventsResponse) GetEventIds() []string
- func (*GetProjectWaitingEventsResponse) ProtoMessage()
- func (x *GetProjectWaitingEventsResponse) ProtoReflect() protoreflect.Message
- func (x *GetProjectWaitingEventsResponse) Reset()
- func (x *GetProjectWaitingEventsResponse) String() string
- func (m *GetProjectWaitingEventsResponse) Validate() error
- type GetProjectWaitingEventsResponseValidationError
- func (e GetProjectWaitingEventsResponseValidationError) Cause() error
- func (e GetProjectWaitingEventsResponseValidationError) Error() string
- func (e GetProjectWaitingEventsResponseValidationError) ErrorName() string
- func (e GetProjectWaitingEventsResponseValidationError) Field() string
- func (e GetProjectWaitingEventsResponseValidationError) Key() bool
- func (e GetProjectWaitingEventsResponseValidationError) Reason() string
- type IngestEventRequest
- func (*IngestEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IngestEventRequest) GetAssociationToken() string
- func (x *IngestEventRequest) GetData() map[string]*values.Value
- func (x *IngestEventRequest) GetEventId() string
- func (x *IngestEventRequest) GetMemo() map[string]string
- func (x *IngestEventRequest) GetOriginalId() string
- func (x *IngestEventRequest) GetSrcId() string
- func (x *IngestEventRequest) GetType() string
- func (*IngestEventRequest) ProtoMessage()
- func (x *IngestEventRequest) ProtoReflect() protoreflect.Message
- func (x *IngestEventRequest) Reset()
- func (x *IngestEventRequest) String() string
- func (m *IngestEventRequest) Validate() error
- type IngestEventRequestValidationError
- func (e IngestEventRequestValidationError) Cause() error
- func (e IngestEventRequestValidationError) Error() string
- func (e IngestEventRequestValidationError) ErrorName() string
- func (e IngestEventRequestValidationError) Field() string
- func (e IngestEventRequestValidationError) Key() bool
- func (e IngestEventRequestValidationError) Reason() string
- type IngestEventResponse
- func (*IngestEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IngestEventResponse) GetId() string
- func (*IngestEventResponse) ProtoMessage()
- func (x *IngestEventResponse) ProtoReflect() protoreflect.Message
- func (x *IngestEventResponse) Reset()
- func (x *IngestEventResponse) String() string
- func (m *IngestEventResponse) Validate() error
- type IngestEventResponseValidationError
- func (e IngestEventResponseValidationError) Cause() error
- func (e IngestEventResponseValidationError) Error() string
- func (e IngestEventResponseValidationError) ErrorName() string
- func (e IngestEventResponseValidationError) Field() string
- func (e IngestEventResponseValidationError) Key() bool
- func (e IngestEventResponseValidationError) Reason() string
- type ListEventRecord
- func (*ListEventRecord) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventRecord) GetEvent() *event.Event
- func (x *ListEventRecord) GetStates() []*event.EventStateRecord
- func (*ListEventRecord) ProtoMessage()
- func (x *ListEventRecord) ProtoReflect() protoreflect.Message
- func (x *ListEventRecord) Reset()
- func (x *ListEventRecord) String() string
- func (m *ListEventRecord) Validate() error
- type ListEventRecordValidationError
- func (e ListEventRecordValidationError) Cause() error
- func (e ListEventRecordValidationError) Error() string
- func (e ListEventRecordValidationError) ErrorName() string
- func (e ListEventRecordValidationError) Field() string
- func (e ListEventRecordValidationError) Key() bool
- func (e ListEventRecordValidationError) Reason() string
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsRequest) GetLen() uint32
- func (x *ListEventsRequest) GetOfs() uint32
- func (x *ListEventsRequest) GetProjectId() string
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- func (m *ListEventsRequest) Validate() error
- type ListEventsRequestValidationError
- func (e ListEventsRequestValidationError) Cause() error
- func (e ListEventsRequestValidationError) Error() string
- func (e ListEventsRequestValidationError) ErrorName() string
- func (e ListEventsRequestValidationError) Field() string
- func (e ListEventsRequestValidationError) Key() bool
- func (e ListEventsRequestValidationError) Reason() string
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsResponse) GetRecords() []*ListEventRecord
- func (*ListEventsResponse) ProtoMessage()
- func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventsResponse) Reset()
- func (x *ListEventsResponse) String() string
- func (m *ListEventsResponse) Validate() error
- type ListEventsResponseValidationError
- func (e ListEventsResponseValidationError) Cause() error
- func (e ListEventsResponseValidationError) Error() string
- func (e ListEventsResponseValidationError) ErrorName() string
- func (e ListEventsResponseValidationError) Field() string
- func (e ListEventsResponseValidationError) Key() bool
- func (e ListEventsResponseValidationError) Reason() string
- type MonitorProjectEventsRequest
- func (*MonitorProjectEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MonitorProjectEventsRequest) GetProjectId() string
- func (*MonitorProjectEventsRequest) ProtoMessage()
- func (x *MonitorProjectEventsRequest) ProtoReflect() protoreflect.Message
- func (x *MonitorProjectEventsRequest) Reset()
- func (x *MonitorProjectEventsRequest) String() string
- func (m *MonitorProjectEventsRequest) Validate() error
- type MonitorProjectEventsRequestValidationError
- func (e MonitorProjectEventsRequestValidationError) Cause() error
- func (e MonitorProjectEventsRequestValidationError) Error() string
- func (e MonitorProjectEventsRequestValidationError) ErrorName() string
- func (e MonitorProjectEventsRequestValidationError) Field() string
- func (e MonitorProjectEventsRequestValidationError) Key() bool
- func (e MonitorProjectEventsRequestValidationError) Reason() string
- type UnimplementedEventsServer
- func (UnimplementedEventsServer) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error)
- func (UnimplementedEventsServer) GetEventState(context.Context, *GetEventStateRequest) (*GetEventStateResponse, error)
- func (UnimplementedEventsServer) GetEventStateForProject(context.Context, *GetEventStateForProjectRequest) (*GetEventStateForProjectResponse, error)
- func (UnimplementedEventsServer) GetProjectWaitingEvents(context.Context, *GetProjectWaitingEventsRequest) (*GetProjectWaitingEventsResponse, error)
- func (UnimplementedEventsServer) IngestEvent(context.Context, *IngestEventRequest) (*IngestEventResponse, error)
- func (UnimplementedEventsServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
- func (UnimplementedEventsServer) MonitorProjectEvents(*MonitorProjectEventsRequest, Events_MonitorProjectEventsServer) error
- func (UnimplementedEventsServer) TrackIngestEvent(*IngestEventRequest, Events_TrackIngestEventServer) error
- func (UnimplementedEventsServer) UpdateEventState(context.Context, *UpdateEventStateRequest) (*UpdateEventStateResponse, error)
- func (UnimplementedEventsServer) UpdateEventStateForProject(context.Context, *UpdateEventStateForProjectRequest) (*UpdateEventStateForProjectResponse, error)
- type UnsafeEventsServer
- type UpdateEventStateForProjectRequest
- func (*UpdateEventStateForProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventStateForProjectRequest) GetId() string
- func (x *UpdateEventStateForProjectRequest) GetProjectId() string
- func (x *UpdateEventStateForProjectRequest) GetState() *event.ProjectEventState
- func (*UpdateEventStateForProjectRequest) ProtoMessage()
- func (x *UpdateEventStateForProjectRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventStateForProjectRequest) Reset()
- func (x *UpdateEventStateForProjectRequest) String() string
- func (m *UpdateEventStateForProjectRequest) Validate() error
- type UpdateEventStateForProjectRequestValidationError
- func (e UpdateEventStateForProjectRequestValidationError) Cause() error
- func (e UpdateEventStateForProjectRequestValidationError) Error() string
- func (e UpdateEventStateForProjectRequestValidationError) ErrorName() string
- func (e UpdateEventStateForProjectRequestValidationError) Field() string
- func (e UpdateEventStateForProjectRequestValidationError) Key() bool
- func (e UpdateEventStateForProjectRequestValidationError) Reason() string
- type UpdateEventStateForProjectResponse
- func (*UpdateEventStateForProjectResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateEventStateForProjectResponse) ProtoMessage()
- func (x *UpdateEventStateForProjectResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEventStateForProjectResponse) Reset()
- func (x *UpdateEventStateForProjectResponse) String() string
- func (m *UpdateEventStateForProjectResponse) Validate() error
- type UpdateEventStateForProjectResponseValidationError
- func (e UpdateEventStateForProjectResponseValidationError) Cause() error
- func (e UpdateEventStateForProjectResponseValidationError) Error() string
- func (e UpdateEventStateForProjectResponseValidationError) ErrorName() string
- func (e UpdateEventStateForProjectResponseValidationError) Field() string
- func (e UpdateEventStateForProjectResponseValidationError) Key() bool
- func (e UpdateEventStateForProjectResponseValidationError) Reason() string
- type UpdateEventStateRequest
- func (*UpdateEventStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventStateRequest) GetId() string
- func (x *UpdateEventStateRequest) GetState() *event.EventState
- func (*UpdateEventStateRequest) ProtoMessage()
- func (x *UpdateEventStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventStateRequest) Reset()
- func (x *UpdateEventStateRequest) String() string
- func (m *UpdateEventStateRequest) Validate() error
- type UpdateEventStateRequestValidationError
- func (e UpdateEventStateRequestValidationError) Cause() error
- func (e UpdateEventStateRequestValidationError) Error() string
- func (e UpdateEventStateRequestValidationError) ErrorName() string
- func (e UpdateEventStateRequestValidationError) Field() string
- func (e UpdateEventStateRequestValidationError) Key() bool
- func (e UpdateEventStateRequestValidationError) Reason() string
- type UpdateEventStateResponse
- func (*UpdateEventStateResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateEventStateResponse) ProtoMessage()
- func (x *UpdateEventStateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEventStateResponse) Reset()
- func (x *UpdateEventStateResponse) String() string
- func (m *UpdateEventStateResponse) Validate() error
- type UpdateEventStateResponseValidationError
- func (e UpdateEventStateResponseValidationError) Cause() error
- func (e UpdateEventStateResponseValidationError) Error() string
- func (e UpdateEventStateResponseValidationError) ErrorName() string
- func (e UpdateEventStateResponseValidationError) Field() string
- func (e UpdateEventStateResponseValidationError) Key() bool
- func (e UpdateEventStateResponseValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var Events_ServiceDesc = grpc.ServiceDesc{ ServiceName: "autokitteh.eventsvc.Events", HandlerType: (*EventsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IngestEvent", Handler: _Events_IngestEvent_Handler, }, { MethodName: "GetEvent", Handler: _Events_GetEvent_Handler, }, { MethodName: "GetEventState", Handler: _Events_GetEventState_Handler, }, { MethodName: "UpdateEventState", Handler: _Events_UpdateEventState_Handler, }, { MethodName: "ListEvents", Handler: _Events_ListEvents_Handler, }, { MethodName: "GetEventStateForProject", Handler: _Events_GetEventStateForProject_Handler, }, { MethodName: "UpdateEventStateForProject", Handler: _Events_UpdateEventStateForProject_Handler, }, { MethodName: "GetProjectWaitingEvents", Handler: _Events_GetProjectWaitingEvents_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "TrackIngestEvent", Handler: _Events_TrackIngestEvent_Handler, ServerStreams: true, }, { StreamName: "MonitorProjectEvents", Handler: _Events_MonitorProjectEvents_Handler, ServerStreams: true, }, }, Metadata: "eventsvc/svc.proto", }
Events_ServiceDesc is the grpc.ServiceDesc for Events service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_eventsvc_svc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEventsHandler ¶
RegisterEventsHandler registers the http handlers for service Events to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEventsHandlerClient ¶
func RegisterEventsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventsClient) error
RegisterEventsHandlerClient registers the http handlers for service Events to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventsClient" to call the correct interceptors.
func RegisterEventsHandlerFromEndpoint ¶
func RegisterEventsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEventsHandlerFromEndpoint is same as RegisterEventsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEventsHandlerServer ¶
func RegisterEventsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventsServer) error
RegisterEventsHandlerServer registers the http handlers for service Events to "mux". UnaryRPC :call EventsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterEventsHandlerFromEndpoint instead.
func RegisterEventsServer ¶
func RegisterEventsServer(s grpc.ServiceRegistrar, srv EventsServer)
Types ¶
type EventsClient ¶
type EventsClient interface { IngestEvent(ctx context.Context, in *IngestEventRequest, opts ...grpc.CallOption) (*IngestEventResponse, error) TrackIngestEvent(ctx context.Context, in *IngestEventRequest, opts ...grpc.CallOption) (Events_TrackIngestEventClient, error) MonitorProjectEvents(ctx context.Context, in *MonitorProjectEventsRequest, opts ...grpc.CallOption) (Events_MonitorProjectEventsClient, error) GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*GetEventResponse, error) GetEventState(ctx context.Context, in *GetEventStateRequest, opts ...grpc.CallOption) (*GetEventStateResponse, error) UpdateEventState(ctx context.Context, in *UpdateEventStateRequest, opts ...grpc.CallOption) (*UpdateEventStateResponse, error) ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) GetEventStateForProject(ctx context.Context, in *GetEventStateForProjectRequest, opts ...grpc.CallOption) (*GetEventStateForProjectResponse, error) UpdateEventStateForProject(ctx context.Context, in *UpdateEventStateForProjectRequest, opts ...grpc.CallOption) (*UpdateEventStateForProjectResponse, error) GetProjectWaitingEvents(ctx context.Context, in *GetProjectWaitingEventsRequest, opts ...grpc.CallOption) (*GetProjectWaitingEventsResponse, error) }
EventsClient is the client API for Events 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 NewEventsClient ¶
func NewEventsClient(cc grpc.ClientConnInterface) EventsClient
type EventsServer ¶
type EventsServer interface { IngestEvent(context.Context, *IngestEventRequest) (*IngestEventResponse, error) TrackIngestEvent(*IngestEventRequest, Events_TrackIngestEventServer) error MonitorProjectEvents(*MonitorProjectEventsRequest, Events_MonitorProjectEventsServer) error GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error) GetEventState(context.Context, *GetEventStateRequest) (*GetEventStateResponse, error) UpdateEventState(context.Context, *UpdateEventStateRequest) (*UpdateEventStateResponse, error) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) GetEventStateForProject(context.Context, *GetEventStateForProjectRequest) (*GetEventStateForProjectResponse, error) UpdateEventStateForProject(context.Context, *UpdateEventStateForProjectRequest) (*UpdateEventStateForProjectResponse, error) GetProjectWaitingEvents(context.Context, *GetProjectWaitingEventsRequest) (*GetProjectWaitingEventsResponse, error) // contains filtered or unexported methods }
EventsServer is the server API for Events service. All implementations must embed UnimplementedEventsServer for forward compatibility
type Events_MonitorProjectEventsClient ¶ added in v0.8.0
type Events_MonitorProjectEventsClient interface { Recv() (*event.TrackIngestEventUpdate, error) grpc.ClientStream }
type Events_MonitorProjectEventsServer ¶ added in v0.8.0
type Events_MonitorProjectEventsServer interface { Send(*event.TrackIngestEventUpdate) error grpc.ServerStream }
type Events_TrackIngestEventClient ¶ added in v0.6.0
type Events_TrackIngestEventClient interface { Recv() (*event.TrackIngestEventUpdate, error) grpc.ClientStream }
type Events_TrackIngestEventServer ¶ added in v0.6.0
type Events_TrackIngestEventServer interface { Send(*event.TrackIngestEventUpdate) error grpc.ServerStream }
type GetEventRequest ¶
type GetEventRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetEventRequest) Descriptor
deprecated
func (*GetEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventRequest.ProtoReflect.Descriptor instead.
func (*GetEventRequest) GetId ¶
func (x *GetEventRequest) GetId() string
func (*GetEventRequest) ProtoMessage ¶
func (*GetEventRequest) ProtoMessage()
func (*GetEventRequest) ProtoReflect ¶
func (x *GetEventRequest) ProtoReflect() protoreflect.Message
func (*GetEventRequest) Reset ¶
func (x *GetEventRequest) Reset()
func (*GetEventRequest) String ¶
func (x *GetEventRequest) String() string
func (*GetEventRequest) Validate ¶
func (m *GetEventRequest) Validate() error
Validate checks the field values on GetEventRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEventRequestValidationError ¶
type GetEventRequestValidationError struct {
// contains filtered or unexported fields
}
GetEventRequestValidationError is the validation error returned by GetEventRequest.Validate if the designated constraints aren't met.
func (GetEventRequestValidationError) Cause ¶
func (e GetEventRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEventRequestValidationError) Error ¶
func (e GetEventRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEventRequestValidationError) ErrorName ¶
func (e GetEventRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEventRequestValidationError) Field ¶
func (e GetEventRequestValidationError) Field() string
Field function returns field value.
func (GetEventRequestValidationError) Key ¶
func (e GetEventRequestValidationError) Key() bool
Key function returns key value.
func (GetEventRequestValidationError) Reason ¶
func (e GetEventRequestValidationError) Reason() string
Reason function returns reason value.
type GetEventResponse ¶
type GetEventResponse struct { Event *event.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*GetEventResponse) Descriptor
deprecated
func (*GetEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventResponse.ProtoReflect.Descriptor instead.
func (*GetEventResponse) GetEvent ¶
func (x *GetEventResponse) GetEvent() *event.Event
func (*GetEventResponse) ProtoMessage ¶
func (*GetEventResponse) ProtoMessage()
func (*GetEventResponse) ProtoReflect ¶
func (x *GetEventResponse) ProtoReflect() protoreflect.Message
func (*GetEventResponse) Reset ¶
func (x *GetEventResponse) Reset()
func (*GetEventResponse) String ¶
func (x *GetEventResponse) String() string
func (*GetEventResponse) Validate ¶
func (m *GetEventResponse) Validate() error
Validate checks the field values on GetEventResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEventResponseValidationError ¶
type GetEventResponseValidationError struct {
// contains filtered or unexported fields
}
GetEventResponseValidationError is the validation error returned by GetEventResponse.Validate if the designated constraints aren't met.
func (GetEventResponseValidationError) Cause ¶
func (e GetEventResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEventResponseValidationError) Error ¶
func (e GetEventResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEventResponseValidationError) ErrorName ¶
func (e GetEventResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEventResponseValidationError) Field ¶
func (e GetEventResponseValidationError) Field() string
Field function returns field value.
func (GetEventResponseValidationError) Key ¶
func (e GetEventResponseValidationError) Key() bool
Key function returns key value.
func (GetEventResponseValidationError) Reason ¶
func (e GetEventResponseValidationError) Reason() string
Reason function returns reason value.
type GetEventStateForProjectRequest ¶
type GetEventStateForProjectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*GetEventStateForProjectRequest) Descriptor
deprecated
func (*GetEventStateForProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventStateForProjectRequest.ProtoReflect.Descriptor instead.
func (*GetEventStateForProjectRequest) GetId ¶
func (x *GetEventStateForProjectRequest) GetId() string
func (*GetEventStateForProjectRequest) GetProjectId ¶
func (x *GetEventStateForProjectRequest) GetProjectId() string
func (*GetEventStateForProjectRequest) ProtoMessage ¶
func (*GetEventStateForProjectRequest) ProtoMessage()
func (*GetEventStateForProjectRequest) ProtoReflect ¶
func (x *GetEventStateForProjectRequest) ProtoReflect() protoreflect.Message
func (*GetEventStateForProjectRequest) Reset ¶
func (x *GetEventStateForProjectRequest) Reset()
func (*GetEventStateForProjectRequest) String ¶
func (x *GetEventStateForProjectRequest) String() string
func (*GetEventStateForProjectRequest) Validate ¶
func (m *GetEventStateForProjectRequest) Validate() error
Validate checks the field values on GetEventStateForProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEventStateForProjectRequestValidationError ¶
type GetEventStateForProjectRequestValidationError struct {
// contains filtered or unexported fields
}
GetEventStateForProjectRequestValidationError is the validation error returned by GetEventStateForProjectRequest.Validate if the designated constraints aren't met.
func (GetEventStateForProjectRequestValidationError) Cause ¶
func (e GetEventStateForProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEventStateForProjectRequestValidationError) Error ¶
func (e GetEventStateForProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEventStateForProjectRequestValidationError) ErrorName ¶
func (e GetEventStateForProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEventStateForProjectRequestValidationError) Field ¶
func (e GetEventStateForProjectRequestValidationError) Field() string
Field function returns field value.
func (GetEventStateForProjectRequestValidationError) Key ¶
func (e GetEventStateForProjectRequestValidationError) Key() bool
Key function returns key value.
func (GetEventStateForProjectRequestValidationError) Reason ¶
func (e GetEventStateForProjectRequestValidationError) Reason() string
Reason function returns reason value.
type GetEventStateForProjectResponse ¶
type GetEventStateForProjectResponse struct { Log []*event.ProjectEventStateRecord `protobuf:"bytes,1,rep,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*GetEventStateForProjectResponse) Descriptor
deprecated
func (*GetEventStateForProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventStateForProjectResponse.ProtoReflect.Descriptor instead.
func (*GetEventStateForProjectResponse) GetLog ¶
func (x *GetEventStateForProjectResponse) GetLog() []*event.ProjectEventStateRecord
func (*GetEventStateForProjectResponse) ProtoMessage ¶
func (*GetEventStateForProjectResponse) ProtoMessage()
func (*GetEventStateForProjectResponse) ProtoReflect ¶
func (x *GetEventStateForProjectResponse) ProtoReflect() protoreflect.Message
func (*GetEventStateForProjectResponse) Reset ¶
func (x *GetEventStateForProjectResponse) Reset()
func (*GetEventStateForProjectResponse) String ¶
func (x *GetEventStateForProjectResponse) String() string
func (*GetEventStateForProjectResponse) Validate ¶
func (m *GetEventStateForProjectResponse) Validate() error
Validate checks the field values on GetEventStateForProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEventStateForProjectResponseValidationError ¶
type GetEventStateForProjectResponseValidationError struct {
// contains filtered or unexported fields
}
GetEventStateForProjectResponseValidationError is the validation error returned by GetEventStateForProjectResponse.Validate if the designated constraints aren't met.
func (GetEventStateForProjectResponseValidationError) Cause ¶
func (e GetEventStateForProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEventStateForProjectResponseValidationError) Error ¶
func (e GetEventStateForProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEventStateForProjectResponseValidationError) ErrorName ¶
func (e GetEventStateForProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEventStateForProjectResponseValidationError) Field ¶
func (e GetEventStateForProjectResponseValidationError) Field() string
Field function returns field value.
func (GetEventStateForProjectResponseValidationError) Key ¶
func (e GetEventStateForProjectResponseValidationError) Key() bool
Key function returns key value.
func (GetEventStateForProjectResponseValidationError) Reason ¶
func (e GetEventStateForProjectResponseValidationError) Reason() string
Reason function returns reason value.
type GetEventStateRequest ¶
type GetEventStateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetEventStateRequest) Descriptor
deprecated
func (*GetEventStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventStateRequest.ProtoReflect.Descriptor instead.
func (*GetEventStateRequest) GetId ¶
func (x *GetEventStateRequest) GetId() string
func (*GetEventStateRequest) ProtoMessage ¶
func (*GetEventStateRequest) ProtoMessage()
func (*GetEventStateRequest) ProtoReflect ¶
func (x *GetEventStateRequest) ProtoReflect() protoreflect.Message
func (*GetEventStateRequest) Reset ¶
func (x *GetEventStateRequest) Reset()
func (*GetEventStateRequest) String ¶
func (x *GetEventStateRequest) String() string
func (*GetEventStateRequest) Validate ¶
func (m *GetEventStateRequest) Validate() error
Validate checks the field values on GetEventStateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEventStateRequestValidationError ¶
type GetEventStateRequestValidationError struct {
// contains filtered or unexported fields
}
GetEventStateRequestValidationError is the validation error returned by GetEventStateRequest.Validate if the designated constraints aren't met.
func (GetEventStateRequestValidationError) Cause ¶
func (e GetEventStateRequestValidationError) Cause() error
Cause function returns cause value.
func (GetEventStateRequestValidationError) Error ¶
func (e GetEventStateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetEventStateRequestValidationError) ErrorName ¶
func (e GetEventStateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetEventStateRequestValidationError) Field ¶
func (e GetEventStateRequestValidationError) Field() string
Field function returns field value.
func (GetEventStateRequestValidationError) Key ¶
func (e GetEventStateRequestValidationError) Key() bool
Key function returns key value.
func (GetEventStateRequestValidationError) Reason ¶
func (e GetEventStateRequestValidationError) Reason() string
Reason function returns reason value.
type GetEventStateResponse ¶
type GetEventStateResponse struct { Log []*event.EventStateRecord `protobuf:"bytes,1,rep,name=log,proto3" json:"log,omitempty"` // contains filtered or unexported fields }
func (*GetEventStateResponse) Descriptor
deprecated
func (*GetEventStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventStateResponse.ProtoReflect.Descriptor instead.
func (*GetEventStateResponse) GetLog ¶
func (x *GetEventStateResponse) GetLog() []*event.EventStateRecord
func (*GetEventStateResponse) ProtoMessage ¶
func (*GetEventStateResponse) ProtoMessage()
func (*GetEventStateResponse) ProtoReflect ¶
func (x *GetEventStateResponse) ProtoReflect() protoreflect.Message
func (*GetEventStateResponse) Reset ¶
func (x *GetEventStateResponse) Reset()
func (*GetEventStateResponse) String ¶
func (x *GetEventStateResponse) String() string
func (*GetEventStateResponse) Validate ¶
func (m *GetEventStateResponse) Validate() error
Validate checks the field values on GetEventStateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetEventStateResponseValidationError ¶
type GetEventStateResponseValidationError struct {
// contains filtered or unexported fields
}
GetEventStateResponseValidationError is the validation error returned by GetEventStateResponse.Validate if the designated constraints aren't met.
func (GetEventStateResponseValidationError) Cause ¶
func (e GetEventStateResponseValidationError) Cause() error
Cause function returns cause value.
func (GetEventStateResponseValidationError) Error ¶
func (e GetEventStateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetEventStateResponseValidationError) ErrorName ¶
func (e GetEventStateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetEventStateResponseValidationError) Field ¶
func (e GetEventStateResponseValidationError) Field() string
Field function returns field value.
func (GetEventStateResponseValidationError) Key ¶
func (e GetEventStateResponseValidationError) Key() bool
Key function returns key value.
func (GetEventStateResponseValidationError) Reason ¶
func (e GetEventStateResponseValidationError) Reason() string
Reason function returns reason value.
type GetProjectWaitingEventsRequest ¶
type GetProjectWaitingEventsRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // if not set, all events. // contains filtered or unexported fields }
func (*GetProjectWaitingEventsRequest) Descriptor
deprecated
func (*GetProjectWaitingEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectWaitingEventsRequest.ProtoReflect.Descriptor instead.
func (*GetProjectWaitingEventsRequest) GetProjectId ¶
func (x *GetProjectWaitingEventsRequest) GetProjectId() string
func (*GetProjectWaitingEventsRequest) ProtoMessage ¶
func (*GetProjectWaitingEventsRequest) ProtoMessage()
func (*GetProjectWaitingEventsRequest) ProtoReflect ¶
func (x *GetProjectWaitingEventsRequest) ProtoReflect() protoreflect.Message
func (*GetProjectWaitingEventsRequest) Reset ¶
func (x *GetProjectWaitingEventsRequest) Reset()
func (*GetProjectWaitingEventsRequest) String ¶
func (x *GetProjectWaitingEventsRequest) String() string
func (*GetProjectWaitingEventsRequest) Validate ¶
func (m *GetProjectWaitingEventsRequest) Validate() error
Validate checks the field values on GetProjectWaitingEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetProjectWaitingEventsRequestValidationError ¶
type GetProjectWaitingEventsRequestValidationError struct {
// contains filtered or unexported fields
}
GetProjectWaitingEventsRequestValidationError is the validation error returned by GetProjectWaitingEventsRequest.Validate if the designated constraints aren't met.
func (GetProjectWaitingEventsRequestValidationError) Cause ¶
func (e GetProjectWaitingEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProjectWaitingEventsRequestValidationError) Error ¶
func (e GetProjectWaitingEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectWaitingEventsRequestValidationError) ErrorName ¶
func (e GetProjectWaitingEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectWaitingEventsRequestValidationError) Field ¶
func (e GetProjectWaitingEventsRequestValidationError) Field() string
Field function returns field value.
func (GetProjectWaitingEventsRequestValidationError) Key ¶
func (e GetProjectWaitingEventsRequestValidationError) Key() bool
Key function returns key value.
func (GetProjectWaitingEventsRequestValidationError) Reason ¶
func (e GetProjectWaitingEventsRequestValidationError) Reason() string
Reason function returns reason value.
type GetProjectWaitingEventsResponse ¶
type GetProjectWaitingEventsResponse struct { EventIds []string `protobuf:"bytes,1,rep,name=event_ids,json=eventIds,proto3" json:"event_ids,omitempty"` // contains filtered or unexported fields }
func (*GetProjectWaitingEventsResponse) Descriptor
deprecated
func (*GetProjectWaitingEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetProjectWaitingEventsResponse.ProtoReflect.Descriptor instead.
func (*GetProjectWaitingEventsResponse) GetEventIds ¶
func (x *GetProjectWaitingEventsResponse) GetEventIds() []string
func (*GetProjectWaitingEventsResponse) ProtoMessage ¶
func (*GetProjectWaitingEventsResponse) ProtoMessage()
func (*GetProjectWaitingEventsResponse) ProtoReflect ¶
func (x *GetProjectWaitingEventsResponse) ProtoReflect() protoreflect.Message
func (*GetProjectWaitingEventsResponse) Reset ¶
func (x *GetProjectWaitingEventsResponse) Reset()
func (*GetProjectWaitingEventsResponse) String ¶
func (x *GetProjectWaitingEventsResponse) String() string
func (*GetProjectWaitingEventsResponse) Validate ¶
func (m *GetProjectWaitingEventsResponse) Validate() error
Validate checks the field values on GetProjectWaitingEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type GetProjectWaitingEventsResponseValidationError ¶
type GetProjectWaitingEventsResponseValidationError struct {
// contains filtered or unexported fields
}
GetProjectWaitingEventsResponseValidationError is the validation error returned by GetProjectWaitingEventsResponse.Validate if the designated constraints aren't met.
func (GetProjectWaitingEventsResponseValidationError) Cause ¶
func (e GetProjectWaitingEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProjectWaitingEventsResponseValidationError) Error ¶
func (e GetProjectWaitingEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProjectWaitingEventsResponseValidationError) ErrorName ¶
func (e GetProjectWaitingEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProjectWaitingEventsResponseValidationError) Field ¶
func (e GetProjectWaitingEventsResponseValidationError) Field() string
Field function returns field value.
func (GetProjectWaitingEventsResponseValidationError) Key ¶
func (e GetProjectWaitingEventsResponseValidationError) Key() bool
Key function returns key value.
func (GetProjectWaitingEventsResponseValidationError) Reason ¶
func (e GetProjectWaitingEventsResponseValidationError) Reason() string
Reason function returns reason value.
type IngestEventRequest ¶
type IngestEventRequest struct { EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` SrcId string `protobuf:"bytes,2,opt,name=src_id,json=srcId,proto3" json:"src_id,omitempty"` AssociationToken string `protobuf:"bytes,3,opt,name=association_token,json=associationToken,proto3" json:"association_token,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Data map[string]*values.Value `` /* 149-byte string literal not displayed */ OriginalId string `protobuf:"bytes,6,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"` // for caller use only - not used in event processing. Memo map[string]string `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*IngestEventRequest) Descriptor
deprecated
func (*IngestEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use IngestEventRequest.ProtoReflect.Descriptor instead.
func (*IngestEventRequest) GetAssociationToken ¶
func (x *IngestEventRequest) GetAssociationToken() string
func (*IngestEventRequest) GetData ¶
func (x *IngestEventRequest) GetData() map[string]*values.Value
func (*IngestEventRequest) GetEventId ¶ added in v0.6.0
func (x *IngestEventRequest) GetEventId() string
func (*IngestEventRequest) GetMemo ¶
func (x *IngestEventRequest) GetMemo() map[string]string
func (*IngestEventRequest) GetOriginalId ¶
func (x *IngestEventRequest) GetOriginalId() string
func (*IngestEventRequest) GetSrcId ¶
func (x *IngestEventRequest) GetSrcId() string
func (*IngestEventRequest) GetType ¶
func (x *IngestEventRequest) GetType() string
func (*IngestEventRequest) ProtoMessage ¶
func (*IngestEventRequest) ProtoMessage()
func (*IngestEventRequest) ProtoReflect ¶
func (x *IngestEventRequest) ProtoReflect() protoreflect.Message
func (*IngestEventRequest) Reset ¶
func (x *IngestEventRequest) Reset()
func (*IngestEventRequest) String ¶
func (x *IngestEventRequest) String() string
func (*IngestEventRequest) Validate ¶
func (m *IngestEventRequest) Validate() error
Validate checks the field values on IngestEventRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type IngestEventRequestValidationError ¶
type IngestEventRequestValidationError struct {
// contains filtered or unexported fields
}
IngestEventRequestValidationError is the validation error returned by IngestEventRequest.Validate if the designated constraints aren't met.
func (IngestEventRequestValidationError) Cause ¶
func (e IngestEventRequestValidationError) Cause() error
Cause function returns cause value.
func (IngestEventRequestValidationError) Error ¶
func (e IngestEventRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IngestEventRequestValidationError) ErrorName ¶
func (e IngestEventRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IngestEventRequestValidationError) Field ¶
func (e IngestEventRequestValidationError) Field() string
Field function returns field value.
func (IngestEventRequestValidationError) Key ¶
func (e IngestEventRequestValidationError) Key() bool
Key function returns key value.
func (IngestEventRequestValidationError) Reason ¶
func (e IngestEventRequestValidationError) Reason() string
Reason function returns reason value.
type IngestEventResponse ¶
type IngestEventResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IngestEventResponse) Descriptor
deprecated
func (*IngestEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use IngestEventResponse.ProtoReflect.Descriptor instead.
func (*IngestEventResponse) GetId ¶
func (x *IngestEventResponse) GetId() string
func (*IngestEventResponse) ProtoMessage ¶
func (*IngestEventResponse) ProtoMessage()
func (*IngestEventResponse) ProtoReflect ¶
func (x *IngestEventResponse) ProtoReflect() protoreflect.Message
func (*IngestEventResponse) Reset ¶
func (x *IngestEventResponse) Reset()
func (*IngestEventResponse) String ¶
func (x *IngestEventResponse) String() string
func (*IngestEventResponse) Validate ¶
func (m *IngestEventResponse) Validate() error
Validate checks the field values on IngestEventResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type IngestEventResponseValidationError ¶
type IngestEventResponseValidationError struct {
// contains filtered or unexported fields
}
IngestEventResponseValidationError is the validation error returned by IngestEventResponse.Validate if the designated constraints aren't met.
func (IngestEventResponseValidationError) Cause ¶
func (e IngestEventResponseValidationError) Cause() error
Cause function returns cause value.
func (IngestEventResponseValidationError) Error ¶
func (e IngestEventResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IngestEventResponseValidationError) ErrorName ¶
func (e IngestEventResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IngestEventResponseValidationError) Field ¶
func (e IngestEventResponseValidationError) Field() string
Field function returns field value.
func (IngestEventResponseValidationError) Key ¶
func (e IngestEventResponseValidationError) Key() bool
Key function returns key value.
func (IngestEventResponseValidationError) Reason ¶
func (e IngestEventResponseValidationError) Reason() string
Reason function returns reason value.
type ListEventRecord ¶
type ListEventRecord struct { Event *event.Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` States []*event.EventStateRecord `protobuf:"bytes,2,rep,name=states,proto3" json:"states,omitempty"` // contains filtered or unexported fields }
func (*ListEventRecord) Descriptor
deprecated
func (*ListEventRecord) Descriptor() ([]byte, []int)
Deprecated: Use ListEventRecord.ProtoReflect.Descriptor instead.
func (*ListEventRecord) GetEvent ¶
func (x *ListEventRecord) GetEvent() *event.Event
func (*ListEventRecord) GetStates ¶
func (x *ListEventRecord) GetStates() []*event.EventStateRecord
func (*ListEventRecord) ProtoMessage ¶
func (*ListEventRecord) ProtoMessage()
func (*ListEventRecord) ProtoReflect ¶
func (x *ListEventRecord) ProtoReflect() protoreflect.Message
func (*ListEventRecord) Reset ¶
func (x *ListEventRecord) Reset()
func (*ListEventRecord) String ¶
func (x *ListEventRecord) String() string
func (*ListEventRecord) Validate ¶
func (m *ListEventRecord) Validate() error
Validate checks the field values on ListEventRecord with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListEventRecordValidationError ¶
type ListEventRecordValidationError struct {
// contains filtered or unexported fields
}
ListEventRecordValidationError is the validation error returned by ListEventRecord.Validate if the designated constraints aren't met.
func (ListEventRecordValidationError) Cause ¶
func (e ListEventRecordValidationError) Cause() error
Cause function returns cause value.
func (ListEventRecordValidationError) Error ¶
func (e ListEventRecordValidationError) Error() string
Error satisfies the builtin error interface
func (ListEventRecordValidationError) ErrorName ¶
func (e ListEventRecordValidationError) ErrorName() string
ErrorName returns error name.
func (ListEventRecordValidationError) Field ¶
func (e ListEventRecordValidationError) Field() string
Field function returns field value.
func (ListEventRecordValidationError) Key ¶
func (e ListEventRecordValidationError) Key() bool
Key function returns key value.
func (ListEventRecordValidationError) Reason ¶
func (e ListEventRecordValidationError) Reason() string
Reason function returns reason value.
type ListEventsRequest ¶
type ListEventsRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // if not set, all events. Ofs uint32 `protobuf:"varint,2,opt,name=ofs,proto3" json:"ofs,omitempty"` Len uint32 `protobuf:"varint,3,opt,name=len,proto3" json:"len,omitempty"` // contains filtered or unexported fields }
func (*ListEventsRequest) Descriptor
deprecated
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetLen ¶
func (x *ListEventsRequest) GetLen() uint32
func (*ListEventsRequest) GetOfs ¶
func (x *ListEventsRequest) GetOfs() uint32
func (*ListEventsRequest) GetProjectId ¶
func (x *ListEventsRequest) GetProjectId() string
func (*ListEventsRequest) ProtoMessage ¶
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect ¶
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset ¶
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String ¶
func (x *ListEventsRequest) String() string
func (*ListEventsRequest) Validate ¶
func (m *ListEventsRequest) Validate() error
Validate checks the field values on ListEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListEventsRequestValidationError ¶
type ListEventsRequestValidationError struct {
// contains filtered or unexported fields
}
ListEventsRequestValidationError is the validation error returned by ListEventsRequest.Validate if the designated constraints aren't met.
func (ListEventsRequestValidationError) Cause ¶
func (e ListEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListEventsRequestValidationError) Error ¶
func (e ListEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListEventsRequestValidationError) ErrorName ¶
func (e ListEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListEventsRequestValidationError) Field ¶
func (e ListEventsRequestValidationError) Field() string
Field function returns field value.
func (ListEventsRequestValidationError) Key ¶
func (e ListEventsRequestValidationError) Key() bool
Key function returns key value.
func (ListEventsRequestValidationError) Reason ¶
func (e ListEventsRequestValidationError) Reason() string
Reason function returns reason value.
type ListEventsResponse ¶
type ListEventsResponse struct { Records []*ListEventRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*ListEventsResponse) Descriptor
deprecated
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetRecords ¶
func (x *ListEventsResponse) GetRecords() []*ListEventRecord
func (*ListEventsResponse) ProtoMessage ¶
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) ProtoReflect ¶
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (*ListEventsResponse) Reset ¶
func (x *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶
func (x *ListEventsResponse) String() string
func (*ListEventsResponse) Validate ¶
func (m *ListEventsResponse) Validate() error
Validate checks the field values on ListEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListEventsResponseValidationError ¶
type ListEventsResponseValidationError struct {
// contains filtered or unexported fields
}
ListEventsResponseValidationError is the validation error returned by ListEventsResponse.Validate if the designated constraints aren't met.
func (ListEventsResponseValidationError) Cause ¶
func (e ListEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListEventsResponseValidationError) Error ¶
func (e ListEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListEventsResponseValidationError) ErrorName ¶
func (e ListEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListEventsResponseValidationError) Field ¶
func (e ListEventsResponseValidationError) Field() string
Field function returns field value.
func (ListEventsResponseValidationError) Key ¶
func (e ListEventsResponseValidationError) Key() bool
Key function returns key value.
func (ListEventsResponseValidationError) Reason ¶
func (e ListEventsResponseValidationError) Reason() string
Reason function returns reason value.
type MonitorProjectEventsRequest ¶ added in v0.8.0
type MonitorProjectEventsRequest struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*MonitorProjectEventsRequest) Descriptor
deprecated
added in
v0.8.0
func (*MonitorProjectEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonitorProjectEventsRequest.ProtoReflect.Descriptor instead.
func (*MonitorProjectEventsRequest) GetProjectId ¶ added in v0.8.0
func (x *MonitorProjectEventsRequest) GetProjectId() string
func (*MonitorProjectEventsRequest) ProtoMessage ¶ added in v0.8.0
func (*MonitorProjectEventsRequest) ProtoMessage()
func (*MonitorProjectEventsRequest) ProtoReflect ¶ added in v0.8.0
func (x *MonitorProjectEventsRequest) ProtoReflect() protoreflect.Message
func (*MonitorProjectEventsRequest) Reset ¶ added in v0.8.0
func (x *MonitorProjectEventsRequest) Reset()
func (*MonitorProjectEventsRequest) String ¶ added in v0.8.0
func (x *MonitorProjectEventsRequest) String() string
func (*MonitorProjectEventsRequest) Validate ¶ added in v0.8.0
func (m *MonitorProjectEventsRequest) Validate() error
Validate checks the field values on MonitorProjectEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type MonitorProjectEventsRequestValidationError ¶ added in v0.8.0
type MonitorProjectEventsRequestValidationError struct {
// contains filtered or unexported fields
}
MonitorProjectEventsRequestValidationError is the validation error returned by MonitorProjectEventsRequest.Validate if the designated constraints aren't met.
func (MonitorProjectEventsRequestValidationError) Cause ¶ added in v0.8.0
func (e MonitorProjectEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (MonitorProjectEventsRequestValidationError) Error ¶ added in v0.8.0
func (e MonitorProjectEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (MonitorProjectEventsRequestValidationError) ErrorName ¶ added in v0.8.0
func (e MonitorProjectEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (MonitorProjectEventsRequestValidationError) Field ¶ added in v0.8.0
func (e MonitorProjectEventsRequestValidationError) Field() string
Field function returns field value.
func (MonitorProjectEventsRequestValidationError) Key ¶ added in v0.8.0
func (e MonitorProjectEventsRequestValidationError) Key() bool
Key function returns key value.
func (MonitorProjectEventsRequestValidationError) Reason ¶ added in v0.8.0
func (e MonitorProjectEventsRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedEventsServer ¶
type UnimplementedEventsServer struct { }
UnimplementedEventsServer must be embedded to have forward compatible implementations.
func (UnimplementedEventsServer) GetEvent ¶
func (UnimplementedEventsServer) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error)
func (UnimplementedEventsServer) GetEventState ¶
func (UnimplementedEventsServer) GetEventState(context.Context, *GetEventStateRequest) (*GetEventStateResponse, error)
func (UnimplementedEventsServer) GetEventStateForProject ¶
func (UnimplementedEventsServer) GetEventStateForProject(context.Context, *GetEventStateForProjectRequest) (*GetEventStateForProjectResponse, error)
func (UnimplementedEventsServer) GetProjectWaitingEvents ¶
func (UnimplementedEventsServer) GetProjectWaitingEvents(context.Context, *GetProjectWaitingEventsRequest) (*GetProjectWaitingEventsResponse, error)
func (UnimplementedEventsServer) IngestEvent ¶
func (UnimplementedEventsServer) IngestEvent(context.Context, *IngestEventRequest) (*IngestEventResponse, error)
func (UnimplementedEventsServer) ListEvents ¶
func (UnimplementedEventsServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (UnimplementedEventsServer) MonitorProjectEvents ¶ added in v0.8.0
func (UnimplementedEventsServer) MonitorProjectEvents(*MonitorProjectEventsRequest, Events_MonitorProjectEventsServer) error
func (UnimplementedEventsServer) TrackIngestEvent ¶ added in v0.6.0
func (UnimplementedEventsServer) TrackIngestEvent(*IngestEventRequest, Events_TrackIngestEventServer) error
func (UnimplementedEventsServer) UpdateEventState ¶
func (UnimplementedEventsServer) UpdateEventState(context.Context, *UpdateEventStateRequest) (*UpdateEventStateResponse, error)
func (UnimplementedEventsServer) UpdateEventStateForProject ¶
func (UnimplementedEventsServer) UpdateEventStateForProject(context.Context, *UpdateEventStateForProjectRequest) (*UpdateEventStateForProjectResponse, error)
type UnsafeEventsServer ¶
type UnsafeEventsServer interface {
// contains filtered or unexported methods
}
UnsafeEventsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventsServer will result in compilation errors.
type UpdateEventStateForProjectRequest ¶
type UpdateEventStateForProjectRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` State *event.ProjectEventState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UpdateEventStateForProjectRequest) Descriptor
deprecated
func (*UpdateEventStateForProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventStateForProjectRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventStateForProjectRequest) GetId ¶
func (x *UpdateEventStateForProjectRequest) GetId() string
func (*UpdateEventStateForProjectRequest) GetProjectId ¶
func (x *UpdateEventStateForProjectRequest) GetProjectId() string
func (*UpdateEventStateForProjectRequest) GetState ¶
func (x *UpdateEventStateForProjectRequest) GetState() *event.ProjectEventState
func (*UpdateEventStateForProjectRequest) ProtoMessage ¶
func (*UpdateEventStateForProjectRequest) ProtoMessage()
func (*UpdateEventStateForProjectRequest) ProtoReflect ¶
func (x *UpdateEventStateForProjectRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventStateForProjectRequest) Reset ¶
func (x *UpdateEventStateForProjectRequest) Reset()
func (*UpdateEventStateForProjectRequest) String ¶
func (x *UpdateEventStateForProjectRequest) String() string
func (*UpdateEventStateForProjectRequest) Validate ¶
func (m *UpdateEventStateForProjectRequest) Validate() error
Validate checks the field values on UpdateEventStateForProjectRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEventStateForProjectRequestValidationError ¶
type UpdateEventStateForProjectRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEventStateForProjectRequestValidationError is the validation error returned by UpdateEventStateForProjectRequest.Validate if the designated constraints aren't met.
func (UpdateEventStateForProjectRequestValidationError) Cause ¶
func (e UpdateEventStateForProjectRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEventStateForProjectRequestValidationError) Error ¶
func (e UpdateEventStateForProjectRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEventStateForProjectRequestValidationError) ErrorName ¶
func (e UpdateEventStateForProjectRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEventStateForProjectRequestValidationError) Field ¶
func (e UpdateEventStateForProjectRequestValidationError) Field() string
Field function returns field value.
func (UpdateEventStateForProjectRequestValidationError) Key ¶
func (e UpdateEventStateForProjectRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEventStateForProjectRequestValidationError) Reason ¶
func (e UpdateEventStateForProjectRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateEventStateForProjectResponse ¶
type UpdateEventStateForProjectResponse struct {
// contains filtered or unexported fields
}
func (*UpdateEventStateForProjectResponse) Descriptor
deprecated
func (*UpdateEventStateForProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventStateForProjectResponse.ProtoReflect.Descriptor instead.
func (*UpdateEventStateForProjectResponse) ProtoMessage ¶
func (*UpdateEventStateForProjectResponse) ProtoMessage()
func (*UpdateEventStateForProjectResponse) ProtoReflect ¶
func (x *UpdateEventStateForProjectResponse) ProtoReflect() protoreflect.Message
func (*UpdateEventStateForProjectResponse) Reset ¶
func (x *UpdateEventStateForProjectResponse) Reset()
func (*UpdateEventStateForProjectResponse) String ¶
func (x *UpdateEventStateForProjectResponse) String() string
func (*UpdateEventStateForProjectResponse) Validate ¶
func (m *UpdateEventStateForProjectResponse) Validate() error
Validate checks the field values on UpdateEventStateForProjectResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEventStateForProjectResponseValidationError ¶
type UpdateEventStateForProjectResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateEventStateForProjectResponseValidationError is the validation error returned by UpdateEventStateForProjectResponse.Validate if the designated constraints aren't met.
func (UpdateEventStateForProjectResponseValidationError) Cause ¶
func (e UpdateEventStateForProjectResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateEventStateForProjectResponseValidationError) Error ¶
func (e UpdateEventStateForProjectResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEventStateForProjectResponseValidationError) ErrorName ¶
func (e UpdateEventStateForProjectResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEventStateForProjectResponseValidationError) Field ¶
func (e UpdateEventStateForProjectResponseValidationError) Field() string
Field function returns field value.
func (UpdateEventStateForProjectResponseValidationError) Key ¶
func (e UpdateEventStateForProjectResponseValidationError) Key() bool
Key function returns key value.
func (UpdateEventStateForProjectResponseValidationError) Reason ¶
func (e UpdateEventStateForProjectResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateEventStateRequest ¶
type UpdateEventStateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` State *event.EventState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UpdateEventStateRequest) Descriptor
deprecated
func (*UpdateEventStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventStateRequest) GetId ¶
func (x *UpdateEventStateRequest) GetId() string
func (*UpdateEventStateRequest) GetState ¶
func (x *UpdateEventStateRequest) GetState() *event.EventState
func (*UpdateEventStateRequest) ProtoMessage ¶
func (*UpdateEventStateRequest) ProtoMessage()
func (*UpdateEventStateRequest) ProtoReflect ¶
func (x *UpdateEventStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventStateRequest) Reset ¶
func (x *UpdateEventStateRequest) Reset()
func (*UpdateEventStateRequest) String ¶
func (x *UpdateEventStateRequest) String() string
func (*UpdateEventStateRequest) Validate ¶
func (m *UpdateEventStateRequest) Validate() error
Validate checks the field values on UpdateEventStateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEventStateRequestValidationError ¶
type UpdateEventStateRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEventStateRequestValidationError is the validation error returned by UpdateEventStateRequest.Validate if the designated constraints aren't met.
func (UpdateEventStateRequestValidationError) Cause ¶
func (e UpdateEventStateRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEventStateRequestValidationError) Error ¶
func (e UpdateEventStateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEventStateRequestValidationError) ErrorName ¶
func (e UpdateEventStateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEventStateRequestValidationError) Field ¶
func (e UpdateEventStateRequestValidationError) Field() string
Field function returns field value.
func (UpdateEventStateRequestValidationError) Key ¶
func (e UpdateEventStateRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEventStateRequestValidationError) Reason ¶
func (e UpdateEventStateRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateEventStateResponse ¶
type UpdateEventStateResponse struct {
// contains filtered or unexported fields
}
func (*UpdateEventStateResponse) Descriptor
deprecated
func (*UpdateEventStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventStateResponse.ProtoReflect.Descriptor instead.
func (*UpdateEventStateResponse) ProtoMessage ¶
func (*UpdateEventStateResponse) ProtoMessage()
func (*UpdateEventStateResponse) ProtoReflect ¶
func (x *UpdateEventStateResponse) ProtoReflect() protoreflect.Message
func (*UpdateEventStateResponse) Reset ¶
func (x *UpdateEventStateResponse) Reset()
func (*UpdateEventStateResponse) String ¶
func (x *UpdateEventStateResponse) String() string
func (*UpdateEventStateResponse) Validate ¶
func (m *UpdateEventStateResponse) Validate() error
Validate checks the field values on UpdateEventStateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateEventStateResponseValidationError ¶
type UpdateEventStateResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateEventStateResponseValidationError is the validation error returned by UpdateEventStateResponse.Validate if the designated constraints aren't met.
func (UpdateEventStateResponseValidationError) Cause ¶
func (e UpdateEventStateResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateEventStateResponseValidationError) Error ¶
func (e UpdateEventStateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEventStateResponseValidationError) ErrorName ¶
func (e UpdateEventStateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEventStateResponseValidationError) Field ¶
func (e UpdateEventStateResponseValidationError) Field() string
Field function returns field value.
func (UpdateEventStateResponseValidationError) Key ¶
func (e UpdateEventStateResponseValidationError) Key() bool
Key function returns key value.
func (UpdateEventStateResponseValidationError) Reason ¶
func (e UpdateEventStateResponseValidationError) Reason() string
Reason function returns reason value.