Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterEventSeedingServer(s grpc.ServiceRegistrar, srv EventSeedingServer)
- type AddSeedEntryRequest
- func (*AddSeedEntryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddSeedEntryRequest) GetContent() string
- func (x *AddSeedEntryRequest) GetEventSourceId() string
- func (x *AddSeedEntryRequest) GetEventStore() string
- func (x *AddSeedEntryRequest) GetEventTypeId() string
- func (x *AddSeedEntryRequest) GetIsGlobal() bool
- func (x *AddSeedEntryRequest) GetNamespace() string
- func (*AddSeedEntryRequest) ProtoMessage()
- func (x *AddSeedEntryRequest) ProtoReflect() protoreflect.Message
- func (x *AddSeedEntryRequest) Reset()
- func (x *AddSeedEntryRequest) String() string
- type CommandResult
- func (*CommandResult) Descriptor() ([]byte, []int)deprecated
- func (x *CommandResult) GetAuthorizationFailureReason() string
- func (x *CommandResult) GetCorrelationId() *bcl.Guid
- func (x *CommandResult) GetExceptionMessages() []string
- func (x *CommandResult) GetExceptionStackTrace() string
- func (x *CommandResult) GetIsAuthorized() bool
- func (x *CommandResult) GetValidationResults() []*ValidationResult
- func (*CommandResult) ProtoMessage()
- func (x *CommandResult) ProtoReflect() protoreflect.Message
- func (x *CommandResult) Reset()
- func (x *CommandResult) String() string
- type EventSeedingClient
- type EventSeedingServer
- type EventSourceSeedEntries
- func (*EventSourceSeedEntries) Descriptor() ([]byte, []int)deprecated
- func (x *EventSourceSeedEntries) GetEntries() []*SeedingEntry
- func (x *EventSourceSeedEntries) GetEventSourceId() string
- func (*EventSourceSeedEntries) ProtoMessage()
- func (x *EventSourceSeedEntries) ProtoReflect() protoreflect.Message
- func (x *EventSourceSeedEntries) Reset()
- func (x *EventSourceSeedEntries) String() string
- type EventTypeSeedEntries
- func (*EventTypeSeedEntries) Descriptor() ([]byte, []int)deprecated
- func (x *EventTypeSeedEntries) GetEntries() []*SeedingEntry
- func (x *EventTypeSeedEntries) GetEventTypeId() string
- func (*EventTypeSeedEntries) ProtoMessage()
- func (x *EventTypeSeedEntries) ProtoReflect() protoreflect.Message
- func (x *EventTypeSeedEntries) Reset()
- func (x *EventTypeSeedEntries) String() string
- type GetGlobalSeedDataRequest
- func (*GetGlobalSeedDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGlobalSeedDataRequest) GetEventStore() string
- func (*GetGlobalSeedDataRequest) ProtoMessage()
- func (x *GetGlobalSeedDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetGlobalSeedDataRequest) Reset()
- func (x *GetGlobalSeedDataRequest) String() string
- type GetNamespaceSeedDataRequest
- func (*GetNamespaceSeedDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceSeedDataRequest) GetEventStore() string
- func (x *GetNamespaceSeedDataRequest) GetNamespace() string
- func (*GetNamespaceSeedDataRequest) ProtoMessage()
- func (x *GetNamespaceSeedDataRequest) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceSeedDataRequest) Reset()
- func (x *GetNamespaceSeedDataRequest) String() string
- type NamespacedSeedEntries
- func (*NamespacedSeedEntries) Descriptor() ([]byte, []int)deprecated
- func (x *NamespacedSeedEntries) GetByEventSource() []*EventSourceSeedEntries
- func (x *NamespacedSeedEntries) GetByEventType() []*EventTypeSeedEntries
- func (x *NamespacedSeedEntries) GetNamespace() string
- func (*NamespacedSeedEntries) ProtoMessage()
- func (x *NamespacedSeedEntries) ProtoReflect() protoreflect.Message
- func (x *NamespacedSeedEntries) Reset()
- func (x *NamespacedSeedEntries) String() string
- type QueryResult_SeedDataResponse
- func (*QueryResult_SeedDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResult_SeedDataResponse) GetCorrelationId() *bcl.Guid
- func (x *QueryResult_SeedDataResponse) GetData() *SeedDataResponse
- func (x *QueryResult_SeedDataResponse) GetExceptionMessages() []string
- func (x *QueryResult_SeedDataResponse) GetExceptionStackTrace() string
- func (x *QueryResult_SeedDataResponse) GetIsAuthorized() bool
- func (x *QueryResult_SeedDataResponse) GetValidationResults() []*ValidationResult
- func (*QueryResult_SeedDataResponse) ProtoMessage()
- func (x *QueryResult_SeedDataResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResult_SeedDataResponse) Reset()
- func (x *QueryResult_SeedDataResponse) String() string
- type SeedDataResponse
- func (*SeedDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SeedDataResponse) GetByEventSource() []*EventSourceSeedEntries
- func (x *SeedDataResponse) GetByEventType() []*EventTypeSeedEntries
- func (*SeedDataResponse) ProtoMessage()
- func (x *SeedDataResponse) ProtoReflect() protoreflect.Message
- func (x *SeedDataResponse) Reset()
- func (x *SeedDataResponse) String() string
- type SeedEventsRequest
- func (*SeedEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SeedEventsRequest) GetEventStore() string
- func (x *SeedEventsRequest) GetGlobalByEventSource() []*EventSourceSeedEntries
- func (x *SeedEventsRequest) GetGlobalByEventType() []*EventTypeSeedEntries
- func (x *SeedEventsRequest) GetNamespacedEntries() []*NamespacedSeedEntries
- func (*SeedEventsRequest) ProtoMessage()
- func (x *SeedEventsRequest) ProtoReflect() protoreflect.Message
- func (x *SeedEventsRequest) Reset()
- func (x *SeedEventsRequest) String() string
- type SeedingEntry
- func (*SeedingEntry) Descriptor() ([]byte, []int)deprecated
- func (x *SeedingEntry) GetContent() string
- func (x *SeedingEntry) GetEventSourceId() string
- func (x *SeedingEntry) GetEventTypeId() string
- func (x *SeedingEntry) GetTags() []string
- func (*SeedingEntry) ProtoMessage()
- func (x *SeedingEntry) ProtoReflect() protoreflect.Message
- func (x *SeedingEntry) Reset()
- func (x *SeedingEntry) String() string
- type UnimplementedEventSeedingServer
- func (UnimplementedEventSeedingServer) AddSeedEntry(context.Context, *AddSeedEntryRequest) (*CommandResult, error)
- func (UnimplementedEventSeedingServer) GetGlobalSeedData(context.Context, *GetGlobalSeedDataRequest) (*QueryResult_SeedDataResponse, error)
- func (UnimplementedEventSeedingServer) GetNamespaceSeedData(context.Context, *GetNamespaceSeedDataRequest) (*QueryResult_SeedDataResponse, error)
- func (UnimplementedEventSeedingServer) SeedEvents(context.Context, *SeedEventsRequest) (*CommandResult, error)
- type UnsafeEventSeedingServer
- type ValidationResult
- func (*ValidationResult) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationResult) GetMembers() []string
- func (x *ValidationResult) GetMessage() string
- func (x *ValidationResult) GetSeverity() ValidationResultSeverity
- func (*ValidationResult) ProtoMessage()
- func (x *ValidationResult) ProtoReflect() protoreflect.Message
- func (x *ValidationResult) Reset()
- func (x *ValidationResult) String() string
- type ValidationResultSeverity
- func (ValidationResultSeverity) Descriptor() protoreflect.EnumDescriptor
- func (x ValidationResultSeverity) Enum() *ValidationResultSeverity
- func (ValidationResultSeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x ValidationResultSeverity) Number() protoreflect.EnumNumber
- func (x ValidationResultSeverity) String() string
- func (ValidationResultSeverity) Type() protoreflect.EnumType
Constants ¶
const ( EventSeeding_AddSeedEntry_FullMethodName = "/Cratis.Chronicle.Contracts.Seeding.EventSeeding/AddSeedEntry" EventSeeding_GetGlobalSeedData_FullMethodName = "/Cratis.Chronicle.Contracts.Seeding.EventSeeding/GetGlobalSeedData" EventSeeding_GetNamespaceSeedData_FullMethodName = "/Cratis.Chronicle.Contracts.Seeding.EventSeeding/GetNamespaceSeedData" EventSeeding_SeedEvents_FullMethodName = "/Cratis.Chronicle.Contracts.Seeding.EventSeeding/SeedEvents" )
Variables ¶
var ( ValidationResultSeverity_name = map[int32]string{ 0: "Unknown", 1: "Information", 2: "Warning", 3: "Error", } ValidationResultSeverity_value = map[string]int32{ "Unknown": 0, "Information": 1, "Warning": 2, "Error": 3, } )
Enum value maps for ValidationResultSeverity.
var EventSeeding_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Cratis.Chronicle.Contracts.Seeding.EventSeeding", HandlerType: (*EventSeedingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddSeedEntry", Handler: _EventSeeding_AddSeedEntry_Handler, }, { MethodName: "GetGlobalSeedData", Handler: _EventSeeding_GetGlobalSeedData_Handler, }, { MethodName: "GetNamespaceSeedData", Handler: _EventSeeding_GetNamespaceSeedData_Handler, }, { MethodName: "SeedEvents", Handler: _EventSeeding_SeedEvents_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "seeding.proto", }
EventSeeding_ServiceDesc is the grpc.ServiceDesc for EventSeeding service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_seeding_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEventSeedingServer ¶
func RegisterEventSeedingServer(s grpc.ServiceRegistrar, srv EventSeedingServer)
Types ¶
type AddSeedEntryRequest ¶
type AddSeedEntryRequest struct {
EventStore string `protobuf:"bytes,1,opt,name=EventStore,proto3" json:"EventStore,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
EventSourceId string `protobuf:"bytes,3,opt,name=EventSourceId,proto3" json:"EventSourceId,omitempty"`
EventTypeId string `protobuf:"bytes,4,opt,name=EventTypeId,proto3" json:"EventTypeId,omitempty"`
Content string `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"`
IsGlobal bool `protobuf:"varint,6,opt,name=IsGlobal,proto3" json:"IsGlobal,omitempty"`
// contains filtered or unexported fields
}
func (*AddSeedEntryRequest) Descriptor
deprecated
func (*AddSeedEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddSeedEntryRequest.ProtoReflect.Descriptor instead.
func (*AddSeedEntryRequest) GetContent ¶
func (x *AddSeedEntryRequest) GetContent() string
func (*AddSeedEntryRequest) GetEventSourceId ¶
func (x *AddSeedEntryRequest) GetEventSourceId() string
func (*AddSeedEntryRequest) GetEventStore ¶
func (x *AddSeedEntryRequest) GetEventStore() string
func (*AddSeedEntryRequest) GetEventTypeId ¶
func (x *AddSeedEntryRequest) GetEventTypeId() string
func (*AddSeedEntryRequest) GetIsGlobal ¶
func (x *AddSeedEntryRequest) GetIsGlobal() bool
func (*AddSeedEntryRequest) GetNamespace ¶
func (x *AddSeedEntryRequest) GetNamespace() string
func (*AddSeedEntryRequest) ProtoMessage ¶
func (*AddSeedEntryRequest) ProtoMessage()
func (*AddSeedEntryRequest) ProtoReflect ¶
func (x *AddSeedEntryRequest) ProtoReflect() protoreflect.Message
func (*AddSeedEntryRequest) Reset ¶
func (x *AddSeedEntryRequest) Reset()
func (*AddSeedEntryRequest) String ¶
func (x *AddSeedEntryRequest) String() string
type CommandResult ¶
type CommandResult struct {
CorrelationId *bcl.Guid `protobuf:"bytes,1,opt,name=CorrelationId,proto3" json:"CorrelationId,omitempty"` // default value could not be applied: 00000000-0000-0000-0000-000000000000
IsAuthorized bool `protobuf:"varint,2,opt,name=IsAuthorized,proto3" json:"IsAuthorized,omitempty"`
ValidationResults []*ValidationResult `protobuf:"bytes,3,rep,name=ValidationResults,proto3" json:"ValidationResults,omitempty"`
ExceptionMessages []string `protobuf:"bytes,4,rep,name=ExceptionMessages,proto3" json:"ExceptionMessages,omitempty"`
ExceptionStackTrace string `protobuf:"bytes,5,opt,name=ExceptionStackTrace,proto3" json:"ExceptionStackTrace,omitempty"`
AuthorizationFailureReason string `protobuf:"bytes,6,opt,name=AuthorizationFailureReason,proto3" json:"AuthorizationFailureReason,omitempty"`
// contains filtered or unexported fields
}
func (*CommandResult) Descriptor
deprecated
func (*CommandResult) Descriptor() ([]byte, []int)
Deprecated: Use CommandResult.ProtoReflect.Descriptor instead.
func (*CommandResult) GetAuthorizationFailureReason ¶
func (x *CommandResult) GetAuthorizationFailureReason() string
func (*CommandResult) GetCorrelationId ¶
func (x *CommandResult) GetCorrelationId() *bcl.Guid
func (*CommandResult) GetExceptionMessages ¶
func (x *CommandResult) GetExceptionMessages() []string
func (*CommandResult) GetExceptionStackTrace ¶
func (x *CommandResult) GetExceptionStackTrace() string
func (*CommandResult) GetIsAuthorized ¶
func (x *CommandResult) GetIsAuthorized() bool
func (*CommandResult) GetValidationResults ¶
func (x *CommandResult) GetValidationResults() []*ValidationResult
func (*CommandResult) ProtoMessage ¶
func (*CommandResult) ProtoMessage()
func (*CommandResult) ProtoReflect ¶
func (x *CommandResult) ProtoReflect() protoreflect.Message
func (*CommandResult) Reset ¶
func (x *CommandResult) Reset()
func (*CommandResult) String ¶
func (x *CommandResult) String() string
type EventSeedingClient ¶
type EventSeedingClient interface {
AddSeedEntry(ctx context.Context, in *AddSeedEntryRequest, opts ...grpc.CallOption) (*CommandResult, error)
GetGlobalSeedData(ctx context.Context, in *GetGlobalSeedDataRequest, opts ...grpc.CallOption) (*QueryResult_SeedDataResponse, error)
GetNamespaceSeedData(ctx context.Context, in *GetNamespaceSeedDataRequest, opts ...grpc.CallOption) (*QueryResult_SeedDataResponse, error)
SeedEvents(ctx context.Context, in *SeedEventsRequest, opts ...grpc.CallOption) (*CommandResult, error)
}
EventSeedingClient is the client API for EventSeeding 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 NewEventSeedingClient ¶
func NewEventSeedingClient(cc grpc.ClientConnInterface) EventSeedingClient
type EventSeedingServer ¶
type EventSeedingServer interface {
AddSeedEntry(context.Context, *AddSeedEntryRequest) (*CommandResult, error)
GetGlobalSeedData(context.Context, *GetGlobalSeedDataRequest) (*QueryResult_SeedDataResponse, error)
GetNamespaceSeedData(context.Context, *GetNamespaceSeedDataRequest) (*QueryResult_SeedDataResponse, error)
SeedEvents(context.Context, *SeedEventsRequest) (*CommandResult, error)
// contains filtered or unexported methods
}
EventSeedingServer is the server API for EventSeeding service. All implementations must embed UnimplementedEventSeedingServer for forward compatibility.
type EventSourceSeedEntries ¶
type EventSourceSeedEntries struct {
EventSourceId string `protobuf:"bytes,1,opt,name=EventSourceId,proto3" json:"EventSourceId,omitempty"`
Entries []*SeedingEntry `protobuf:"bytes,2,rep,name=Entries,proto3" json:"Entries,omitempty"`
// contains filtered or unexported fields
}
func (*EventSourceSeedEntries) Descriptor
deprecated
func (*EventSourceSeedEntries) Descriptor() ([]byte, []int)
Deprecated: Use EventSourceSeedEntries.ProtoReflect.Descriptor instead.
func (*EventSourceSeedEntries) GetEntries ¶
func (x *EventSourceSeedEntries) GetEntries() []*SeedingEntry
func (*EventSourceSeedEntries) GetEventSourceId ¶
func (x *EventSourceSeedEntries) GetEventSourceId() string
func (*EventSourceSeedEntries) ProtoMessage ¶
func (*EventSourceSeedEntries) ProtoMessage()
func (*EventSourceSeedEntries) ProtoReflect ¶
func (x *EventSourceSeedEntries) ProtoReflect() protoreflect.Message
func (*EventSourceSeedEntries) Reset ¶
func (x *EventSourceSeedEntries) Reset()
func (*EventSourceSeedEntries) String ¶
func (x *EventSourceSeedEntries) String() string
type EventTypeSeedEntries ¶
type EventTypeSeedEntries struct {
EventTypeId string `protobuf:"bytes,1,opt,name=EventTypeId,proto3" json:"EventTypeId,omitempty"`
Entries []*SeedingEntry `protobuf:"bytes,2,rep,name=Entries,proto3" json:"Entries,omitempty"`
// contains filtered or unexported fields
}
func (*EventTypeSeedEntries) Descriptor
deprecated
func (*EventTypeSeedEntries) Descriptor() ([]byte, []int)
Deprecated: Use EventTypeSeedEntries.ProtoReflect.Descriptor instead.
func (*EventTypeSeedEntries) GetEntries ¶
func (x *EventTypeSeedEntries) GetEntries() []*SeedingEntry
func (*EventTypeSeedEntries) GetEventTypeId ¶
func (x *EventTypeSeedEntries) GetEventTypeId() string
func (*EventTypeSeedEntries) ProtoMessage ¶
func (*EventTypeSeedEntries) ProtoMessage()
func (*EventTypeSeedEntries) ProtoReflect ¶
func (x *EventTypeSeedEntries) ProtoReflect() protoreflect.Message
func (*EventTypeSeedEntries) Reset ¶
func (x *EventTypeSeedEntries) Reset()
func (*EventTypeSeedEntries) String ¶
func (x *EventTypeSeedEntries) String() string
type GetGlobalSeedDataRequest ¶
type GetGlobalSeedDataRequest struct {
EventStore string `protobuf:"bytes,1,opt,name=EventStore,proto3" json:"EventStore,omitempty"`
// contains filtered or unexported fields
}
func (*GetGlobalSeedDataRequest) Descriptor
deprecated
func (*GetGlobalSeedDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGlobalSeedDataRequest.ProtoReflect.Descriptor instead.
func (*GetGlobalSeedDataRequest) GetEventStore ¶
func (x *GetGlobalSeedDataRequest) GetEventStore() string
func (*GetGlobalSeedDataRequest) ProtoMessage ¶
func (*GetGlobalSeedDataRequest) ProtoMessage()
func (*GetGlobalSeedDataRequest) ProtoReflect ¶
func (x *GetGlobalSeedDataRequest) ProtoReflect() protoreflect.Message
func (*GetGlobalSeedDataRequest) Reset ¶
func (x *GetGlobalSeedDataRequest) Reset()
func (*GetGlobalSeedDataRequest) String ¶
func (x *GetGlobalSeedDataRequest) String() string
type GetNamespaceSeedDataRequest ¶
type GetNamespaceSeedDataRequest struct {
EventStore string `protobuf:"bytes,1,opt,name=EventStore,proto3" json:"EventStore,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
// contains filtered or unexported fields
}
func (*GetNamespaceSeedDataRequest) Descriptor
deprecated
func (*GetNamespaceSeedDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceSeedDataRequest.ProtoReflect.Descriptor instead.
func (*GetNamespaceSeedDataRequest) GetEventStore ¶
func (x *GetNamespaceSeedDataRequest) GetEventStore() string
func (*GetNamespaceSeedDataRequest) GetNamespace ¶
func (x *GetNamespaceSeedDataRequest) GetNamespace() string
func (*GetNamespaceSeedDataRequest) ProtoMessage ¶
func (*GetNamespaceSeedDataRequest) ProtoMessage()
func (*GetNamespaceSeedDataRequest) ProtoReflect ¶
func (x *GetNamespaceSeedDataRequest) ProtoReflect() protoreflect.Message
func (*GetNamespaceSeedDataRequest) Reset ¶
func (x *GetNamespaceSeedDataRequest) Reset()
func (*GetNamespaceSeedDataRequest) String ¶
func (x *GetNamespaceSeedDataRequest) String() string
type NamespacedSeedEntries ¶
type NamespacedSeedEntries struct {
Namespace string `protobuf:"bytes,1,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
ByEventType []*EventTypeSeedEntries `protobuf:"bytes,2,rep,name=ByEventType,proto3" json:"ByEventType,omitempty"`
ByEventSource []*EventSourceSeedEntries `protobuf:"bytes,3,rep,name=ByEventSource,proto3" json:"ByEventSource,omitempty"`
// contains filtered or unexported fields
}
func (*NamespacedSeedEntries) Descriptor
deprecated
func (*NamespacedSeedEntries) Descriptor() ([]byte, []int)
Deprecated: Use NamespacedSeedEntries.ProtoReflect.Descriptor instead.
func (*NamespacedSeedEntries) GetByEventSource ¶
func (x *NamespacedSeedEntries) GetByEventSource() []*EventSourceSeedEntries
func (*NamespacedSeedEntries) GetByEventType ¶
func (x *NamespacedSeedEntries) GetByEventType() []*EventTypeSeedEntries
func (*NamespacedSeedEntries) GetNamespace ¶
func (x *NamespacedSeedEntries) GetNamespace() string
func (*NamespacedSeedEntries) ProtoMessage ¶
func (*NamespacedSeedEntries) ProtoMessage()
func (*NamespacedSeedEntries) ProtoReflect ¶
func (x *NamespacedSeedEntries) ProtoReflect() protoreflect.Message
func (*NamespacedSeedEntries) Reset ¶
func (x *NamespacedSeedEntries) Reset()
func (*NamespacedSeedEntries) String ¶
func (x *NamespacedSeedEntries) String() string
type QueryResult_SeedDataResponse ¶
type QueryResult_SeedDataResponse struct {
CorrelationId *bcl.Guid `protobuf:"bytes,1,opt,name=CorrelationId,proto3" json:"CorrelationId,omitempty"` // default value could not be applied: 00000000-0000-0000-0000-000000000000
IsAuthorized bool `protobuf:"varint,2,opt,name=IsAuthorized,proto3" json:"IsAuthorized,omitempty"`
ValidationResults []*ValidationResult `protobuf:"bytes,3,rep,name=ValidationResults,proto3" json:"ValidationResults,omitempty"`
ExceptionMessages []string `protobuf:"bytes,4,rep,name=ExceptionMessages,proto3" json:"ExceptionMessages,omitempty"`
ExceptionStackTrace string `protobuf:"bytes,5,opt,name=ExceptionStackTrace,proto3" json:"ExceptionStackTrace,omitempty"`
Data *SeedDataResponse `protobuf:"bytes,6,opt,name=Data,proto3" json:"Data,omitempty"`
// contains filtered or unexported fields
}
func (*QueryResult_SeedDataResponse) Descriptor
deprecated
func (*QueryResult_SeedDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult_SeedDataResponse.ProtoReflect.Descriptor instead.
func (*QueryResult_SeedDataResponse) GetCorrelationId ¶
func (x *QueryResult_SeedDataResponse) GetCorrelationId() *bcl.Guid
func (*QueryResult_SeedDataResponse) GetData ¶
func (x *QueryResult_SeedDataResponse) GetData() *SeedDataResponse
func (*QueryResult_SeedDataResponse) GetExceptionMessages ¶
func (x *QueryResult_SeedDataResponse) GetExceptionMessages() []string
func (*QueryResult_SeedDataResponse) GetExceptionStackTrace ¶
func (x *QueryResult_SeedDataResponse) GetExceptionStackTrace() string
func (*QueryResult_SeedDataResponse) GetIsAuthorized ¶
func (x *QueryResult_SeedDataResponse) GetIsAuthorized() bool
func (*QueryResult_SeedDataResponse) GetValidationResults ¶
func (x *QueryResult_SeedDataResponse) GetValidationResults() []*ValidationResult
func (*QueryResult_SeedDataResponse) ProtoMessage ¶
func (*QueryResult_SeedDataResponse) ProtoMessage()
func (*QueryResult_SeedDataResponse) ProtoReflect ¶
func (x *QueryResult_SeedDataResponse) ProtoReflect() protoreflect.Message
func (*QueryResult_SeedDataResponse) Reset ¶
func (x *QueryResult_SeedDataResponse) Reset()
func (*QueryResult_SeedDataResponse) String ¶
func (x *QueryResult_SeedDataResponse) String() string
type SeedDataResponse ¶
type SeedDataResponse struct {
ByEventType []*EventTypeSeedEntries `protobuf:"bytes,1,rep,name=ByEventType,proto3" json:"ByEventType,omitempty"`
ByEventSource []*EventSourceSeedEntries `protobuf:"bytes,2,rep,name=ByEventSource,proto3" json:"ByEventSource,omitempty"`
// contains filtered or unexported fields
}
func (*SeedDataResponse) Descriptor
deprecated
func (*SeedDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use SeedDataResponse.ProtoReflect.Descriptor instead.
func (*SeedDataResponse) GetByEventSource ¶
func (x *SeedDataResponse) GetByEventSource() []*EventSourceSeedEntries
func (*SeedDataResponse) GetByEventType ¶
func (x *SeedDataResponse) GetByEventType() []*EventTypeSeedEntries
func (*SeedDataResponse) ProtoMessage ¶
func (*SeedDataResponse) ProtoMessage()
func (*SeedDataResponse) ProtoReflect ¶
func (x *SeedDataResponse) ProtoReflect() protoreflect.Message
func (*SeedDataResponse) Reset ¶
func (x *SeedDataResponse) Reset()
func (*SeedDataResponse) String ¶
func (x *SeedDataResponse) String() string
type SeedEventsRequest ¶
type SeedEventsRequest struct {
EventStore string `protobuf:"bytes,1,opt,name=EventStore,proto3" json:"EventStore,omitempty"`
GlobalByEventType []*EventTypeSeedEntries `protobuf:"bytes,2,rep,name=GlobalByEventType,proto3" json:"GlobalByEventType,omitempty"`
GlobalByEventSource []*EventSourceSeedEntries `protobuf:"bytes,3,rep,name=GlobalByEventSource,proto3" json:"GlobalByEventSource,omitempty"`
NamespacedEntries []*NamespacedSeedEntries `protobuf:"bytes,4,rep,name=NamespacedEntries,proto3" json:"NamespacedEntries,omitempty"`
// contains filtered or unexported fields
}
func (*SeedEventsRequest) Descriptor
deprecated
func (*SeedEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SeedEventsRequest.ProtoReflect.Descriptor instead.
func (*SeedEventsRequest) GetEventStore ¶
func (x *SeedEventsRequest) GetEventStore() string
func (*SeedEventsRequest) GetGlobalByEventSource ¶
func (x *SeedEventsRequest) GetGlobalByEventSource() []*EventSourceSeedEntries
func (*SeedEventsRequest) GetGlobalByEventType ¶
func (x *SeedEventsRequest) GetGlobalByEventType() []*EventTypeSeedEntries
func (*SeedEventsRequest) GetNamespacedEntries ¶
func (x *SeedEventsRequest) GetNamespacedEntries() []*NamespacedSeedEntries
func (*SeedEventsRequest) ProtoMessage ¶
func (*SeedEventsRequest) ProtoMessage()
func (*SeedEventsRequest) ProtoReflect ¶
func (x *SeedEventsRequest) ProtoReflect() protoreflect.Message
func (*SeedEventsRequest) Reset ¶
func (x *SeedEventsRequest) Reset()
func (*SeedEventsRequest) String ¶
func (x *SeedEventsRequest) String() string
type SeedingEntry ¶
type SeedingEntry struct {
EventSourceId string `protobuf:"bytes,1,opt,name=EventSourceId,proto3" json:"EventSourceId,omitempty"`
EventTypeId string `protobuf:"bytes,2,opt,name=EventTypeId,proto3" json:"EventTypeId,omitempty"`
Content string `protobuf:"bytes,3,opt,name=Content,proto3" json:"Content,omitempty"`
Tags []string `protobuf:"bytes,4,rep,name=Tags,proto3" json:"Tags,omitempty"`
// contains filtered or unexported fields
}
func (*SeedingEntry) Descriptor
deprecated
func (*SeedingEntry) Descriptor() ([]byte, []int)
Deprecated: Use SeedingEntry.ProtoReflect.Descriptor instead.
func (*SeedingEntry) GetContent ¶
func (x *SeedingEntry) GetContent() string
func (*SeedingEntry) GetEventSourceId ¶
func (x *SeedingEntry) GetEventSourceId() string
func (*SeedingEntry) GetEventTypeId ¶
func (x *SeedingEntry) GetEventTypeId() string
func (*SeedingEntry) GetTags ¶
func (x *SeedingEntry) GetTags() []string
func (*SeedingEntry) ProtoMessage ¶
func (*SeedingEntry) ProtoMessage()
func (*SeedingEntry) ProtoReflect ¶
func (x *SeedingEntry) ProtoReflect() protoreflect.Message
func (*SeedingEntry) Reset ¶
func (x *SeedingEntry) Reset()
func (*SeedingEntry) String ¶
func (x *SeedingEntry) String() string
type UnimplementedEventSeedingServer ¶
type UnimplementedEventSeedingServer struct{}
UnimplementedEventSeedingServer 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 (UnimplementedEventSeedingServer) AddSeedEntry ¶
func (UnimplementedEventSeedingServer) AddSeedEntry(context.Context, *AddSeedEntryRequest) (*CommandResult, error)
func (UnimplementedEventSeedingServer) GetGlobalSeedData ¶
func (UnimplementedEventSeedingServer) GetGlobalSeedData(context.Context, *GetGlobalSeedDataRequest) (*QueryResult_SeedDataResponse, error)
func (UnimplementedEventSeedingServer) GetNamespaceSeedData ¶
func (UnimplementedEventSeedingServer) GetNamespaceSeedData(context.Context, *GetNamespaceSeedDataRequest) (*QueryResult_SeedDataResponse, error)
func (UnimplementedEventSeedingServer) SeedEvents ¶
func (UnimplementedEventSeedingServer) SeedEvents(context.Context, *SeedEventsRequest) (*CommandResult, error)
type UnsafeEventSeedingServer ¶
type UnsafeEventSeedingServer interface {
// contains filtered or unexported methods
}
UnsafeEventSeedingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventSeedingServer will result in compilation errors.
type ValidationResult ¶
type ValidationResult struct {
Severity ValidationResultSeverity `` // default value could not be applied: Error
/* 135-byte string literal not displayed */
Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"`
Members []string `protobuf:"bytes,3,rep,name=Members,proto3" json:"Members,omitempty"`
// contains filtered or unexported fields
}
func (*ValidationResult) Descriptor
deprecated
func (*ValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResult.ProtoReflect.Descriptor instead.
func (*ValidationResult) GetMembers ¶
func (x *ValidationResult) GetMembers() []string
func (*ValidationResult) GetMessage ¶
func (x *ValidationResult) GetMessage() string
func (*ValidationResult) GetSeverity ¶
func (x *ValidationResult) GetSeverity() ValidationResultSeverity
func (*ValidationResult) ProtoMessage ¶
func (*ValidationResult) ProtoMessage()
func (*ValidationResult) ProtoReflect ¶
func (x *ValidationResult) ProtoReflect() protoreflect.Message
func (*ValidationResult) Reset ¶
func (x *ValidationResult) Reset()
func (*ValidationResult) String ¶
func (x *ValidationResult) String() string
type ValidationResultSeverity ¶
type ValidationResultSeverity int32
const ( ValidationResultSeverity_Unknown ValidationResultSeverity = 0 ValidationResultSeverity_Information ValidationResultSeverity = 1 ValidationResultSeverity_Warning ValidationResultSeverity = 2 ValidationResultSeverity_Error ValidationResultSeverity = 3 )
func (ValidationResultSeverity) Descriptor ¶
func (ValidationResultSeverity) Descriptor() protoreflect.EnumDescriptor
func (ValidationResultSeverity) Enum ¶
func (x ValidationResultSeverity) Enum() *ValidationResultSeverity
func (ValidationResultSeverity) EnumDescriptor
deprecated
func (ValidationResultSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidationResultSeverity.Descriptor instead.
func (ValidationResultSeverity) Number ¶
func (x ValidationResultSeverity) Number() protoreflect.EnumNumber
func (ValidationResultSeverity) String ¶
func (x ValidationResultSeverity) String() string
func (ValidationResultSeverity) Type ¶
func (ValidationResultSeverity) Type() protoreflect.EnumType