eventsvc

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package eventsvc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
var File_eventsvc_svc_proto protoreflect.FileDescriptor

Functions

func RegisterEventsHandler

func RegisterEventsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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

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

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

Cause function returns cause value.

func (GetEventRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEventRequestValidationError) ErrorName

func (e GetEventRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetEventRequestValidationError) Field

Field function returns field value.

func (GetEventRequestValidationError) Key

Key function returns key value.

func (GetEventRequestValidationError) Reason

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

Cause function returns cause value.

func (GetEventResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEventResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEventResponseValidationError) Field

Field function returns field value.

func (GetEventResponseValidationError) Key

Key function returns key value.

func (GetEventResponseValidationError) Reason

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 (*GetEventStateForProjectRequest) GetProjectId

func (x *GetEventStateForProjectRequest) GetProjectId() string

func (*GetEventStateForProjectRequest) ProtoMessage

func (*GetEventStateForProjectRequest) ProtoMessage()

func (*GetEventStateForProjectRequest) ProtoReflect

func (*GetEventStateForProjectRequest) Reset

func (x *GetEventStateForProjectRequest) Reset()

func (*GetEventStateForProjectRequest) 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

Cause function returns cause value.

func (GetEventStateForProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEventStateForProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEventStateForProjectRequestValidationError) Field

Field function returns field value.

func (GetEventStateForProjectRequestValidationError) Key

Key function returns key value.

func (GetEventStateForProjectRequestValidationError) Reason

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 (*GetEventStateForProjectResponse) ProtoMessage

func (*GetEventStateForProjectResponse) ProtoMessage()

func (*GetEventStateForProjectResponse) ProtoReflect

func (*GetEventStateForProjectResponse) Reset

func (*GetEventStateForProjectResponse) 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

Cause function returns cause value.

func (GetEventStateForProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEventStateForProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEventStateForProjectResponseValidationError) Field

Field function returns field value.

func (GetEventStateForProjectResponseValidationError) Key

Key function returns key value.

func (GetEventStateForProjectResponseValidationError) Reason

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

Cause function returns cause value.

func (GetEventStateRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEventStateRequestValidationError) ErrorName

ErrorName returns error name.

func (GetEventStateRequestValidationError) Field

Field function returns field value.

func (GetEventStateRequestValidationError) Key

Key function returns key value.

