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) GetSlackId() string
- 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 DeleteEventRequest
- func (*DeleteEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEventRequest) GetId() string
- func (x *DeleteEventRequest) GetSlackId() string
- func (*DeleteEventRequest) ProtoMessage()
- func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEventRequest) Reset()
- func (x *DeleteEventRequest) String() string
- func (m *DeleteEventRequest) Validate() error
- func (m *DeleteEventRequest) ValidateAll() error
- type DeleteEventRequestMultiError
- type DeleteEventRequestValidationError
- func (e DeleteEventRequestValidationError) Cause() error
- func (e DeleteEventRequestValidationError) Error() string
- func (e DeleteEventRequestValidationError) ErrorName() string
- func (e DeleteEventRequestValidationError) Field() string
- func (e DeleteEventRequestValidationError) Key() bool
- func (e DeleteEventRequestValidationError) Reason() string
- type DeleteEventResponse
- func (*DeleteEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEventResponse) GetId() string
- func (x *DeleteEventResponse) GetSlackId() string
- func (*DeleteEventResponse) ProtoMessage()
- func (x *DeleteEventResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteEventResponse) Reset()
- func (x *DeleteEventResponse) String() string
- func (m *DeleteEventResponse) Validate() error
- func (m *DeleteEventResponse) ValidateAll() error
- type DeleteEventResponseMultiError
- type DeleteEventResponseValidationError
- func (e DeleteEventResponseValidationError) Cause() error
- func (e DeleteEventResponseValidationError) Error() string
- func (e DeleteEventResponseValidationError) ErrorName() string
- func (e DeleteEventResponseValidationError) Field() string
- func (e DeleteEventResponseValidationError) Key() bool
- func (e DeleteEventResponseValidationError) Reason() string
- type Environment
- func (Environment) Descriptor() protoreflect.EnumDescriptor
- func (x Environment) Enum() *Environment
- func (Environment) EnumDescriptor() ([]byte, []int)deprecated
- func (x Environment) Number() protoreflect.EnumNumber
- func (x Environment) String() string
- func (Environment) Type() protoreflect.EnumType
- 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) GetEndDate() *timestamppb.Timestamp
- func (x *EventAttributes) GetEnvironment() Environment
- func (x *EventAttributes) GetImpact() bool
- func (x *EventAttributes) GetMessage() string
- func (x *EventAttributes) GetNotification() bool
- func (x *EventAttributes) GetOwner() string
- func (x *EventAttributes) GetPriority() Priority
- func (x *EventAttributes) GetRelatedId() string
- func (x *EventAttributes) GetService() string
- func (x *EventAttributes) GetSource() string
- func (x *EventAttributes) GetStackHolders() []string
- func (x *EventAttributes) GetStartDate() *timestamppb.Timestamp
- 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 (x *EventLinks) GetTicket() 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 (x *EventMetadata) GetSlackId() 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) GetEnvironment() Environment
- func (x *SearchEventsRequest) GetImpact() bool
- func (x *SearchEventsRequest) GetPriority() Priority
- func (x *SearchEventsRequest) GetService() string
- func (x *SearchEventsRequest) GetSlackId() 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 TodayEventsRequest
- func (*TodayEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TodayEventsRequest) GetPage() *wrapperspb.Int32Value
- func (x *TodayEventsRequest) GetPerPage() *wrapperspb.UInt32Value
- func (*TodayEventsRequest) ProtoMessage()
- func (x *TodayEventsRequest) ProtoReflect() protoreflect.Message
- func (x *TodayEventsRequest) Reset()
- func (x *TodayEventsRequest) String() string
- func (m *TodayEventsRequest) Validate() error
- func (m *TodayEventsRequest) ValidateAll() error
- type TodayEventsRequestMultiError
- type TodayEventsRequestValidationError
- func (e TodayEventsRequestValidationError) Cause() error
- func (e TodayEventsRequestValidationError) Error() string
- func (e TodayEventsRequestValidationError) ErrorName() string
- func (e TodayEventsRequestValidationError) Field() string
- func (e TodayEventsRequestValidationError) Key() bool
- func (e TodayEventsRequestValidationError) Reason() string
- type TodayEventsResponse
- func (*TodayEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TodayEventsResponse) GetEvents() []*Event
- func (x *TodayEventsResponse) GetTotalCount() uint32
- func (*TodayEventsResponse) ProtoMessage()
- func (x *TodayEventsResponse) ProtoReflect() protoreflect.Message
- func (x *TodayEventsResponse) Reset()
- func (x *TodayEventsResponse) String() string
- func (m *TodayEventsResponse) Validate() error
- func (m *TodayEventsResponse) ValidateAll() error
- type TodayEventsResponseMultiError
- type TodayEventsResponseValidationError
- func (e TodayEventsResponseValidationError) Cause() error
- func (e TodayEventsResponseValidationError) Error() string
- func (e TodayEventsResponseValidationError) ErrorName() string
- func (e TodayEventsResponseValidationError) Field() string
- func (e TodayEventsResponseValidationError) Key() bool
- func (e TodayEventsResponseValidationError) Reason() string
- type Type
- type UnimplementedEventServiceServer
- func (UnimplementedEventServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
- func (UnimplementedEventServiceServer) DeleteEvents(context.Context, *DeleteEventRequest) (*DeleteEventResponse, 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)
- func (UnimplementedEventServiceServer) TodayEvents(context.Context, *TodayEventsRequest) (*TodayEventsResponse, error)
- func (UnimplementedEventServiceServer) UpdateEvent(context.Context, *UpdateEventRequest) (*UpdateEventResponse, error)
- type UnsafeEventServiceServer
- type UpdateEventRequest
- func (*UpdateEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventRequest) GetAttributes() *EventAttributes
- func (x *UpdateEventRequest) GetLinks() *EventLinks
- func (x *UpdateEventRequest) GetSlackId() string
- func (x *UpdateEventRequest) GetTitle() string
- func (*UpdateEventRequest) ProtoMessage()
- func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventRequest) Reset()
- func (x *UpdateEventRequest) String() string
- func (m *UpdateEventRequest) Validate() error
- func (m *UpdateEventRequest) ValidateAll() error
- type UpdateEventRequestMultiError
- type UpdateEventRequestValidationError
- func (e UpdateEventRequestValidationError) Cause() error
- func (e UpdateEventRequestValidationError) Error() string
- func (e UpdateEventRequestValidationError) ErrorName() string
- func (e UpdateEventRequestValidationError) Field() string
- func (e UpdateEventRequestValidationError) Key() bool
- func (e UpdateEventRequestValidationError) Reason() string
- type UpdateEventResponse
- func (*UpdateEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventResponse) GetEvent() *Event
- func (*UpdateEventResponse) ProtoMessage()
- func (x *UpdateEventResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEventResponse) Reset()
- func (x *UpdateEventResponse) String() string
- func (m *UpdateEventResponse) Validate() error
- func (m *UpdateEventResponse) ValidateAll() error
- type UpdateEventResponseMultiError
- type UpdateEventResponseValidationError
- func (e UpdateEventResponseValidationError) Cause() error
- func (e UpdateEventResponseValidationError) Error() string
- func (e UpdateEventResponseValidationError) ErrorName() string
- func (e UpdateEventResponseValidationError) Field() string
- func (e UpdateEventResponseValidationError) Key() bool
- func (e UpdateEventResponseValidationError) Reason() string
Constants ¶
const ( EventService_CreateEvent_FullMethodName = "/tracker.event.v1alpha1.EventService/CreateEvent" EventService_UpdateEvent_FullMethodName = "/tracker.event.v1alpha1.EventService/UpdateEvent" EventService_DeleteEvents_FullMethodName = "/tracker.event.v1alpha1.EventService/DeleteEvents" EventService_GetEvent_FullMethodName = "/tracker.event.v1alpha1.EventService/GetEvent" EventService_SearchEvents_FullMethodName = "/tracker.event.v1alpha1.EventService/SearchEvents" EventService_ListEvents_FullMethodName = "/tracker.event.v1alpha1.EventService/ListEvents" EventService_TodayEvents_FullMethodName = "/tracker.event.v1alpha1.EventService/TodayEvents" )
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", 2: "P2", 3: "P3", 4: "P4", } Priority_value = map[string]int32{ "PRIORITY_UNSPECIFIED": 0, "P1": 1, "P2": 2, "P3": 3, "P4": 4, } )
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 ( Environment_name = map[int32]string{ 0: "ENVIRONMENT_UNSPECIFIED", 1: "development", 2: "integration", 3: "TNR", 4: "UAT", 5: "recette", 6: "preproduction", 7: "production", 8: "mco", } Environment_value = map[string]int32{ "ENVIRONMENT_UNSPECIFIED": 0, "development": 1, "integration": 2, "TNR": 3, "UAT": 4, "recette": 5, "preproduction": 6, "production": 7, "mco": 8, } )
Enum value maps for Environment.
var EventService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tracker.event.v1alpha1.EventService", HandlerType: (*EventServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEvent", Handler: _EventService_CreateEvent_Handler, }, { MethodName: "UpdateEvent", Handler: _EventService_UpdateEvent_Handler, }, { MethodName: "DeleteEvents", Handler: _EventService_DeleteEvents_Handler, }, { MethodName: "GetEvent", Handler: _EventService_GetEvent_Handler, }, { MethodName: "SearchEvents", Handler: _EventService_SearchEvents_Handler, }, { MethodName: "ListEvents", Handler: _EventService_ListEvents_Handler, }, { MethodName: "TodayEvents", Handler: _EventService_TodayEvents_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. This client ignores the HTTP middlewares.
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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
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"` SlackId string `protobuf:"bytes,4,opt,name=slack_id,json=slackId,proto3" json:"slack_id,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) GetSlackId ¶ added in v0.3.0
func (x *CreateEventRequest) GetSlackId() string
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 DeleteEventRequest ¶ added in v0.3.0
type DeleteEventRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SlackId string `protobuf:"bytes,2,opt,name=slack_id,json=slackId,proto3" json:"slack_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteEventRequest) Descriptor
deprecated
added in
v0.3.0
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventRequest) GetId ¶ added in v0.3.0
func (x *DeleteEventRequest) GetId() string
func (*DeleteEventRequest) GetSlackId ¶ added in v0.3.0
func (x *DeleteEventRequest) GetSlackId() string
func (*DeleteEventRequest) ProtoMessage ¶ added in v0.3.0
func (*DeleteEventRequest) ProtoMessage()
func (*DeleteEventRequest) ProtoReflect ¶ added in v0.3.0
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
func (*DeleteEventRequest) Reset ¶ added in v0.3.0
func (x *DeleteEventRequest) Reset()
func (*DeleteEventRequest) String ¶ added in v0.3.0
func (x *DeleteEventRequest) String() string
func (*DeleteEventRequest) Validate ¶ added in v0.3.0
func (m *DeleteEventRequest) Validate() error
Validate checks the field values on DeleteEventRequest 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 (*DeleteEventRequest) ValidateAll ¶ added in v0.3.0
func (m *DeleteEventRequest) ValidateAll() error
ValidateAll checks the field values on DeleteEventRequest 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 DeleteEventRequestMultiError, or nil if none found.
type DeleteEventRequestMultiError ¶ added in v0.3.0
type DeleteEventRequestMultiError []error
DeleteEventRequestMultiError is an error wrapping multiple validation errors returned by DeleteEventRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteEventRequestMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteEventRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteEventRequestMultiError) Error ¶ added in v0.3.0
func (m DeleteEventRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteEventRequestValidationError ¶ added in v0.3.0
type DeleteEventRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteEventRequestValidationError is the validation error returned by DeleteEventRequest.Validate if the designated constraints aren't met.
func (DeleteEventRequestValidationError) Cause ¶ added in v0.3.0
func (e DeleteEventRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteEventRequestValidationError) Error ¶ added in v0.3.0
func (e DeleteEventRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEventRequestValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteEventRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEventRequestValidationError) Field ¶ added in v0.3.0
func (e DeleteEventRequestValidationError) Field() string
Field function returns field value.
func (DeleteEventRequestValidationError) Key ¶ added in v0.3.0
func (e DeleteEventRequestValidationError) Key() bool
Key function returns key value.
func (DeleteEventRequestValidationError) Reason ¶ added in v0.3.0
func (e DeleteEventRequestValidationError) Reason() string
Reason function returns reason value.
type DeleteEventResponse ¶ added in v0.3.0
type DeleteEventResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SlackId string `protobuf:"bytes,2,opt,name=slack_id,json=slackId,proto3" json:"slack_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteEventResponse) Descriptor
deprecated
added in
v0.3.0
func (*DeleteEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventResponse.ProtoReflect.Descriptor instead.
func (*DeleteEventResponse) GetId ¶ added in v0.3.0
func (x *DeleteEventResponse) GetId() string
func (*DeleteEventResponse) GetSlackId ¶ added in v0.3.0
func (x *DeleteEventResponse) GetSlackId() string
func (*DeleteEventResponse) ProtoMessage ¶ added in v0.3.0
func (*DeleteEventResponse) ProtoMessage()
func (*DeleteEventResponse) ProtoReflect ¶ added in v0.3.0
func (x *DeleteEventResponse) ProtoReflect() protoreflect.Message
func (*DeleteEventResponse) Reset ¶ added in v0.3.0
func (x *DeleteEventResponse) Reset()
func (*DeleteEventResponse) String ¶ added in v0.3.0
func (x *DeleteEventResponse) String() string
func (*DeleteEventResponse) Validate ¶ added in v0.3.0
func (m *DeleteEventResponse) Validate() error
Validate checks the field values on DeleteEventResponse 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 (*DeleteEventResponse) ValidateAll ¶ added in v0.3.0
func (m *DeleteEventResponse) ValidateAll() error
ValidateAll checks the field values on DeleteEventResponse 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 DeleteEventResponseMultiError, or nil if none found.
type DeleteEventResponseMultiError ¶ added in v0.3.0
type DeleteEventResponseMultiError []error
DeleteEventResponseMultiError is an error wrapping multiple validation errors returned by DeleteEventResponse.ValidateAll() if the designated constraints aren't met.
func (DeleteEventResponseMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteEventResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteEventResponseMultiError) Error ¶ added in v0.3.0
func (m DeleteEventResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteEventResponseValidationError ¶ added in v0.3.0
type DeleteEventResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteEventResponseValidationError is the validation error returned by DeleteEventResponse.Validate if the designated constraints aren't met.
func (DeleteEventResponseValidationError) Cause ¶ added in v0.3.0
func (e DeleteEventResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteEventResponseValidationError) Error ¶ added in v0.3.0
func (e DeleteEventResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteEventResponseValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteEventResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteEventResponseValidationError) Field ¶ added in v0.3.0
func (e DeleteEventResponseValidationError) Field() string
Field function returns field value.
func (DeleteEventResponseValidationError) Key ¶ added in v0.3.0
func (e DeleteEventResponseValidationError) Key() bool
Key function returns key value.
func (DeleteEventResponseValidationError) Reason ¶ added in v0.3.0
func (e DeleteEventResponseValidationError) Reason() string
Reason function returns reason value.
type Environment ¶
type Environment int32
const ( Environment_ENVIRONMENT_UNSPECIFIED Environment = 0 Environment_development Environment = 1 Environment_integration Environment = 2 Environment_TNR Environment = 3 Environment_UAT Environment = 4 Environment_recette Environment = 5 Environment_preproduction Environment = 6 Environment_production Environment = 7 Environment_mco Environment = 8 )
func (Environment) Descriptor ¶
func (Environment) Descriptor() protoreflect.EnumDescriptor
func (Environment) Enum ¶
func (x Environment) Enum() *Environment
func (Environment) EnumDescriptor
deprecated
func (Environment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment.Descriptor instead.
func (Environment) Number ¶
func (x Environment) Number() protoreflect.EnumNumber
func (Environment) String ¶
func (x Environment) String() string
func (Environment) Type ¶
func (Environment) Type() protoreflect.EnumType
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"` Environment Environment `protobuf:"varint,8,opt,name=environment,proto3,enum=tracker.event.v1alpha1.Environment" json:"environment,omitempty"` Impact bool `protobuf:"varint,9,opt,name=impact,proto3" json:"impact,omitempty"` StartDate *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` Owner string `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"` StackHolders []string `protobuf:"bytes,13,rep,name=stackHolders,proto3" json:"stackHolders,omitempty"` Notification bool `protobuf:"varint,14,opt,name=notification,proto3" json:"notification,omitempty"` // contains filtered or unexported fields }
func (*EventAttributes) Descriptor
deprecated
func (*EventAttributes) Descriptor() ([]byte, []int)
Deprecated: Use EventAttributes.ProtoReflect.Descriptor instead.
func (*EventAttributes) GetEndDate ¶
func (x *EventAttributes) GetEndDate() *timestamppb.Timestamp
func (*EventAttributes) GetEnvironment ¶
func (x *EventAttributes) GetEnvironment() Environment
func (*EventAttributes) GetImpact ¶
func (x *EventAttributes) GetImpact() bool
func (*EventAttributes) GetMessage ¶
func (x *EventAttributes) GetMessage() string
func (*EventAttributes) GetNotification ¶ added in v0.3.0
func (x *EventAttributes) GetNotification() bool
func (*EventAttributes) GetOwner ¶
func (x *EventAttributes) GetOwner() 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) GetStackHolders ¶ added in v0.3.0
func (x *EventAttributes) GetStackHolders() []string
func (*EventAttributes) GetStartDate ¶
func (x *EventAttributes) GetStartDate() *timestamppb.Timestamp
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"` Ticket string `protobuf:"bytes,2,opt,name=ticket,proto3" json:"ticket,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) GetTicket ¶
func (x *EventLinks) GetTicket() 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"` SlackId string `protobuf:"bytes,4,opt,name=slack_id,json=slackId,proto3" json:"slack_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) GetSlackId ¶ added in v0.3.0
func (x *EventMetadata) GetSlackId() 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) UpdateEvent(ctx context.Context, in *UpdateEventRequest, opts ...grpc.CallOption) (*UpdateEventResponse, error) DeleteEvents(ctx context.Context, in *DeleteEventRequest, opts ...grpc.CallOption) (*DeleteEventResponse, 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) TodayEvents(ctx context.Context, in *TodayEventsRequest, opts ...grpc.CallOption) (*TodayEventsResponse, 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) UpdateEvent(context.Context, *UpdateEventRequest) (*UpdateEventResponse, error) DeleteEvents(context.Context, *DeleteEventRequest) (*DeleteEventResponse, error) GetEvent(context.Context, *GetEventRequest) (*GetEventResponse, error) SearchEvents(context.Context, *SearchEventsRequest) (*SearchEventsResponse, error) ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error) TodayEvents(context.Context, *TodayEventsRequest) (*TodayEventsResponse, 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"` Environment Environment `protobuf:"varint,8,opt,name=environment,proto3,enum=tracker.event.v1alpha1.Environment" json:"environment,omitempty"` Impact bool `protobuf:"varint,9,opt,name=impact,proto3" json:"impact,omitempty"` SlackId string `protobuf:"bytes,10,opt,name=slack_id,json=slackId,proto3" json:"slack_id,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) GetEnvironment ¶
func (x *SearchEventsRequest) GetEnvironment() Environment
func (*SearchEventsRequest) GetImpact ¶
func (x *SearchEventsRequest) GetImpact() bool
func (*SearchEventsRequest) GetPriority ¶
func (x *SearchEventsRequest) GetPriority() Priority
func (*SearchEventsRequest) GetService ¶
func (x *SearchEventsRequest) GetService() string
func (*SearchEventsRequest) GetSlackId ¶ added in v0.3.0
func (x *SearchEventsRequest) GetSlackId() 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 TodayEventsRequest ¶ added in v0.5.0
type TodayEventsRequest 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 (*TodayEventsRequest) Descriptor
deprecated
added in
v0.5.0
func (*TodayEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use TodayEventsRequest.ProtoReflect.Descriptor instead.
func (*TodayEventsRequest) GetPage ¶ added in v0.5.0
func (x *TodayEventsRequest) GetPage() *wrapperspb.Int32Value
func (*TodayEventsRequest) GetPerPage ¶ added in v0.5.0
func (x *TodayEventsRequest) GetPerPage() *wrapperspb.UInt32Value
func (*TodayEventsRequest) ProtoMessage ¶ added in v0.5.0
func (*TodayEventsRequest) ProtoMessage()
func (*TodayEventsRequest) ProtoReflect ¶ added in v0.5.0
func (x *TodayEventsRequest) ProtoReflect() protoreflect.Message
func (*TodayEventsRequest) Reset ¶ added in v0.5.0
func (x *TodayEventsRequest) Reset()
func (*TodayEventsRequest) String ¶ added in v0.5.0
func (x *TodayEventsRequest) String() string
func (*TodayEventsRequest) Validate ¶ added in v0.5.0
func (m *TodayEventsRequest) Validate() error
Validate checks the field values on TodayEventsRequest 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 (*TodayEventsRequest) ValidateAll ¶ added in v0.5.0
func (m *TodayEventsRequest) ValidateAll() error
ValidateAll checks the field values on TodayEventsRequest 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 TodayEventsRequestMultiError, or nil if none found.
type TodayEventsRequestMultiError ¶ added in v0.5.0
type TodayEventsRequestMultiError []error
TodayEventsRequestMultiError is an error wrapping multiple validation errors returned by TodayEventsRequest.ValidateAll() if the designated constraints aren't met.
func (TodayEventsRequestMultiError) AllErrors ¶ added in v0.5.0
func (m TodayEventsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TodayEventsRequestMultiError) Error ¶ added in v0.5.0
func (m TodayEventsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TodayEventsRequestValidationError ¶ added in v0.5.0
type TodayEventsRequestValidationError struct {
// contains filtered or unexported fields
}
TodayEventsRequestValidationError is the validation error returned by TodayEventsRequest.Validate if the designated constraints aren't met.
func (TodayEventsRequestValidationError) Cause ¶ added in v0.5.0
func (e TodayEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (TodayEventsRequestValidationError) Error ¶ added in v0.5.0
func (e TodayEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TodayEventsRequestValidationError) ErrorName ¶ added in v0.5.0
func (e TodayEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TodayEventsRequestValidationError) Field ¶ added in v0.5.0
func (e TodayEventsRequestValidationError) Field() string
Field function returns field value.
func (TodayEventsRequestValidationError) Key ¶ added in v0.5.0
func (e TodayEventsRequestValidationError) Key() bool
Key function returns key value.
func (TodayEventsRequestValidationError) Reason ¶ added in v0.5.0
func (e TodayEventsRequestValidationError) Reason() string
Reason function returns reason value.
type TodayEventsResponse ¶ added in v0.5.0
type TodayEventsResponse 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 (*TodayEventsResponse) Descriptor
deprecated
added in
v0.5.0
func (*TodayEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use TodayEventsResponse.ProtoReflect.Descriptor instead.
func (*TodayEventsResponse) GetEvents ¶ added in v0.5.0
func (x *TodayEventsResponse) GetEvents() []*Event
func (*TodayEventsResponse) GetTotalCount ¶ added in v0.5.0
func (x *TodayEventsResponse) GetTotalCount() uint32
func (*TodayEventsResponse) ProtoMessage ¶ added in v0.5.0
func (*TodayEventsResponse) ProtoMessage()
func (*TodayEventsResponse) ProtoReflect ¶ added in v0.5.0
func (x *TodayEventsResponse) ProtoReflect() protoreflect.Message
func (*TodayEventsResponse) Reset ¶ added in v0.5.0
func (x *TodayEventsResponse) Reset()
func (*TodayEventsResponse) String ¶ added in v0.5.0
func (x *TodayEventsResponse) String() string
func (*TodayEventsResponse) Validate ¶ added in v0.5.0
func (m *TodayEventsResponse) Validate() error
Validate checks the field values on TodayEventsResponse 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 (*TodayEventsResponse) ValidateAll ¶ added in v0.5.0
func (m *TodayEventsResponse) ValidateAll() error
ValidateAll checks the field values on TodayEventsResponse 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 TodayEventsResponseMultiError, or nil if none found.
type TodayEventsResponseMultiError ¶ added in v0.5.0
type TodayEventsResponseMultiError []error
TodayEventsResponseMultiError is an error wrapping multiple validation errors returned by TodayEventsResponse.ValidateAll() if the designated constraints aren't met.
func (TodayEventsResponseMultiError) AllErrors ¶ added in v0.5.0
func (m TodayEventsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TodayEventsResponseMultiError) Error ¶ added in v0.5.0
func (m TodayEventsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TodayEventsResponseValidationError ¶ added in v0.5.0
type TodayEventsResponseValidationError struct {
// contains filtered or unexported fields
}
TodayEventsResponseValidationError is the validation error returned by TodayEventsResponse.Validate if the designated constraints aren't met.
func (TodayEventsResponseValidationError) Cause ¶ added in v0.5.0
func (e TodayEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (TodayEventsResponseValidationError) Error ¶ added in v0.5.0
func (e TodayEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (TodayEventsResponseValidationError) ErrorName ¶ added in v0.5.0
func (e TodayEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (TodayEventsResponseValidationError) Field ¶ added in v0.5.0
func (e TodayEventsResponseValidationError) Field() string
Field function returns field value.
func (TodayEventsResponseValidationError) Key ¶ added in v0.5.0
func (e TodayEventsResponseValidationError) Key() bool
Key function returns key value.
func (TodayEventsResponseValidationError) Reason ¶ added in v0.5.0
func (e TodayEventsResponseValidationError) Reason() string
Reason function returns reason value.
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedEventServiceServer) CreateEvent ¶
func (UnimplementedEventServiceServer) CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
func (UnimplementedEventServiceServer) DeleteEvents ¶ added in v0.3.0
func (UnimplementedEventServiceServer) DeleteEvents(context.Context, *DeleteEventRequest) (*DeleteEventResponse, 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)
func (UnimplementedEventServiceServer) TodayEvents ¶ added in v0.5.0
func (UnimplementedEventServiceServer) TodayEvents(context.Context, *TodayEventsRequest) (*TodayEventsResponse, error)
func (UnimplementedEventServiceServer) UpdateEvent ¶ added in v0.3.0
func (UnimplementedEventServiceServer) UpdateEvent(context.Context, *UpdateEventRequest) (*UpdateEventResponse, 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.
type UpdateEventRequest ¶ added in v0.3.0
type UpdateEventRequest 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"` SlackId string `protobuf:"bytes,4,opt,name=slack_id,json=slackId,proto3" json:"slack_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateEventRequest) Descriptor
deprecated
added in
v0.3.0
func (*UpdateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventRequest) GetAttributes ¶ added in v0.3.0
func (x *UpdateEventRequest) GetAttributes() *EventAttributes
func (*UpdateEventRequest) GetLinks ¶ added in v0.3.0
func (x *UpdateEventRequest) GetLinks() *EventLinks
func (*UpdateEventRequest) GetSlackId ¶ added in v0.3.0
func (x *UpdateEventRequest) GetSlackId() string
func (*UpdateEventRequest) GetTitle ¶ added in v0.3.0
func (x *UpdateEventRequest) GetTitle() string
func (*UpdateEventRequest) ProtoMessage ¶ added in v0.3.0
func (*UpdateEventRequest) ProtoMessage()
func (*UpdateEventRequest) ProtoReflect ¶ added in v0.3.0
func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventRequest) Reset ¶ added in v0.3.0
func (x *UpdateEventRequest) Reset()
func (*UpdateEventRequest) String ¶ added in v0.3.0
func (x *UpdateEventRequest) String() string
func (*UpdateEventRequest) Validate ¶ added in v0.3.0
func (m *UpdateEventRequest) Validate() error
Validate checks the field values on UpdateEventRequest 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 (*UpdateEventRequest) ValidateAll ¶ added in v0.3.0
func (m *UpdateEventRequest) ValidateAll() error
ValidateAll checks the field values on UpdateEventRequest 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 UpdateEventRequestMultiError, or nil if none found.
type UpdateEventRequestMultiError ¶ added in v0.3.0
type UpdateEventRequestMultiError []error
UpdateEventRequestMultiError is an error wrapping multiple validation errors returned by UpdateEventRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateEventRequestMultiError) AllErrors ¶ added in v0.3.0
func (m UpdateEventRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateEventRequestMultiError) Error ¶ added in v0.3.0
func (m UpdateEventRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateEventRequestValidationError ¶ added in v0.3.0
type UpdateEventRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateEventRequestValidationError is the validation error returned by UpdateEventRequest.Validate if the designated constraints aren't met.
func (UpdateEventRequestValidationError) Cause ¶ added in v0.3.0
func (e UpdateEventRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateEventRequestValidationError) Error ¶ added in v0.3.0
func (e UpdateEventRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEventRequestValidationError) ErrorName ¶ added in v0.3.0
func (e UpdateEventRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEventRequestValidationError) Field ¶ added in v0.3.0
func (e UpdateEventRequestValidationError) Field() string
Field function returns field value.
func (UpdateEventRequestValidationError) Key ¶ added in v0.3.0
func (e UpdateEventRequestValidationError) Key() bool
Key function returns key value.
func (UpdateEventRequestValidationError) Reason ¶ added in v0.3.0
func (e UpdateEventRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateEventResponse ¶ added in v0.3.0
type UpdateEventResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*UpdateEventResponse) Descriptor
deprecated
added in
v0.3.0
func (*UpdateEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventResponse.ProtoReflect.Descriptor instead.
func (*UpdateEventResponse) GetEvent ¶ added in v0.3.0
func (x *UpdateEventResponse) GetEvent() *Event
func (*UpdateEventResponse) ProtoMessage ¶ added in v0.3.0
func (*UpdateEventResponse) ProtoMessage()
func (*UpdateEventResponse) ProtoReflect ¶ added in v0.3.0
func (x *UpdateEventResponse) ProtoReflect() protoreflect.Message
func (*UpdateEventResponse) Reset ¶ added in v0.3.0
func (x *UpdateEventResponse) Reset()
func (*UpdateEventResponse) String ¶ added in v0.3.0
func (x *UpdateEventResponse) String() string
func (*UpdateEventResponse) Validate ¶ added in v0.3.0
func (m *UpdateEventResponse) Validate() error
Validate checks the field values on UpdateEventResponse 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 (*UpdateEventResponse) ValidateAll ¶ added in v0.3.0
func (m *UpdateEventResponse) ValidateAll() error
ValidateAll checks the field values on UpdateEventResponse 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 UpdateEventResponseMultiError, or nil if none found.
type UpdateEventResponseMultiError ¶ added in v0.3.0
type UpdateEventResponseMultiError []error
UpdateEventResponseMultiError is an error wrapping multiple validation errors returned by UpdateEventResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateEventResponseMultiError) AllErrors ¶ added in v0.3.0
func (m UpdateEventResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateEventResponseMultiError) Error ¶ added in v0.3.0
func (m UpdateEventResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateEventResponseValidationError ¶ added in v0.3.0
type UpdateEventResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateEventResponseValidationError is the validation error returned by UpdateEventResponse.Validate if the designated constraints aren't met.
func (UpdateEventResponseValidationError) Cause ¶ added in v0.3.0
func (e UpdateEventResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateEventResponseValidationError) Error ¶ added in v0.3.0
func (e UpdateEventResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateEventResponseValidationError) ErrorName ¶ added in v0.3.0
func (e UpdateEventResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateEventResponseValidationError) Field ¶ added in v0.3.0
func (e UpdateEventResponseValidationError) Field() string
Field function returns field value.
func (UpdateEventResponseValidationError) Key ¶ added in v0.3.0
func (e UpdateEventResponseValidationError) Key() bool
Key function returns key value.
func (UpdateEventResponseValidationError) Reason ¶ added in v0.3.0
func (e UpdateEventResponseValidationError) Reason() string
Reason function returns reason value.