Documentation ¶
Overview ¶
Package v1alpha1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterEventServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEventServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventServiceClient) error
- func RegisterEventServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEventServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventServiceServer) error
- func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
- type CreateEventRequest
- func (*CreateEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEventRequest) GetAttributes() *EventAttributes
- func (x *CreateEventRequest) GetLinks() *EventLinks
- func (x *CreateEventRequest) GetTitle() string
- func (*CreateEventRequest) ProtoMessage()
- func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEventRequest) Reset()
- func (x *CreateEventRequest) String() string
- func (m *CreateEventRequest) Validate() error
- func (m *CreateEventRequest) ValidateAll() error
- type CreateEventRequestMultiError
- type CreateEventRequestValidationError
- func (e CreateEventRequestValidationError) Cause() error
- func (e CreateEventRequestValidationError) Error() string
- func (e CreateEventRequestValidationError) ErrorName() string
- func (e CreateEventRequestValidationError) Field() string
- func (e CreateEventRequestValidationError) Key() bool
- func (e CreateEventRequestValidationError) Reason() string
- type CreateEventResponse
- func (*CreateEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEventResponse) GetEvent() *Event
- func (*CreateEventResponse) ProtoMessage()
- func (x *CreateEventResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEventResponse) Reset()
- func (x *CreateEventResponse) String() string
- func (m *CreateEventResponse) Validate() error
- func (m *CreateEventResponse) ValidateAll() error
- type CreateEventResponseMultiError
- type CreateEventResponseValidationError
- func (e CreateEventResponseValidationError) Cause() error
- func (e CreateEventResponseValidationError) Error() string
- func (e CreateEventResponseValidationError) ErrorName() string
- func (e CreateEventResponseValidationError) Field() string
- func (e CreateEventResponseValidationError) Key() bool
- func (e CreateEventResponseValidationError) Reason() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAttributes() *EventAttributes
- func (x *Event) GetLinks() *EventLinks
- func (x *Event) GetMetadata() *EventMetadata
- func (x *Event) GetTitle() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (m *Event) Validate() error
- func (m *Event) ValidateAll() error
- type EventAttributes
- func (*EventAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *EventAttributes) GetMessage() string
- func (x *EventAttributes) GetPriority() Priority
- func (x *EventAttributes) GetRelatedId() string
- func (x *EventAttributes) GetService() string
- func (x *EventAttributes) GetSource() string
- func (x *EventAttributes) GetStatus() Status
- func (x *EventAttributes) GetType() Type
- func (*EventAttributes) ProtoMessage()
- func (x *EventAttributes) ProtoReflect() protoreflect.Message
- func (x *EventAttributes) Reset()
- func (x *EventAttributes) String() string
- func (m *EventAttributes) Validate() error
- func (m *EventAttributes) ValidateAll() error
- type EventAttributesMultiError
- type EventAttributesValidationError
- func (e EventAttributesValidationError) Cause() error
- func (e EventAttributesValidationError) Error() string
- func (e EventAttributesValidationError) ErrorName() string
- func (e EventAttributesValidationError) Field() string
- func (e EventAttributesValidationError) Key() bool
- func (e EventAttributesValidationError) Reason() string
- type EventLinks
- func (*EventLinks) Descriptor() ([]byte, []int)deprecated
- func (x *EventLinks) GetPullRequestLink() string
- func (*EventLinks) ProtoMessage()
- func (x *EventLinks) ProtoReflect() protoreflect.Message
- func (x *EventLinks) Reset()
- func (x *EventLinks) String() string
- func (m *EventLinks) Validate() error
- func (m *EventLinks) ValidateAll() error
- type EventLinksMultiError
- type EventLinksValidationError
- type EventMetadata
- func (*EventMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventMetadata) GetCreatedAt() *timestamppb.Timestamp
- func (x *EventMetadata) GetDuration() *durationpb.Duration
- func (x *EventMetadata) GetId() string
- func (*EventMetadata) ProtoMessage()
- func (x *EventMetadata) ProtoReflect() protoreflect.Message
- func (x *EventMetadata) Reset()
- func (x *EventMetadata) String() string
- func (m *EventMetadata) Validate() error
- func (m *EventMetadata) ValidateAll() error
- type EventMetadataMultiError
- type EventMetadataValidationError
- func (e EventMetadataValidationError) Cause() error
- func (e EventMetadataValidationError) Error() string
- func (e EventMetadataValidationError) ErrorName() string
- func (e EventMetadataValidationError) Field() string
- func (e EventMetadataValidationError) Key() bool
- func (e EventMetadataValidationError) Reason() string
- type EventMultiError
- type EventServiceClient
- type EventServiceServer
- type EventValidationError
- 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
- func (m *GetEventRequest) ValidateAll() error
- type GetEventRequestMultiError
- 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
- func (*GetEventResponse) ProtoMessage()
- func (x *GetEventResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventResponse) Reset()
- func (x *GetEventResponse) String() string
- func (m *GetEventResponse) Validate() error
- func (m *GetEventResponse) ValidateAll() error
- type GetEventResponseMultiError
- 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 ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsRequest) GetPage() *wrapperspb.Int32Value
- func (x *ListEventsRequest) GetPerPage() *wrapperspb.UInt32Value
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- func (m *ListEventsRequest) Validate() error
- func (m *ListEventsRequest) ValidateAll() error
- type ListEventsRequestMultiError
- 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) GetEvents() []*Event
- func (x *ListEventsResponse) GetTotalCount() uint32
- func (*ListEventsResponse) ProtoMessage()
- func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventsResponse) Reset()
- func (x *ListEventsResponse) String() string
- func (m *ListEventsResponse) Validate() error
- func (m *ListEventsResponse) ValidateAll() error
- type ListEventsResponseMultiError
- 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 Priority
- type SearchEventsRequest
- func (*SearchEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchEventsRequest) GetEndDate() string
- func (x *SearchEventsRequest) GetPriority() Priority
- func (x *SearchEventsRequest) GetService() string
- func (x *SearchEventsRequest) GetSource() string
- func (x *SearchEventsRequest) GetStartDate() string
- func (x *SearchEventsRequest) GetStatus() Status
- func (x *SearchEventsRequest) GetType() Type
- func (*SearchEventsRequest) ProtoMessage()
- func (x *SearchEventsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchEventsRequest) Reset()
- func (x *SearchEventsRequest) String() string
- func (m *SearchEventsRequest) Validate() error
- func (m *SearchEventsRequest) ValidateAll() error
- type SearchEventsRequestMultiError
- type SearchEventsRequestValidationError
- func (e SearchEventsRequestValidationError) Cause() error
- func (e SearchEventsRequestValidationError) Error() string
- func (e SearchEventsRequestValidationError) ErrorName() string
- func (e SearchEventsRequestValidationError) Field() string
- func (e SearchEventsRequestValidationError) Key() bool
- func (e SearchEventsRequestValidationError) Reason() string
- type SearchEventsResponse
- func (*SearchEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchEventsResponse) GetEvents() []*Event
- func (x *SearchEventsResponse) GetTotalCount() uint32
- func (*SearchEventsResponse) ProtoMessage()
- func (x *SearchEventsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchEventsResponse) Reset()
- func (x *SearchEventsResponse) String() string
- func (m *SearchEventsResponse) Validate() error
- func (m *SearchEventsResponse) ValidateAll() error
- type SearchEventsResponseMultiError
- type SearchEventsResponseValidationError
- func (e SearchEventsResponseValidationError) Cause() error
- func (e SearchEventsResponseValidationError) Error() string
- func (e SearchEventsResponseValidationError) ErrorName() string
- func (e SearchEventsResponseValidationError) Field() string
- func (e SearchEventsResponseValidationError) Key() bool
- func (e SearchEventsResponseValidationError) Reason() string
- type Status
- type Type
- type UnimplementedEventServiceServer
- func (UnimplementedEventServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
- func (UnimplementedEventServiceServer) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error)
- func (UnimplementedEventServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
- func (UnimplementedEventServiceServer) SearchEvents(context.Context, *SearchEventsRequest) (*SearchEventsResponse, error)
- type UnsafeEventServiceServer
Constants ¶
const ( EventService_CreateEvent_FullMethodName = "/tracker.event.v1alpha1.EventService/CreateEvent" EventService_GetEvent_FullMethodName = "/tracker.event.v1alpha1.EventService/GetEvent" EventService_SearchEvents_FullMethodName = "/tracker.event.v1alpha1.EventService/SearchEvents" EventService_ListEvents_FullMethodName = "/tracker.event.v1alpha1.EventService/ListEvents" )
Variables ¶
var ( Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "deployment", 2: "operation", } Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "deployment": 1, "operation": 2, } )
Enum value maps for Type.
var ( Priority_name = map[int32]string{ 0: "PRIORITY_UNSPECIFIED", 1: "P1", 3: "P2", 4: "P3", 5: "P4", } Priority_value = map[string]int32{ "PRIORITY_UNSPECIFIED": 0, "P1": 1, "P2": 3, "P3": 4, "P4": 5, } )
Enum value maps for Priority.
var ( Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "start", 2: "failure", 3: "success", 4: "warning", 5: "error", 6: "snapshot", 7: "user_update", 8: "recommandation", } Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "start": 1, "failure": 2, "success": 3, "warning": 4, "error": 5, "snapshot": 6, "user_update": 7, "recommandation": 8, } )
Enum value maps for Status.
var EventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tracker.event.v1alpha1.EventService", HandlerType: (*EventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEvent", Handler: _EventService_CreateEvent_Handler, }, { MethodName: "GetEvent", Handler: _EventService_GetEvent_Handler, }, { MethodName: "SearchEvents", Handler: _EventService_SearchEvents_Handler, }, { MethodName: "ListEvents", Handler: _EventService_ListEvents_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/event/v1alpha1/event.proto", }
EventService_ServiceDesc is the grpc.ServiceDesc for EventService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_event_v1alpha1_event_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEventServiceHandler ¶
func RegisterEventServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEventServiceHandler registers the http handlers for service EventService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEventServiceHandlerClient ¶
func RegisterEventServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventServiceClient) error
RegisterEventServiceHandlerClient registers the http handlers for service EventService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventServiceClient" to call the correct interceptors.
func RegisterEventServiceHandlerFromEndpoint ¶
func RegisterEventServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEventServiceHandlerFromEndpoint is same as RegisterEventServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEventServiceHandlerServer ¶
func RegisterEventServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventServiceServer) error
RegisterEventServiceHandlerServer registers the http handlers for service EventService to "mux". UnaryRPC :call EventServiceServer 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 RegisterEventServiceHandlerFromEndpoint instead.
func RegisterEventServiceServer ¶
func RegisterEventServiceServer(s grpc.ServiceRegistrar, srv EventServiceServer)
Types ¶
type CreateEventRequest ¶
type CreateEventRequest struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Attributes *EventAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` Links *EventLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"` // contains filtered or unexported fields }
func (*CreateEventRequest) Descriptor
deprecated
func (*CreateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.
func (*CreateEventRequest) GetAttributes ¶
func (x *CreateEventRequest) GetAttributes() *EventAttributes
func (*CreateEventRequest) GetLinks ¶
func (x *CreateEventRequest) GetLinks() *EventLinks
func (*CreateEventRequest) GetTitle ¶
func (x *CreateEventRequest) GetTitle() string
func (*CreateEventRequest) ProtoMessage ¶
func (*CreateEventRequest) ProtoMessage()
func (*CreateEventRequest) ProtoReflect ¶
func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
func (*CreateEventRequest) Reset ¶
func (x *CreateEventRequest) Reset()
func (*CreateEventRequest) String ¶
func (x *CreateEventRequest) String() string
func (*CreateEventRequest) Validate ¶
func (m *CreateEventRequest) Validate() error
Validate checks the field values on CreateEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateEventRequest) ValidateAll ¶
func (m *CreateEventRequest) ValidateAll() error
ValidateAll checks the field values on CreateEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateEventRequestMultiError, or nil if none found.
type CreateEventRequestMultiError ¶
type CreateEventRequestMultiError []error
CreateEventRequestMultiError is an error wrapping multiple validation errors returned by CreateEventRequest.ValidateAll() if the designated constraints aren't met.
func (CreateEventRequestMultiError) AllErrors ¶
func (m CreateEventRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateEventRequestMultiError) Error ¶
func (m CreateEventRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateEventRequestValidationError ¶
type CreateEventRequestValidationError struct {
// contains filtered or unexported fields
}
CreateEventRequestValidationError is the validation error returned by CreateEventRequest.Validate if the designated constraints aren't met.
func (CreateEventRequestValidationError) Cause ¶
func (e CreateEventRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateEventRequestValidationError) Error ¶
func (e CreateEventRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEventRequestValidationError) ErrorName ¶
func (e CreateEventRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEventRequestValidationError) Field ¶
func (e CreateEventRequestValidationError) Field() string
Field function returns field value.
func (CreateEventRequestValidationError) Key ¶
func (e CreateEventRequestValidationError) Key() bool
Key function returns key value.
func (CreateEventRequestValidationError) Reason ¶
func (e CreateEventRequestValidationError) Reason() string
Reason function returns reason value.
type CreateEventResponse ¶
type CreateEventResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*CreateEventResponse) Descriptor
deprecated
func (*CreateEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventResponse.ProtoReflect.Descriptor instead.
func (*CreateEventResponse) GetEvent ¶
func (x *CreateEventResponse) GetEvent() *Event
func (*CreateEventResponse) ProtoMessage ¶
func (*CreateEventResponse) ProtoMessage()
func (*CreateEventResponse) ProtoReflect ¶
func (x *CreateEventResponse) ProtoReflect() protoreflect.Message
func (*CreateEventResponse) Reset ¶
func (x *CreateEventResponse) Reset()
func (*CreateEventResponse) String ¶
func (x *CreateEventResponse) String() string
func (*CreateEventResponse) Validate ¶
func (m *CreateEventResponse) Validate() error
Validate checks the field values on CreateEventResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateEventResponse) ValidateAll ¶
func (m *CreateEventResponse) ValidateAll() error
ValidateAll checks the field values on CreateEventResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateEventResponseMultiError, or nil if none found.
type CreateEventResponseMultiError ¶
type CreateEventResponseMultiError []error
CreateEventResponseMultiError is an error wrapping multiple validation errors returned by CreateEventResponse.ValidateAll() if the designated constraints aren't met.
func (CreateEventResponseMultiError) AllErrors ¶
func (m CreateEventResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateEventResponseMultiError) Error ¶
func (m CreateEventResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateEventResponseValidationError ¶
type CreateEventResponseValidationError struct {
// contains filtered or unexported fields
}
CreateEventResponseValidationError is the validation error returned by CreateEventResponse.Validate if the designated constraints aren't met.
func (CreateEventResponseValidationError) Cause ¶
func (e CreateEventResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateEventResponseValidationError) Error ¶
func (e CreateEventResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateEventResponseValidationError) ErrorName ¶
func (e CreateEventResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateEventResponseValidationError) Field ¶
func (e CreateEventResponseValidationError) Field() string
Field function returns field value.
func (CreateEventResponseValidationError) Key ¶
func (e CreateEventResponseValidationError) Key() bool
Key function returns key value.
func (CreateEventResponseValidationError) Reason ¶
func (e CreateEventResponseValidationError) Reason() string
Reason function returns reason value.
type Event ¶
type Event struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Attributes *EventAttributes `protobuf:"bytes,2,opt,name=attributes,proto3" json:"attributes,omitempty"` Links *EventLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"` Metadata *EventMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetAttributes ¶
func (x *Event) GetAttributes() *EventAttributes
func (*Event) GetLinks ¶
func (x *Event) GetLinks() *EventLinks
func (*Event) GetMetadata ¶
func (x *Event) GetMetadata() *EventMetadata
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) Validate ¶
Validate checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Event) ValidateAll ¶
ValidateAll checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventMultiError, or nil if none found.
type EventAttributes ¶
type EventAttributes struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=tracker.event.v1alpha1.Type" json:"type,omitempty"` Priority Priority `protobuf:"varint,4,opt,name=priority,proto3,enum=tracker.event.v1alpha1.Priority" json:"priority,omitempty"` RelatedId string `protobuf:"bytes,5,opt,name=related_id,json=relatedId,proto3" json:"related_id,omitempty"` Service string `protobuf:"bytes,6,opt,name=service,proto3" json:"service,omitempty"` Status Status `protobuf:"varint,7,opt,name=status,proto3,enum=tracker.event.v1alpha1.Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*EventAttributes) Descriptor
deprecated
func (*EventAttributes) Descriptor() ([]byte, []int)
Deprecated: Use EventAttributes.ProtoReflect.Descriptor instead.
func (*EventAttributes) GetMessage ¶
func (x *EventAttributes) GetMessage() string
func (*EventAttributes) GetPriority ¶
func (x *EventAttributes) GetPriority() Priority
func (*EventAttributes) GetRelatedId ¶
func (x *EventAttributes) GetRelatedId() string
func (*EventAttributes) GetService ¶
func (x *EventAttributes) GetService() string
func (*EventAttributes) GetSource ¶
func (x *EventAttributes) GetSource() string
func (*EventAttributes) GetStatus ¶
func (x *EventAttributes) GetStatus() Status
func (*EventAttributes) GetType ¶
func (x *EventAttributes) GetType() Type
func (*EventAttributes) ProtoMessage ¶
func (*EventAttributes) ProtoMessage()
func (*EventAttributes) ProtoReflect ¶
func (x *EventAttributes) ProtoReflect() protoreflect.Message
func (*EventAttributes) Reset ¶
func (x *EventAttributes) Reset()
func (*EventAttributes) String ¶
func (x *EventAttributes) String() string
func (*EventAttributes) Validate ¶
func (m *EventAttributes) Validate() error
Validate checks the field values on EventAttributes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EventAttributes) ValidateAll ¶
func (m *EventAttributes) ValidateAll() error
ValidateAll checks the field values on EventAttributes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventAttributesMultiError, or nil if none found.
type EventAttributesMultiError ¶
type EventAttributesMultiError []error
EventAttributesMultiError is an error wrapping multiple validation errors returned by EventAttributes.ValidateAll() if the designated constraints aren't met.
func (EventAttributesMultiError) AllErrors ¶
func (m EventAttributesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventAttributesMultiError) Error ¶
func (m EventAttributesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventAttributesValidationError ¶
type EventAttributesValidationError struct {
// contains filtered or unexported fields
}
EventAttributesValidationError is the validation error returned by EventAttributes.Validate if the designated constraints aren't met.
func (EventAttributesValidationError) Cause ¶
func (e EventAttributesValidationError) Cause() error
Cause function returns cause value.
func (EventAttributesValidationError) Error ¶
func (e EventAttributesValidationError) Error() string
Error satisfies the builtin error interface
func (EventAttributesValidationError) ErrorName ¶
func (e EventAttributesValidationError) ErrorName() string
ErrorName returns error name.
func (EventAttributesValidationError) Field ¶
func (e EventAttributesValidationError) Field() string
Field function returns field value.
func (EventAttributesValidationError) Key ¶
func (e EventAttributesValidationError) Key() bool
Key function returns key value.
func (EventAttributesValidationError) Reason ¶
func (e EventAttributesValidationError) Reason() string
Reason function returns reason value.
type EventLinks ¶
type EventLinks struct { PullRequestLink string `protobuf:"bytes,1,opt,name=pull_request_link,json=pullRequestLink,proto3" json:"pull_request_link,omitempty"` // contains filtered or unexported fields }
func (*EventLinks) Descriptor
deprecated
func (*EventLinks) Descriptor() ([]byte, []int)
Deprecated: Use EventLinks.ProtoReflect.Descriptor instead.
func (*EventLinks) GetPullRequestLink ¶
func (x *EventLinks) GetPullRequestLink() string
func (*EventLinks) ProtoMessage ¶
func (*EventLinks) ProtoMessage()
func (*EventLinks) ProtoReflect ¶
func (x *EventLinks) ProtoReflect() protoreflect.Message
func (*EventLinks) Reset ¶
func (x *EventLinks) Reset()
func (*EventLinks) String ¶
func (x *EventLinks) String() string
func (*EventLinks) Validate ¶
func (m *EventLinks) Validate() error
Validate checks the field values on EventLinks with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EventLinks) ValidateAll ¶
func (m *EventLinks) ValidateAll() error
ValidateAll checks the field values on EventLinks with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventLinksMultiError, or nil if none found.
type EventLinksMultiError ¶
type EventLinksMultiError []error
EventLinksMultiError is an error wrapping multiple validation errors returned by EventLinks.ValidateAll() if the designated constraints aren't met.
func (EventLinksMultiError) AllErrors ¶
func (m EventLinksMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventLinksMultiError) Error ¶
func (m EventLinksMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventLinksValidationError ¶
type EventLinksValidationError struct {
// contains filtered or unexported fields
}
EventLinksValidationError is the validation error returned by EventLinks.Validate if the designated constraints aren't met.
func (EventLinksValidationError) Cause ¶
func (e EventLinksValidationError) Cause() error
Cause function returns cause value.
func (EventLinksValidationError) Error ¶
func (e EventLinksValidationError) Error() string
Error satisfies the builtin error interface
func (EventLinksValidationError) ErrorName ¶
func (e EventLinksValidationError) ErrorName() string
ErrorName returns error name.
func (EventLinksValidationError) Field ¶
func (e EventLinksValidationError) Field() string
Field function returns field value.
func (EventLinksValidationError) Key ¶
func (e EventLinksValidationError) Key() bool
Key function returns key value.
func (EventLinksValidationError) Reason ¶
func (e EventLinksValidationError) Reason() string
Reason function returns reason value.
type EventMetadata ¶
type EventMetadata struct { CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*EventMetadata) Descriptor
deprecated
func (*EventMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) GetCreatedAt ¶
func (x *EventMetadata) GetCreatedAt() *timestamppb.Timestamp
func (*EventMetadata) GetDuration ¶
func (x *EventMetadata) GetDuration() *durationpb.Duration
func (*EventMetadata) GetId ¶
func (x *EventMetadata) GetId() string
func (*EventMetadata) ProtoMessage ¶
func (*EventMetadata) ProtoMessage()
func (*EventMetadata) ProtoReflect ¶
func (x *EventMetadata) ProtoReflect() protoreflect.Message
func (*EventMetadata) Reset ¶
func (x *EventMetadata) Reset()
func (*EventMetadata) String ¶
func (x *EventMetadata) String() string
func (*EventMetadata) Validate ¶
func (m *EventMetadata) Validate() error
Validate checks the field values on EventMetadata with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EventMetadata) ValidateAll ¶
func (m *EventMetadata) ValidateAll() error
ValidateAll checks the field values on EventMetadata with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventMetadataMultiError, or nil if none found.
type EventMetadataMultiError ¶
type EventMetadataMultiError []error
EventMetadataMultiError is an error wrapping multiple validation errors returned by EventMetadata.ValidateAll() if the designated constraints aren't met.
func (EventMetadataMultiError) AllErrors ¶
func (m EventMetadataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventMetadataMultiError) Error ¶
func (m EventMetadataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventMetadataValidationError ¶
type EventMetadataValidationError struct {
// contains filtered or unexported fields
}
EventMetadataValidationError is the validation error returned by EventMetadata.Validate if the designated constraints aren't met.
func (EventMetadataValidationError) Cause ¶
func (e EventMetadataValidationError) Cause() error
Cause function returns cause value.
func (EventMetadataValidationError) Error ¶
func (e EventMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (EventMetadataValidationError) ErrorName ¶
func (e EventMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (EventMetadataValidationError) Field ¶
func (e EventMetadataValidationError) Field() string
Field function returns field value.
func (EventMetadataValidationError) Key ¶
func (e EventMetadataValidationError) Key() bool
Key function returns key value.
func (EventMetadataValidationError) Reason ¶
func (e EventMetadataValidationError) Reason() string
Reason function returns reason value.
type EventMultiError ¶
type EventMultiError []error
EventMultiError is an error wrapping multiple validation errors returned by Event.ValidateAll() if the designated constraints aren't met.
func (EventMultiError) AllErrors ¶
func (m EventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventMultiError) Error ¶
func (m EventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventServiceClient ¶
type EventServiceClient interface { CreateEvent(ctx context.Context, in *CreateEventRequest, opts ...grpc.CallOption) (*CreateEventResponse, error) GetEvent(ctx context.Context, in *GetEventRequest, opts ...grpc.CallOption) (*GetEventResponse, error) SearchEvents(ctx context.Context, in *SearchEventsRequest, opts ...grpc.CallOption) (*SearchEventsResponse, error) ListEvents(ctx context.Context, in *ListEventsRequest, opts ...grpc.CallOption) (*ListEventsResponse, error) }
EventServiceClient is the client API for EventService 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 NewEventServiceClient ¶
func NewEventServiceClient(cc grpc.ClientConnInterface) EventServiceClient
type EventServiceServer ¶
type EventServiceServer interface { CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error) SearchEvents(context.Context, *SearchEventsRequest) (*SearchEventsResponse, error) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) // contains filtered or unexported methods }
EventServiceServer is the server API for EventService service. All implementations must embed UnimplementedEventServiceServer for forward compatibility
type EventValidationError ¶
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶
func (e EventValidationError) Reason() string
Reason function returns reason value.
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, the first error encountered is returned, or nil if there are no violations.
func (*GetEventRequest) ValidateAll ¶
func (m *GetEventRequest) ValidateAll() error
ValidateAll checks the field values on GetEventRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEventRequestMultiError, or nil if none found.
type GetEventRequestMultiError ¶
type GetEventRequestMultiError []error
GetEventRequestMultiError is an error wrapping multiple validation errors returned by GetEventRequest.ValidateAll() if the designated constraints aren't met.
func (GetEventRequestMultiError) AllErrors ¶
func (m GetEventRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEventRequestMultiError) Error ¶
func (m GetEventRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 `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
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, the first error encountered is returned, or nil if there are no violations.
func (*GetEventResponse) ValidateAll ¶
func (m *GetEventResponse) ValidateAll() error
ValidateAll checks the field values on GetEventResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetEventResponseMultiError, or nil if none found.
type GetEventResponseMultiError ¶
type GetEventResponseMultiError []error
GetEventResponseMultiError is an error wrapping multiple validation errors returned by GetEventResponse.ValidateAll() if the designated constraints aren't met.
func (GetEventResponseMultiError) AllErrors ¶
func (m GetEventResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetEventResponseMultiError) Error ¶
func (m GetEventResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 ListEventsRequest ¶
type ListEventsRequest struct { PerPage *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` Page *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListEventsRequest) Descriptor
deprecated
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetPage ¶
func (x *ListEventsRequest) GetPage() *wrapperspb.Int32Value
func (*ListEventsRequest) GetPerPage ¶
func (x *ListEventsRequest) GetPerPage() *wrapperspb.UInt32Value
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, the first error encountered is returned, or nil if there are no violations.
func (*ListEventsRequest) ValidateAll ¶
func (m *ListEventsRequest) ValidateAll() error
ValidateAll checks the field values on ListEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListEventsRequestMultiError, or nil if none found.
type ListEventsRequestMultiError ¶
type ListEventsRequestMultiError []error
ListEventsRequestMultiError is an error wrapping multiple validation errors returned by ListEventsRequest.ValidateAll() if the designated constraints aren't met.
func (ListEventsRequestMultiError) AllErrors ¶
func (m ListEventsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListEventsRequestMultiError) Error ¶
func (m ListEventsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 { Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` TotalCount uint32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*ListEventsResponse) Descriptor
deprecated
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetEvents ¶
func (x *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) GetTotalCount ¶
func (x *ListEventsResponse) GetTotalCount() uint32
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, the first error encountered is returned, or nil if there are no violations.
func (*ListEventsResponse) ValidateAll ¶
func (m *ListEventsResponse) ValidateAll() error
ValidateAll checks the field values on ListEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListEventsResponseMultiError, or nil if none found.
type ListEventsResponseMultiError ¶
type ListEventsResponseMultiError []error
ListEventsResponseMultiError is an error wrapping multiple validation errors returned by ListEventsResponse.ValidateAll() if the designated constraints aren't met.
func (ListEventsResponseMultiError) AllErrors ¶
func (m ListEventsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListEventsResponseMultiError) Error ¶
func (m ListEventsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 Priority ¶
type Priority int32
func (Priority) Descriptor ¶
func (Priority) Descriptor() protoreflect.EnumDescriptor
func (Priority) EnumDescriptor
deprecated
func (Priority) Number ¶
func (x Priority) Number() protoreflect.EnumNumber
func (Priority) Type ¶
func (Priority) Type() protoreflect.EnumType
type SearchEventsRequest ¶
type SearchEventsRequest struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Type Type `protobuf:"varint,2,opt,name=type,proto3,enum=tracker.event.v1alpha1.Type" json:"type,omitempty"` Priority Priority `protobuf:"varint,3,opt,name=priority,proto3,enum=tracker.event.v1alpha1.Priority" json:"priority,omitempty"` Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=tracker.event.v1alpha1.Status" json:"status,omitempty"` Service string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"` StartDate string `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate string `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // contains filtered or unexported fields }
func (*SearchEventsRequest) Descriptor
deprecated
func (*SearchEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchEventsRequest.ProtoReflect.Descriptor instead.
func (*SearchEventsRequest) GetEndDate ¶
func (x *SearchEventsRequest) GetEndDate() string
func (*SearchEventsRequest) GetPriority ¶
func (x *SearchEventsRequest) GetPriority() Priority
func (*SearchEventsRequest) GetService ¶
func (x *SearchEventsRequest) GetService() string
func (*SearchEventsRequest) GetSource ¶
func (x *SearchEventsRequest) GetSource() string
func (*SearchEventsRequest) GetStartDate ¶
func (x *SearchEventsRequest) GetStartDate() string
func (*SearchEventsRequest) GetStatus ¶
func (x *SearchEventsRequest) GetStatus() Status
func (*SearchEventsRequest) GetType ¶
func (x *SearchEventsRequest) GetType() Type
func (*SearchEventsRequest) ProtoMessage ¶
func (*SearchEventsRequest) ProtoMessage()
func (*SearchEventsRequest) ProtoReflect ¶
func (x *SearchEventsRequest) ProtoReflect() protoreflect.Message
func (*SearchEventsRequest) Reset ¶
func (x *SearchEventsRequest) Reset()
func (*SearchEventsRequest) String ¶
func (x *SearchEventsRequest) String() string
func (*SearchEventsRequest) Validate ¶
func (m *SearchEventsRequest) Validate() error
Validate checks the field values on SearchEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SearchEventsRequest) ValidateAll ¶
func (m *SearchEventsRequest) ValidateAll() error
ValidateAll checks the field values on SearchEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SearchEventsRequestMultiError, or nil if none found.
type SearchEventsRequestMultiError ¶
type SearchEventsRequestMultiError []error
SearchEventsRequestMultiError is an error wrapping multiple validation errors returned by SearchEventsRequest.ValidateAll() if the designated constraints aren't met.
func (SearchEventsRequestMultiError) AllErrors ¶
func (m SearchEventsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchEventsRequestMultiError) Error ¶
func (m SearchEventsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchEventsRequestValidationError ¶
type SearchEventsRequestValidationError struct {
// contains filtered or unexported fields
}
SearchEventsRequestValidationError is the validation error returned by SearchEventsRequest.Validate if the designated constraints aren't met.
func (SearchEventsRequestValidationError) Cause ¶
func (e SearchEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchEventsRequestValidationError) Error ¶
func (e SearchEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchEventsRequestValidationError) ErrorName ¶
func (e SearchEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchEventsRequestValidationError) Field ¶
func (e SearchEventsRequestValidationError) Field() string
Field function returns field value.
func (SearchEventsRequestValidationError) Key ¶
func (e SearchEventsRequestValidationError) Key() bool
Key function returns key value.
func (SearchEventsRequestValidationError) Reason ¶
func (e SearchEventsRequestValidationError) Reason() string
Reason function returns reason value.
type SearchEventsResponse ¶
type SearchEventsResponse struct { Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` TotalCount uint32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` // contains filtered or unexported fields }
func (*SearchEventsResponse) Descriptor
deprecated
func (*SearchEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchEventsResponse.ProtoReflect.Descriptor instead.
func (*SearchEventsResponse) GetEvents ¶
func (x *SearchEventsResponse) GetEvents() []*Event
func (*SearchEventsResponse) GetTotalCount ¶
func (x *SearchEventsResponse) GetTotalCount() uint32
func (*SearchEventsResponse) ProtoMessage ¶
func (*SearchEventsResponse) ProtoMessage()
func (*SearchEventsResponse) ProtoReflect ¶
func (x *SearchEventsResponse) ProtoReflect() protoreflect.Message
func (*SearchEventsResponse) Reset ¶
func (x *SearchEventsResponse) Reset()
func (*SearchEventsResponse) String ¶
func (x *SearchEventsResponse) String() string
func (*SearchEventsResponse) Validate ¶
func (m *SearchEventsResponse) Validate() error
Validate checks the field values on SearchEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SearchEventsResponse) ValidateAll ¶
func (m *SearchEventsResponse) ValidateAll() error
ValidateAll checks the field values on SearchEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SearchEventsResponseMultiError, or nil if none found.
type SearchEventsResponseMultiError ¶
type SearchEventsResponseMultiError []error
SearchEventsResponseMultiError is an error wrapping multiple validation errors returned by SearchEventsResponse.ValidateAll() if the designated constraints aren't met.
func (SearchEventsResponseMultiError) AllErrors ¶
func (m SearchEventsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchEventsResponseMultiError) Error ¶
func (m SearchEventsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchEventsResponseValidationError ¶
type SearchEventsResponseValidationError struct {
// contains filtered or unexported fields
}
SearchEventsResponseValidationError is the validation error returned by SearchEventsResponse.Validate if the designated constraints aren't met.
func (SearchEventsResponseValidationError) Cause ¶
func (e SearchEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (SearchEventsResponseValidationError) Error ¶
func (e SearchEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SearchEventsResponseValidationError) ErrorName ¶
func (e SearchEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SearchEventsResponseValidationError) Field ¶
func (e SearchEventsResponseValidationError) Field() string
Field function returns field value.
func (SearchEventsResponseValidationError) Key ¶
func (e SearchEventsResponseValidationError) Key() bool
Key function returns key value.
func (SearchEventsResponseValidationError) Reason ¶
func (e SearchEventsResponseValidationError) Reason() string
Reason function returns reason value.
type Status ¶
type Status int32
func (Status) Descriptor ¶
func (Status) Descriptor() protoreflect.EnumDescriptor
func (Status) EnumDescriptor
deprecated
func (Status) Number ¶
func (x Status) Number() protoreflect.EnumNumber
func (Status) Type ¶
func (Status) Type() protoreflect.EnumType
type Type ¶
type Type int32
func (Type) Descriptor ¶
func (Type) Descriptor() protoreflect.EnumDescriptor
func (Type) EnumDescriptor
deprecated
func (Type) Number ¶
func (x Type) Number() protoreflect.EnumNumber
func (Type) Type ¶
func (Type) Type() protoreflect.EnumType
type UnimplementedEventServiceServer ¶
type UnimplementedEventServiceServer struct { }
UnimplementedEventServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedEventServiceServer) CreateEvent ¶
func (UnimplementedEventServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
func (UnimplementedEventServiceServer) GetEvent ¶
func (UnimplementedEventServiceServer) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error)
func (UnimplementedEventServiceServer) ListEvents ¶
func (UnimplementedEventServiceServer) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
func (UnimplementedEventServiceServer) SearchEvents ¶
func (UnimplementedEventServiceServer) SearchEvents(context.Context, *SearchEventsRequest) (*SearchEventsResponse, error)
type UnsafeEventServiceServer ¶
type UnsafeEventServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEventServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventServiceServer will result in compilation errors.