func (GetEventStateRequestValidationError) Reason

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 (*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

Cause function returns cause value.

func (GetEventStateResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEventStateResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEventStateResponseValidationError) Field

Field function returns field value.

func (GetEventStateResponseValidationError) Key

Key function returns key value.

func (GetEventStateResponseValidationError) Reason

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 (*GetProjectWaitingEventsRequest) Reset

func (x *GetProjectWaitingEventsRequest) Reset()

func (*GetProjectWaitingEventsRequest) 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

Cause function returns cause value.

func (GetProjectWaitingEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProjectWaitingEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProjectWaitingEventsRequestValidationError) Field

Field function returns field value.

func (GetProjectWaitingEventsRequestValidationError) Key

Key function returns key value.

func (GetProjectWaitingEventsRequestValidationError) Reason

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 (*GetProjectWaitingEventsResponse) Reset

func (*GetProjectWaitingEventsResponse) 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

Cause function returns cause value.

func (GetProjectWaitingEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProjectWaitingEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProjectWaitingEventsResponseValidationError) Field

Field function returns field value.

func (GetProjectWaitingEventsResponseValidationError) Key

Key function returns key value.

func (GetProjectWaitingEventsResponseValidationError) Reason

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

Cause function returns cause value.

func (IngestEventRequestValidationError) Error

Error satisfies the builtin error interface

func (IngestEventRequestValidationError) ErrorName

ErrorName returns error name.

func (IngestEventRequestValidationError) Field

Field function returns field value.

func (IngestEventRequestValidationError) Key

Key function returns key value.

func (IngestEventRequestValidationError) Reason

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

Cause function returns cause value.

func (IngestEventResponseValidationError) Error

Error satisfies the builtin error interface

func (IngestEventResponseValidationError) ErrorName

ErrorName returns error name.

func (IngestEventResponseValidationError) Field

Field function returns field value.

func (IngestEventResponseValidationError) Key

Key function returns key value.

func (IngestEventResponseValidationError) Reason

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

Cause function returns cause value.

func (ListEventRecordValidationError) Error

Error satisfies the builtin error interface

func (ListEventRecordValidationError) ErrorName

func (e ListEventRecordValidationError) ErrorName() string

ErrorName returns error name.

func (ListEventRecordValidationError) Field

Field function returns field value.

func (ListEventRecordValidationError) Key

Key function returns key value.

func (ListEventRecordValidationError) Reason

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

Cause function returns cause value.

func (ListEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListEventsRequestValidationError) Field

Field function returns field value.

func (ListEventsRequestValidationError) Key

Key function returns key value.

func (ListEventsRequestValidationError) Reason

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

Cause function returns cause value.

func (ListEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListEventsResponseValidationError) Field

Field function returns field value.

func (ListEventsResponseValidationError) Key

Key function returns key value.

func (ListEventsResponseValidationError) Reason

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 (*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

Cause function returns cause value.

func (MonitorProjectEventsRequestValidationError) Error added in v0.8.0

Error satisfies the builtin error interface

func (MonitorProjectEventsRequestValidationError) ErrorName added in v0.8.0

ErrorName returns error name.

func (MonitorProjectEventsRequestValidationError) Field added in v0.8.0

Field function returns field value.

func (MonitorProjectEventsRequestValidationError) Key added in v0.8.0

Key function returns key value.

func (MonitorProjectEventsRequestValidationError) Reason added in v0.8.0

Reason function returns reason value.

type UnimplementedEventsServer

type UnimplementedEventsServer struct {
}

UnimplementedEventsServer must be embedded to have forward compatible implementations.

func (UnimplementedEventsServer) GetEvent

func (UnimplementedEventsServer) GetEventState

func (UnimplementedEventsServer) IngestEvent

func (UnimplementedEventsServer) ListEvents

func (UnimplementedEventsServer) MonitorProjectEvents added in v0.8.0

func (UnimplementedEventsServer) TrackIngestEvent added in v0.6.0

func (UnimplementedEventsServer) UpdateEventState

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 (*UpdateEventStateForProjectRequest) GetProjectId

func (x *UpdateEventStateForProjectRequest) GetProjectId() string

func (*UpdateEventStateForProjectRequest) GetState

func (*UpdateEventStateForProjectRequest) ProtoMessage

func (*UpdateEventStateForProjectRequest) ProtoMessage()

func (*UpdateEventStateForProjectRequest) ProtoReflect

func (*UpdateEventStateForProjectRequest) Reset

func (*UpdateEventStateForProjectRequest) String

func (*UpdateEventStateForProjectRequest) Validate

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

Cause function returns cause value.

func (UpdateEventStateForProjectRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEventStateForProjectRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEventStateForProjectRequestValidationError) Field

Field function returns field value.

func (UpdateEventStateForProjectRequestValidationError) Key

Key function returns key value.

func (UpdateEventStateForProjectRequestValidationError) Reason

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 (*UpdateEventStateForProjectResponse) Reset

func (*UpdateEventStateForProjectResponse) String

func (*UpdateEventStateForProjectResponse) Validate

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

Cause function returns cause value.

func (UpdateEventStateForProjectResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateEventStateForProjectResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateEventStateForProjectResponseValidationError) Field

Field function returns field value.

func (UpdateEventStateForProjectResponseValidationError) Key

Key function returns key value.

func (UpdateEventStateForProjectResponseValidationError) Reason

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

Cause function returns cause value.

func (UpdateEventStateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateEventStateRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateEventStateRequestValidationError) Field

Field function returns field value.

func (UpdateEventStateRequestValidationError) Key

Key function returns key value.

func (UpdateEventStateRequestValidationError) Reason

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

Cause function returns cause value.

func (UpdateEventStateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateEventStateResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateEventStateResponseValidationError) Field

Field function returns field value.

func (UpdateEventStateResponseValidationError) Key

Key function returns key value.

func (UpdateEventStateResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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