v1alpha1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package v1alpha1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

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

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

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

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

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

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

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

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

Cause function returns cause value.

func (CreateEventRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateEventRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateEventRequestValidationError) Field

Field function returns field value.

func (CreateEventRequestValidationError) Key

Key function returns key value.

func (CreateEventRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateEventResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateEventResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateEventResponseValidationError) Field

Field function returns field value.

func (CreateEventResponseValidationError) Key

Key function returns key value.

func (CreateEventResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteEventRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteEventRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (DeleteEventRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteEventRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteEventRequestValidationError) Reason added in v0.3.0

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

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

Cause function returns cause value.

func (DeleteEventResponseValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteEventResponseValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (DeleteEventResponseValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteEventResponseValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteEventResponseValidationError) Reason added in v0.3.0

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetAttributes

func (x *Event) GetAttributes() *EventAttributes
func (x *Event) GetLinks() *EventLinks

func (*Event) GetMetadata

func (x *Event) GetMetadata() *EventMetadata

func (*Event) GetTitle

func (x *Event) GetTitle() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

func (*Event) Validate

func (m *Event) Validate() error

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

func (m *Event) ValidateAll() error

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

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

Cause function returns cause value.

func (EventAttributesValidationError) Error

Error satisfies the builtin error interface

func (EventAttributesValidationError) ErrorName

func (e EventAttributesValidationError) ErrorName() string

ErrorName returns error name.

func (EventAttributesValidationError) Field

Field function returns field value.

func (EventAttributesValidationError) Key

Key function returns key value.

func (EventAttributesValidationError) Reason

Reason function returns reason value.

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

Error satisfies the builtin error interface

func (EventLinksValidationError) ErrorName

func (e EventLinksValidationError) ErrorName() string

ErrorName returns error name.

func (EventLinksValidationError) Field

Field function returns field value.

func (EventLinksValidationError) Key

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

Cause function returns cause value.

func (EventMetadataValidationError) Error

Error satisfies the builtin error interface

func (EventMetadataValidationError) ErrorName

func (e EventMetadataValidationError) ErrorName() string

ErrorName returns error name.

func (EventMetadataValidationError) Field

Field function returns field value.

func (EventMetadataValidationError) Key

Key function returns key value.

func (EventMetadataValidationError) Reason

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.

type EventServiceServer

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

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

Cause function returns cause value.

func (GetEventRequestValidationError) Error

Error satisfies the builtin error interface

func (GetEventRequestValidationError) ErrorName

func (e GetEventRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetEventRequestValidationError) Field

Field function returns field value.

func (GetEventRequestValidationError) Key

Key function returns key value.

func (GetEventRequestValidationError) Reason

Reason function returns reason value.

type GetEventResponse

type GetEventResponse struct {
	Event *Event `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

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

Cause function returns cause value.

func (GetEventResponseValidationError) Error

Error satisfies the builtin error interface

func (GetEventResponseValidationError) ErrorName

ErrorName returns error name.

func (GetEventResponseValidationError) Field

Field function returns field value.

func (GetEventResponseValidationError) Key

Key function returns key value.

func (GetEventResponseValidationError) Reason

Reason function returns reason value.

type 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

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

Cause function returns cause value.

func (ListEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListEventsRequestValidationError) Field

Field function returns field value.

func (ListEventsRequestValidationError) Key

Key function returns key value.

func (ListEventsRequestValidationError) Reason

Reason function returns reason value.

type ListEventsResponse

type ListEventsResponse struct {
	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

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

Cause function returns cause value.

func (ListEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListEventsResponseValidationError) Field

Field function returns field value.

func (ListEventsResponseValidationError) Key

Key function returns key value.

func (ListEventsResponseValidationError) Reason

Reason function returns reason value.

type Priority

type Priority int32
const (
	Priority_PRIORITY_UNSPECIFIED Priority = 0
	Priority_P1                   Priority = 1
	Priority_P2                   Priority = 2
	Priority_P3                   Priority = 3
	Priority_P4                   Priority = 4
)

func (Priority) Descriptor

func (Priority) Descriptor() protoreflect.EnumDescriptor

func (Priority) Enum

func (x Priority) Enum() *Priority

func (Priority) EnumDescriptor deprecated

func (Priority) EnumDescriptor() ([]byte, []int)

Deprecated: Use Priority.Descriptor instead.

func (Priority) Number

func (x Priority) Number() protoreflect.EnumNumber

func (Priority) String

func (x Priority) String() string

func (Priority) Type

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

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

Cause function returns cause value.

func (SearchEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (SearchEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (SearchEventsRequestValidationError) Field

Field function returns field value.

func (SearchEventsRequestValidationError) Key

Key function returns key value.

func (SearchEventsRequestValidationError) Reason

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

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

Cause function returns cause value.

func (SearchEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (SearchEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (SearchEventsResponseValidationError) Field

Field function returns field value.

func (SearchEventsResponseValidationError) Key

Key function returns key value.

func (SearchEventsResponseValidationError) Reason

Reason function returns reason value.

type Status

type Status int32
const (
	Status_STATUS_UNSPECIFIED Status = 0
	Status_start              Status = 1
	Status_failure            Status = 2
	Status_success            Status = 3
	Status_warning            Status = 4
	Status_error              Status = 5
	Status_snapshot           Status = 6
	Status_user_update        Status = 7
	Status_recommandation     Status = 8
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

func (Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

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

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

Cause function returns cause value.

func (TodayEventsRequestValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (TodayEventsRequestValidationError) ErrorName added in v0.5.0

ErrorName returns error name.

func (TodayEventsRequestValidationError) Field added in v0.5.0

Field function returns field value.

func (TodayEventsRequestValidationError) Key added in v0.5.0

Key function returns key value.

func (TodayEventsRequestValidationError) Reason added in v0.5.0

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

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

Cause function returns cause value.

func (TodayEventsResponseValidationError) Error added in v0.5.0

Error satisfies the builtin error interface

func (TodayEventsResponseValidationError) ErrorName added in v0.5.0

ErrorName returns error name.

func (TodayEventsResponseValidationError) Field added in v0.5.0

Field function returns field value.

func (TodayEventsResponseValidationError) Key added in v0.5.0

Key function returns key value.

func (TodayEventsResponseValidationError) Reason added in v0.5.0

Reason function returns reason value.

type Type

type Type int32
const (
	Type_TYPE_UNSPECIFIED Type = 0
	Type_deployment       Type = 1
	Type_operation        Type = 2
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

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) DeleteEvents added in v0.3.0

func (UnimplementedEventServiceServer) GetEvent

func (UnimplementedEventServiceServer) ListEvents

func (UnimplementedEventServiceServer) SearchEvents

func (UnimplementedEventServiceServer) TodayEvents added in v0.5.0

func (UnimplementedEventServiceServer) UpdateEvent added in v0.3.0

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

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

Cause function returns cause value.

func (UpdateEventRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UpdateEventRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (UpdateEventRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (UpdateEventRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (UpdateEventRequestValidationError) Reason added in v0.3.0

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

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

Cause function returns cause value.

func (UpdateEventResponseValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UpdateEventResponseValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (UpdateEventResponseValidationError) Field added in v0.3.0

Field function returns field value.

func (UpdateEventResponseValidationError) Key added in v0.3.0

Key function returns key value.

func (UpdateEventResponseValidationError) Reason added in v0.3.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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