Documentation ¶
Overview ¶
Package eventRules is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterEventRulesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterEventRulesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventRulesServiceClient) error
- func RegisterEventRulesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterEventRulesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventRulesServiceServer) error
- func RegisterEventRulesServiceServer(s *grpc.Server, srv EventRulesServiceServer)
- type CheckDuplicateConditionRequest
- func (*CheckDuplicateConditionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckDuplicateConditionRequest) GetRuleObject() map[string]string
- func (*CheckDuplicateConditionRequest) ProtoMessage()
- func (x *CheckDuplicateConditionRequest) ProtoReflect() protoreflect.Message
- func (x *CheckDuplicateConditionRequest) Reset()
- func (x *CheckDuplicateConditionRequest) String() string
- type CheckDuplicateConditionResponse
- func (*CheckDuplicateConditionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckDuplicateConditionResponse) GetExists() bool
- func (x *CheckDuplicateConditionResponse) GetHash() string
- func (x *CheckDuplicateConditionResponse) GetName() string
- func (*CheckDuplicateConditionResponse) ProtoMessage()
- func (x *CheckDuplicateConditionResponse) ProtoReflect() protoreflect.Message
- func (x *CheckDuplicateConditionResponse) Reset()
- func (x *CheckDuplicateConditionResponse) String() string
- type EventMetric
- func (*EventMetric) Descriptor() ([]byte, []int)deprecated
- func (x *EventMetric) GetFieldType() string
- func (x *EventMetric) GetName() string
- func (x *EventMetric) GetPatternLabel() *PatternLabel
- func (x *EventMetric) GetPlotType() string
- func (x *EventMetric) GetRegex() bool
- func (x *EventMetric) GetTargetField() string
- func (x *EventMetric) GetType() MetricType
- func (x *EventMetric) GetUniqueHash() string
- func (*EventMetric) ProtoMessage()
- func (x *EventMetric) ProtoReflect() protoreflect.Message
- func (x *EventMetric) Reset()
- func (x *EventMetric) String() string
- type EventRule
- func (*EventRule) Descriptor() ([]byte, []int)deprecated
- func (x *EventRule) GetActive() int32
- func (x *EventRule) GetAdditionalLabels() []string
- func (x *EventRule) GetAlertConfigured() int32
- func (x *EventRule) GetApplicationMatch() string
- func (x *EventRule) GetCondition() string
- func (x *EventRule) GetCreatedAt() int64
- func (x *EventRule) GetCreatedBy() string
- func (x *EventRule) GetDescription() string
- func (x *EventRule) GetEventMetrics() []*EventMetric
- func (x *EventRule) GetExtRuleType() string
- func (x *EventRule) GetGroupName() string
- func (x *EventRule) GetImmutable() int32
- func (x *EventRule) GetLevel() string
- func (x *EventRule) GetMatch() string
- func (x *EventRule) GetName() string
- func (x *EventRule) GetNamespace() string
- func (x *EventRule) GetPatternLabels() []*PatternLabel
- func (x *EventRule) GetRecordMetricsOnly() int32
- func (x *EventRule) GetRewrite() string
- func (x *EventRule) GetRuleType() string
- func (x *EventRule) GetTags() []string
- func (*EventRule) ProtoMessage()
- func (x *EventRule) ProtoReflect() protoreflect.Message
- func (x *EventRule) Reset()
- func (x *EventRule) String() string
- type EventRuleExistsRequest
- func (*EventRuleExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventRuleExistsRequest) GetName() string
- func (*EventRuleExistsRequest) ProtoMessage()
- func (x *EventRuleExistsRequest) ProtoReflect() protoreflect.Message
- func (x *EventRuleExistsRequest) Reset()
- func (x *EventRuleExistsRequest) String() string
- type EventRuleExistsResponse
- func (*EventRuleExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventRuleExistsResponse) GetExists() bool
- func (*EventRuleExistsResponse) ProtoMessage()
- func (x *EventRuleExistsResponse) ProtoReflect() protoreflect.Message
- func (x *EventRuleExistsResponse) Reset()
- func (x *EventRuleExistsResponse) String() string
- type EventRuleGroupActiveConfig
- func (*EventRuleGroupActiveConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EventRuleGroupActiveConfig) GetActive() int32
- func (x *EventRuleGroupActiveConfig) GetGroupName() string
- func (*EventRuleGroupActiveConfig) ProtoMessage()
- func (x *EventRuleGroupActiveConfig) ProtoReflect() protoreflect.Message
- func (x *EventRuleGroupActiveConfig) Reset()
- func (x *EventRuleGroupActiveConfig) String() string
- type EventRulesFilter
- func (*EventRulesFilter) Descriptor() ([]byte, []int)deprecated
- func (x *EventRulesFilter) GetActive() int32
- func (x *EventRulesFilter) GetCreatedBy() []string
- func (x *EventRulesFilter) GetCustomRules() bool
- func (x *EventRulesFilter) GetExtRuleType() string
- func (x *EventRulesFilter) GetGroupNames() []string
- func (x *EventRulesFilter) GetImmutable() int32
- func (x *EventRulesFilter) GetLevel() []string
- func (x *EventRulesFilter) GetNames() []string
- func (x *EventRulesFilter) GetRuleType() string
- func (x *EventRulesFilter) GetSearch() string
- func (x *EventRulesFilter) GetTags() []string
- func (*EventRulesFilter) ProtoMessage()
- func (x *EventRulesFilter) ProtoReflect() protoreflect.Message
- func (x *EventRulesFilter) Reset()
- func (x *EventRulesFilter) String() string
- type EventRulesGroupResponse
- func (*EventRulesGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventRulesGroupResponse) GetGroupNames() []string
- func (*EventRulesGroupResponse) ProtoMessage()
- func (x *EventRulesGroupResponse) ProtoReflect() protoreflect.Message
- func (x *EventRulesGroupResponse) Reset()
- func (x *EventRulesGroupResponse) String() string
- type EventRulesQueryRequest
- func (*EventRulesQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EventRulesQueryRequest) GetCount() uint64
- func (x *EventRulesQueryRequest) GetFilter() *EventRulesFilter
- func (x *EventRulesQueryRequest) GetOffset() uint64
- func (x *EventRulesQueryRequest) GetSort() *SortOrder
- func (*EventRulesQueryRequest) ProtoMessage()
- func (x *EventRulesQueryRequest) ProtoReflect() protoreflect.Message
- func (x *EventRulesQueryRequest) Reset()
- func (x *EventRulesQueryRequest) String() string
- type EventRulesResponse
- func (*EventRulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventRulesResponse) GetCount() int64
- func (x *EventRulesResponse) GetEventRules() []*EventRule
- func (x *EventRulesResponse) GetOffset() int64
- func (x *EventRulesResponse) GetTotalCount() int64
- func (*EventRulesResponse) ProtoMessage()
- func (x *EventRulesResponse) ProtoReflect() protoreflect.Message
- func (x *EventRulesResponse) Reset()
- func (x *EventRulesResponse) String() string
- type EventRulesResponseResult
- func (*EventRulesResponseResult) Descriptor() ([]byte, []int)deprecated
- func (x *EventRulesResponseResult) GetError() string
- func (*EventRulesResponseResult) ProtoMessage()
- func (x *EventRulesResponseResult) ProtoReflect() protoreflect.Message
- func (x *EventRulesResponseResult) Reset()
- func (x *EventRulesResponseResult) String() string
- type EventRulesServiceClient
- type EventRulesServiceServer
- type EventSequenceResponse
- func (*EventSequenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EventSequenceResponse) GetSequence() *Sequence
- func (*EventSequenceResponse) ProtoMessage()
- func (x *EventSequenceResponse) ProtoReflect() protoreflect.Message
- func (x *EventSequenceResponse) Reset()
- func (x *EventSequenceResponse) String() string
- type GetEventRuleByNameRequest
- func (*GetEventRuleByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventRuleByNameRequest) GetName() string
- func (*GetEventRuleByNameRequest) ProtoMessage()
- func (x *GetEventRuleByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventRuleByNameRequest) Reset()
- func (x *GetEventRuleByNameRequest) String() string
- type MetricType
- type PatternLabel
- func (*PatternLabel) Descriptor() ([]byte, []int)deprecated
- func (x *PatternLabel) GetMatchedNames() []string
- func (x *PatternLabel) GetPattern() string
- func (*PatternLabel) ProtoMessage()
- func (x *PatternLabel) ProtoReflect() protoreflect.Message
- func (x *PatternLabel) Reset()
- func (x *PatternLabel) String() string
- type ProcessEventRuleByNameRequest
- func (*ProcessEventRuleByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProcessEventRuleByNameRequest) GetName() string
- func (*ProcessEventRuleByNameRequest) ProtoMessage()
- func (x *ProcessEventRuleByNameRequest) ProtoReflect() protoreflect.Message
- func (x *ProcessEventRuleByNameRequest) Reset()
- func (x *ProcessEventRuleByNameRequest) String() string
- type Sequence
- type SortOrder
- type SortOrderEnums
- func (SortOrderEnums) Descriptor() protoreflect.EnumDescriptor
- func (x SortOrderEnums) Enum() *SortOrderEnums
- func (SortOrderEnums) EnumDescriptor() ([]byte, []int)deprecated
- func (x SortOrderEnums) Number() protoreflect.EnumNumber
- func (x SortOrderEnums) String() string
- func (SortOrderEnums) Type() protoreflect.EnumType
- type TestEventRulePayload
- func (*TestEventRulePayload) Descriptor() ([]byte, []int)deprecated
- func (x *TestEventRulePayload) GetCondition() string
- func (x *TestEventRulePayload) GetParams() map[string]string
- func (x *TestEventRulePayload) GetRuleType() string
- func (*TestEventRulePayload) ProtoMessage()
- func (x *TestEventRulePayload) ProtoReflect() protoreflect.Message
- func (x *TestEventRulePayload) Reset()
- func (x *TestEventRulePayload) String() string
- type TestEventRuleResponse
- func (*TestEventRuleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestEventRuleResponse) GetResult() string
- func (*TestEventRuleResponse) ProtoMessage()
- func (x *TestEventRuleResponse) ProtoReflect() protoreflect.Message
- func (x *TestEventRuleResponse) Reset()
- func (x *TestEventRuleResponse) String() string
- type UnimplementedEventRulesServiceServer
- func (*UnimplementedEventRulesServiceServer) CheckEventRuleExists(context.Context, *EventRuleExistsRequest) (*EventRuleExistsResponse, error)
- func (*UnimplementedEventRulesServiceServer) CreateEventRule(context.Context, *EventRule) (*EventRulesResponseResult, error)
- func (*UnimplementedEventRulesServiceServer) DeleteEventRule(context.Context, *ProcessEventRuleByNameRequest) (*emptypb.Empty, error)
- func (*UnimplementedEventRulesServiceServer) GenerateEventSequence(context.Context, *emptypb.Empty) (*EventSequenceResponse, error)
- func (*UnimplementedEventRulesServiceServer) GetEventRuleByName(context.Context, *GetEventRuleByNameRequest) (*EventRule, error)
- func (*UnimplementedEventRulesServiceServer) GetEventRuleGroups(context.Context, *emptypb.Empty) (*EventRulesGroupResponse, error)
- func (*UnimplementedEventRulesServiceServer) GetEventRules(context.Context, *EventRulesQueryRequest) (*EventRulesResponse, error)
- func (*UnimplementedEventRulesServiceServer) SetEventRuleGroupsActive(context.Context, *EventRuleGroupActiveConfig) (*EventRulesResponseResult, error)
- func (*UnimplementedEventRulesServiceServer) TestEventRule(context.Context, *TestEventRulePayload) (*TestEventRuleResponse, error)
- func (*UnimplementedEventRulesServiceServer) UpdateEventRule(context.Context, *EventRule) (*EventRulesResponseResult, error)
- func (*UnimplementedEventRulesServiceServer) ValidateRuleForDuplicate(context.Context, *CheckDuplicateConditionRequest) (*CheckDuplicateConditionResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( MetricType_name = map[int32]string{ 0: "NOVAL", 1: "GAUGE", 2: "COUNTER", 3: "HISTOGRAM", } MetricType_value = map[string]int32{ "NOVAL": 0, "GAUGE": 1, "COUNTER": 2, "HISTOGRAM": 3, } )
Enum value maps for MetricType.
var ( SortOrderEnums_name = map[int32]string{ 0: "UNKNOWN", 1: "ASC", 2: "DESC", } SortOrderEnums_value = map[string]int32{ "UNKNOWN": 0, "ASC": 1, "DESC": 2, } )
Enum value maps for SortOrderEnums.
var File_api_proto_eventRules_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEventRulesServiceHandler ¶
func RegisterEventRulesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterEventRulesServiceHandler registers the http handlers for service EventRulesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterEventRulesServiceHandlerClient ¶
func RegisterEventRulesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventRulesServiceClient) error
RegisterEventRulesServiceHandlerClient registers the http handlers for service EventRulesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "EventRulesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "EventRulesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "EventRulesServiceClient" to call the correct interceptors.
func RegisterEventRulesServiceHandlerFromEndpoint ¶
func RegisterEventRulesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterEventRulesServiceHandlerFromEndpoint is same as RegisterEventRulesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterEventRulesServiceHandlerServer ¶
func RegisterEventRulesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventRulesServiceServer) error
RegisterEventRulesServiceHandlerServer registers the http handlers for service EventRulesService to "mux". UnaryRPC :call EventRulesServiceServer 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 RegisterEventRulesServiceHandlerFromEndpoint instead.
func RegisterEventRulesServiceServer ¶
func RegisterEventRulesServiceServer(s *grpc.Server, srv EventRulesServiceServer)
Types ¶
type CheckDuplicateConditionRequest ¶
type CheckDuplicateConditionRequest struct { // string condition = 1; RuleObject map[string]string `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CheckDuplicateConditionRequest) Descriptor
deprecated
func (*CheckDuplicateConditionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckDuplicateConditionRequest.ProtoReflect.Descriptor instead.
func (*CheckDuplicateConditionRequest) GetRuleObject ¶
func (x *CheckDuplicateConditionRequest) GetRuleObject() map[string]string
func (*CheckDuplicateConditionRequest) ProtoMessage ¶
func (*CheckDuplicateConditionRequest) ProtoMessage()
func (*CheckDuplicateConditionRequest) ProtoReflect ¶
func (x *CheckDuplicateConditionRequest) ProtoReflect() protoreflect.Message
func (*CheckDuplicateConditionRequest) Reset ¶
func (x *CheckDuplicateConditionRequest) Reset()
func (*CheckDuplicateConditionRequest) String ¶
func (x *CheckDuplicateConditionRequest) String() string
type CheckDuplicateConditionResponse ¶
type CheckDuplicateConditionResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CheckDuplicateConditionResponse) Descriptor
deprecated
func (*CheckDuplicateConditionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckDuplicateConditionResponse.ProtoReflect.Descriptor instead.
func (*CheckDuplicateConditionResponse) GetExists ¶
func (x *CheckDuplicateConditionResponse) GetExists() bool
func (*CheckDuplicateConditionResponse) GetHash ¶
func (x *CheckDuplicateConditionResponse) GetHash() string
func (*CheckDuplicateConditionResponse) GetName ¶
func (x *CheckDuplicateConditionResponse) GetName() string
func (*CheckDuplicateConditionResponse) ProtoMessage ¶
func (*CheckDuplicateConditionResponse) ProtoMessage()
func (*CheckDuplicateConditionResponse) ProtoReflect ¶
func (x *CheckDuplicateConditionResponse) ProtoReflect() protoreflect.Message
func (*CheckDuplicateConditionResponse) Reset ¶
func (x *CheckDuplicateConditionResponse) Reset()
func (*CheckDuplicateConditionResponse) String ¶
func (x *CheckDuplicateConditionResponse) String() string
type EventMetric ¶
type EventMetric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type MetricType `protobuf:"varint,2,opt,name=type,proto3,enum=eventRules.MetricType" json:"type,omitempty"` TargetField string `protobuf:"bytes,3,opt,name=targetField,proto3" json:"targetField,omitempty"` FieldType string `protobuf:"bytes,4,opt,name=fieldType,proto3" json:"fieldType,omitempty"` PlotType string `protobuf:"bytes,5,opt,name=plotType,proto3" json:"plotType,omitempty"` Regex bool `protobuf:"varint,6,opt,name=regex,proto3" json:"regex,omitempty"` PatternLabel *PatternLabel `protobuf:"bytes,7,opt,name=patternLabel,proto3" json:"patternLabel,omitempty"` UniqueHash string `protobuf:"bytes,8,opt,name=uniqueHash,proto3" json:"uniqueHash,omitempty"` // contains filtered or unexported fields }
func (*EventMetric) Descriptor
deprecated
func (*EventMetric) Descriptor() ([]byte, []int)
Deprecated: Use EventMetric.ProtoReflect.Descriptor instead.
func (*EventMetric) GetFieldType ¶
func (x *EventMetric) GetFieldType() string
func (*EventMetric) GetName ¶
func (x *EventMetric) GetName() string
func (*EventMetric) GetPatternLabel ¶
func (x *EventMetric) GetPatternLabel() *PatternLabel
func (*EventMetric) GetPlotType ¶
func (x *EventMetric) GetPlotType() string
func (*EventMetric) GetRegex ¶
func (x *EventMetric) GetRegex() bool
func (*EventMetric) GetTargetField ¶
func (x *EventMetric) GetTargetField() string
func (*EventMetric) GetType ¶
func (x *EventMetric) GetType() MetricType
func (*EventMetric) GetUniqueHash ¶
func (x *EventMetric) GetUniqueHash() string
func (*EventMetric) ProtoMessage ¶
func (*EventMetric) ProtoMessage()
func (*EventMetric) ProtoReflect ¶
func (x *EventMetric) ProtoReflect() protoreflect.Message
func (*EventMetric) Reset ¶
func (x *EventMetric) Reset()
func (*EventMetric) String ¶
func (x *EventMetric) String() string
type EventRule ¶
type EventRule struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Level string `protobuf:"bytes,3,opt,name=level,proto3" json:"level,omitempty"` Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` Match string `protobuf:"bytes,20,opt,name=match,proto3" json:"match,omitempty"` Rewrite string `protobuf:"bytes,21,opt,name=rewrite,proto3" json:"rewrite,omitempty"` // map<string,string> extract = 5; GroupName string `protobuf:"bytes,6,opt,name=groupName,proto3" json:"groupName,omitempty"` Active int32 `protobuf:"varint,7,opt,name=active,proto3" json:"active,omitempty"` // used as boolean 0 to inactive and 1 to active Immutable int32 `protobuf:"varint,8,opt,name=immutable,proto3" json:"immutable,omitempty"` // used as boolean 0 for mutable and 1 to immutable RuleType string `protobuf:"bytes,9,opt,name=ruleType,proto3" json:"ruleType,omitempty"` // possible values {"REGEX", "EVALUATE"} Dectates how to apply rule to logline. ApplicationMatch string `protobuf:"bytes,10,opt,name=applicationMatch,proto3" json:"applicationMatch,omitempty"` AlertConfigured int32 `protobuf:"varint,11,opt,name=alertConfigured,proto3" json:"alertConfigured,omitempty"` RecordMetricsOnly int32 `protobuf:"varint,12,opt,name=recordMetricsOnly,proto3" json:"recordMetricsOnly,omitempty"` // used as boolean, if 1 only record the event counter with prometheus and NOT store event in db EventMetrics []*EventMetric `protobuf:"bytes,13,rep,name=eventMetrics,proto3" json:"eventMetrics,omitempty"` AdditionalLabels []string `protobuf:"bytes,14,rep,name=additionalLabels,proto3" json:"additionalLabels,omitempty"` PatternLabels []*PatternLabel `protobuf:"bytes,15,rep,name=patternLabels,proto3" json:"patternLabels,omitempty"` Tags []string `protobuf:"bytes,16,rep,name=tags,proto3" json:"tags,omitempty"` CreatedAt int64 `protobuf:"varint,17,opt,name=createdAt,proto3" json:"createdAt,omitempty"` CreatedBy string `protobuf:"bytes,18,opt,name=createdBy,proto3" json:"createdBy,omitempty"` ExtRuleType string `protobuf:"bytes,19,opt,name=extRuleType,proto3" json:"extRuleType,omitempty"` Namespace string `protobuf:"bytes,22,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*EventRule) Descriptor
deprecated
func (*EventRule) GetAdditionalLabels ¶
func (*EventRule) GetAlertConfigured ¶
func (*EventRule) GetApplicationMatch ¶
func (*EventRule) GetCondition ¶
func (*EventRule) GetCreatedAt ¶
func (*EventRule) GetCreatedBy ¶
func (*EventRule) GetDescription ¶
func (*EventRule) GetEventMetrics ¶
func (x *EventRule) GetEventMetrics() []*EventMetric
func (*EventRule) GetExtRuleType ¶
func (*EventRule) GetGroupName ¶
func (*EventRule) GetImmutable ¶
func (*EventRule) GetNamespace ¶
func (*EventRule) GetPatternLabels ¶
func (x *EventRule) GetPatternLabels() []*PatternLabel
func (*EventRule) GetRecordMetricsOnly ¶
func (*EventRule) GetRewrite ¶
func (*EventRule) GetRuleType ¶
func (*EventRule) ProtoMessage ¶
func (*EventRule) ProtoMessage()
func (*EventRule) ProtoReflect ¶
func (x *EventRule) ProtoReflect() protoreflect.Message
type EventRuleExistsRequest ¶
type EventRuleExistsRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*EventRuleExistsRequest) Descriptor
deprecated
func (*EventRuleExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventRuleExistsRequest.ProtoReflect.Descriptor instead.
func (*EventRuleExistsRequest) GetName ¶
func (x *EventRuleExistsRequest) GetName() string
func (*EventRuleExistsRequest) ProtoMessage ¶
func (*EventRuleExistsRequest) ProtoMessage()
func (*EventRuleExistsRequest) ProtoReflect ¶
func (x *EventRuleExistsRequest) ProtoReflect() protoreflect.Message
func (*EventRuleExistsRequest) Reset ¶
func (x *EventRuleExistsRequest) Reset()
func (*EventRuleExistsRequest) String ¶
func (x *EventRuleExistsRequest) String() string
type EventRuleExistsResponse ¶
type EventRuleExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*EventRuleExistsResponse) Descriptor
deprecated
func (*EventRuleExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventRuleExistsResponse.ProtoReflect.Descriptor instead.
func (*EventRuleExistsResponse) GetExists ¶
func (x *EventRuleExistsResponse) GetExists() bool
func (*EventRuleExistsResponse) ProtoMessage ¶
func (*EventRuleExistsResponse) ProtoMessage()
func (*EventRuleExistsResponse) ProtoReflect ¶
func (x *EventRuleExistsResponse) ProtoReflect() protoreflect.Message
func (*EventRuleExistsResponse) Reset ¶
func (x *EventRuleExistsResponse) Reset()
func (*EventRuleExistsResponse) String ¶
func (x *EventRuleExistsResponse) String() string
type EventRuleGroupActiveConfig ¶
type EventRuleGroupActiveConfig struct { GroupName string `protobuf:"bytes,1,opt,name=groupName,proto3" json:"groupName,omitempty"` Active int32 `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"` // used as boolean 0 to inactive and 1 to active // contains filtered or unexported fields }
func (*EventRuleGroupActiveConfig) Descriptor
deprecated
func (*EventRuleGroupActiveConfig) Descriptor() ([]byte, []int)
Deprecated: Use EventRuleGroupActiveConfig.ProtoReflect.Descriptor instead.
func (*EventRuleGroupActiveConfig) GetActive ¶
func (x *EventRuleGroupActiveConfig) GetActive() int32
func (*EventRuleGroupActiveConfig) GetGroupName ¶
func (x *EventRuleGroupActiveConfig) GetGroupName() string
func (*EventRuleGroupActiveConfig) ProtoMessage ¶
func (*EventRuleGroupActiveConfig) ProtoMessage()
func (*EventRuleGroupActiveConfig) ProtoReflect ¶
func (x *EventRuleGroupActiveConfig) ProtoReflect() protoreflect.Message
func (*EventRuleGroupActiveConfig) Reset ¶
func (x *EventRuleGroupActiveConfig) Reset()
func (*EventRuleGroupActiveConfig) String ¶
func (x *EventRuleGroupActiveConfig) String() string
type EventRulesFilter ¶
type EventRulesFilter struct { Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` Search string `protobuf:"bytes,2,opt,name=search,proto3" json:"search,omitempty"` Level []string `protobuf:"bytes,3,rep,name=level,proto3" json:"level,omitempty"` GroupNames []string `protobuf:"bytes,4,rep,name=groupNames,proto3" json:"groupNames,omitempty"` Active int32 `protobuf:"varint,5,opt,name=active,proto3" json:"active,omitempty"` // used as boolean 0 to inactive and 1 to active Immutable int32 `protobuf:"varint,6,opt,name=immutable,proto3" json:"immutable,omitempty"` // used as boolean 0 for mutable and 1 to immutable Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"` CreatedBy []string `protobuf:"bytes,8,rep,name=createdBy,proto3" json:"createdBy,omitempty"` ExtRuleType string `protobuf:"bytes,10,opt,name=extRuleType,proto3" json:"extRuleType,omitempty"` RuleType string `protobuf:"bytes,11,opt,name=ruleType,proto3" json:"ruleType,omitempty"` CustomRules bool `protobuf:"varint,12,opt,name=customRules,proto3" json:"customRules,omitempty"` // contains filtered or unexported fields }
func (*EventRulesFilter) Descriptor
deprecated
func (*EventRulesFilter) Descriptor() ([]byte, []int)
Deprecated: Use EventRulesFilter.ProtoReflect.Descriptor instead.
func (*EventRulesFilter) GetActive ¶
func (x *EventRulesFilter) GetActive() int32
func (*EventRulesFilter) GetCreatedBy ¶
func (x *EventRulesFilter) GetCreatedBy() []string
func (*EventRulesFilter) GetCustomRules ¶
func (x *EventRulesFilter) GetCustomRules() bool
func (*EventRulesFilter) GetExtRuleType ¶
func (x *EventRulesFilter) GetExtRuleType() string
func (*EventRulesFilter) GetGroupNames ¶
func (x *EventRulesFilter) GetGroupNames() []string
func (*EventRulesFilter) GetImmutable ¶
func (x *EventRulesFilter) GetImmutable() int32
func (*EventRulesFilter) GetLevel ¶
func (x *EventRulesFilter) GetLevel() []string
func (*EventRulesFilter) GetNames ¶
func (x *EventRulesFilter) GetNames() []string
func (*EventRulesFilter) GetRuleType ¶
func (x *EventRulesFilter) GetRuleType() string
func (*EventRulesFilter) GetSearch ¶
func (x *EventRulesFilter) GetSearch() string
func (*EventRulesFilter) GetTags ¶
func (x *EventRulesFilter) GetTags() []string
func (*EventRulesFilter) ProtoMessage ¶
func (*EventRulesFilter) ProtoMessage()
func (*EventRulesFilter) ProtoReflect ¶
func (x *EventRulesFilter) ProtoReflect() protoreflect.Message
func (*EventRulesFilter) Reset ¶
func (x *EventRulesFilter) Reset()
func (*EventRulesFilter) String ¶
func (x *EventRulesFilter) String() string
type EventRulesGroupResponse ¶
type EventRulesGroupResponse struct { GroupNames []string `protobuf:"bytes,1,rep,name=groupNames,proto3" json:"groupNames,omitempty"` // contains filtered or unexported fields }
func (*EventRulesGroupResponse) Descriptor
deprecated
func (*EventRulesGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventRulesGroupResponse.ProtoReflect.Descriptor instead.
func (*EventRulesGroupResponse) GetGroupNames ¶
func (x *EventRulesGroupResponse) GetGroupNames() []string
func (*EventRulesGroupResponse) ProtoMessage ¶
func (*EventRulesGroupResponse) ProtoMessage()
func (*EventRulesGroupResponse) ProtoReflect ¶
func (x *EventRulesGroupResponse) ProtoReflect() protoreflect.Message
func (*EventRulesGroupResponse) Reset ¶
func (x *EventRulesGroupResponse) Reset()
func (*EventRulesGroupResponse) String ¶
func (x *EventRulesGroupResponse) String() string
type EventRulesQueryRequest ¶
type EventRulesQueryRequest struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Filter *EventRulesFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` Sort *SortOrder `protobuf:"bytes,4,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*EventRulesQueryRequest) Descriptor
deprecated
func (*EventRulesQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use EventRulesQueryRequest.ProtoReflect.Descriptor instead.
func (*EventRulesQueryRequest) GetCount ¶
func (x *EventRulesQueryRequest) GetCount() uint64
func (*EventRulesQueryRequest) GetFilter ¶
func (x *EventRulesQueryRequest) GetFilter() *EventRulesFilter
func (*EventRulesQueryRequest) GetOffset ¶
func (x *EventRulesQueryRequest) GetOffset() uint64
func (*EventRulesQueryRequest) GetSort ¶
func (x *EventRulesQueryRequest) GetSort() *SortOrder
func (*EventRulesQueryRequest) ProtoMessage ¶
func (*EventRulesQueryRequest) ProtoMessage()
func (*EventRulesQueryRequest) ProtoReflect ¶
func (x *EventRulesQueryRequest) ProtoReflect() protoreflect.Message
func (*EventRulesQueryRequest) Reset ¶
func (x *EventRulesQueryRequest) Reset()
func (*EventRulesQueryRequest) String ¶
func (x *EventRulesQueryRequest) String() string
type EventRulesResponse ¶
type EventRulesResponse struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` TotalCount int64 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` EventRules []*EventRule `protobuf:"bytes,4,rep,name=eventRules,proto3" json:"eventRules,omitempty"` // contains filtered or unexported fields }
func (*EventRulesResponse) Descriptor
deprecated
func (*EventRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventRulesResponse.ProtoReflect.Descriptor instead.
func (*EventRulesResponse) GetCount ¶
func (x *EventRulesResponse) GetCount() int64
func (*EventRulesResponse) GetEventRules ¶
func (x *EventRulesResponse) GetEventRules() []*EventRule
func (*EventRulesResponse) GetOffset ¶
func (x *EventRulesResponse) GetOffset() int64
func (*EventRulesResponse) GetTotalCount ¶
func (x *EventRulesResponse) GetTotalCount() int64
func (*EventRulesResponse) ProtoMessage ¶
func (*EventRulesResponse) ProtoMessage()
func (*EventRulesResponse) ProtoReflect ¶
func (x *EventRulesResponse) ProtoReflect() protoreflect.Message
func (*EventRulesResponse) Reset ¶
func (x *EventRulesResponse) Reset()
func (*EventRulesResponse) String ¶
func (x *EventRulesResponse) String() string
type EventRulesResponseResult ¶
type EventRulesResponseResult struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*EventRulesResponseResult) Descriptor
deprecated
func (*EventRulesResponseResult) Descriptor() ([]byte, []int)
Deprecated: Use EventRulesResponseResult.ProtoReflect.Descriptor instead.
func (*EventRulesResponseResult) GetError ¶
func (x *EventRulesResponseResult) GetError() string
func (*EventRulesResponseResult) ProtoMessage ¶
func (*EventRulesResponseResult) ProtoMessage()
func (*EventRulesResponseResult) ProtoReflect ¶
func (x *EventRulesResponseResult) ProtoReflect() protoreflect.Message
func (*EventRulesResponseResult) Reset ¶
func (x *EventRulesResponseResult) Reset()
func (*EventRulesResponseResult) String ¶
func (x *EventRulesResponseResult) String() string
type EventRulesServiceClient ¶
type EventRulesServiceClient interface { GetEventRuleGroups(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EventRulesGroupResponse, error) SetEventRuleGroupsActive(ctx context.Context, in *EventRuleGroupActiveConfig, opts ...grpc.CallOption) (*EventRulesResponseResult, error) GetEventRules(ctx context.Context, in *EventRulesQueryRequest, opts ...grpc.CallOption) (*EventRulesResponse, error) CreateEventRule(ctx context.Context, in *EventRule, opts ...grpc.CallOption) (*EventRulesResponseResult, error) UpdateEventRule(ctx context.Context, in *EventRule, opts ...grpc.CallOption) (*EventRulesResponseResult, error) DeleteEventRule(ctx context.Context, in *ProcessEventRuleByNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) GetEventRuleByName(ctx context.Context, in *GetEventRuleByNameRequest, opts ...grpc.CallOption) (*EventRule, error) TestEventRule(ctx context.Context, in *TestEventRulePayload, opts ...grpc.CallOption) (*TestEventRuleResponse, error) CheckEventRuleExists(ctx context.Context, in *EventRuleExistsRequest, opts ...grpc.CallOption) (*EventRuleExistsResponse, error) ValidateRuleForDuplicate(ctx context.Context, in *CheckDuplicateConditionRequest, opts ...grpc.CallOption) (*CheckDuplicateConditionResponse, error) GenerateEventSequence(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EventSequenceResponse, error) }
EventRulesServiceClient is the client API for EventRulesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEventRulesServiceClient ¶
func NewEventRulesServiceClient(cc grpc.ClientConnInterface) EventRulesServiceClient
type EventRulesServiceServer ¶
type EventRulesServiceServer interface { GetEventRuleGroups(context.Context, *emptypb.Empty) (*EventRulesGroupResponse, error) SetEventRuleGroupsActive(context.Context, *EventRuleGroupActiveConfig) (*EventRulesResponseResult, error) GetEventRules(context.Context, *EventRulesQueryRequest) (*EventRulesResponse, error) CreateEventRule(context.Context, *EventRule) (*EventRulesResponseResult, error) UpdateEventRule(context.Context, *EventRule) (*EventRulesResponseResult, error) DeleteEventRule(context.Context, *ProcessEventRuleByNameRequest) (*emptypb.Empty, error) GetEventRuleByName(context.Context, *GetEventRuleByNameRequest) (*EventRule, error) TestEventRule(context.Context, *TestEventRulePayload) (*TestEventRuleResponse, error) CheckEventRuleExists(context.Context, *EventRuleExistsRequest) (*EventRuleExistsResponse, error) ValidateRuleForDuplicate(context.Context, *CheckDuplicateConditionRequest) (*CheckDuplicateConditionResponse, error) GenerateEventSequence(context.Context, *emptypb.Empty) (*EventSequenceResponse, error) }
EventRulesServiceServer is the server API for EventRulesService service.
type EventSequenceResponse ¶
type EventSequenceResponse struct { Sequence *Sequence `protobuf:"bytes,1,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*EventSequenceResponse) Descriptor
deprecated
func (*EventSequenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use EventSequenceResponse.ProtoReflect.Descriptor instead.
func (*EventSequenceResponse) GetSequence ¶
func (x *EventSequenceResponse) GetSequence() *Sequence
func (*EventSequenceResponse) ProtoMessage ¶
func (*EventSequenceResponse) ProtoMessage()
func (*EventSequenceResponse) ProtoReflect ¶
func (x *EventSequenceResponse) ProtoReflect() protoreflect.Message
func (*EventSequenceResponse) Reset ¶
func (x *EventSequenceResponse) Reset()
func (*EventSequenceResponse) String ¶
func (x *EventSequenceResponse) String() string
type GetEventRuleByNameRequest ¶
type GetEventRuleByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetEventRuleByNameRequest) Descriptor
deprecated
func (*GetEventRuleByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventRuleByNameRequest.ProtoReflect.Descriptor instead.
func (*GetEventRuleByNameRequest) GetName ¶
func (x *GetEventRuleByNameRequest) GetName() string
func (*GetEventRuleByNameRequest) ProtoMessage ¶
func (*GetEventRuleByNameRequest) ProtoMessage()
func (*GetEventRuleByNameRequest) ProtoReflect ¶
func (x *GetEventRuleByNameRequest) ProtoReflect() protoreflect.Message
func (*GetEventRuleByNameRequest) Reset ¶
func (x *GetEventRuleByNameRequest) Reset()
func (*GetEventRuleByNameRequest) String ¶
func (x *GetEventRuleByNameRequest) String() string
type MetricType ¶
type MetricType int32
const ( MetricType_NOVAL MetricType = 0 MetricType_GAUGE MetricType = 1 MetricType_COUNTER MetricType = 2 MetricType_HISTOGRAM MetricType = 3 )
func (MetricType) Descriptor ¶
func (MetricType) Descriptor() protoreflect.EnumDescriptor
func (MetricType) Enum ¶
func (x MetricType) Enum() *MetricType
func (MetricType) EnumDescriptor
deprecated
func (MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricType.Descriptor instead.
func (MetricType) Number ¶
func (x MetricType) Number() protoreflect.EnumNumber
func (MetricType) String ¶
func (x MetricType) String() string
func (MetricType) Type ¶
func (MetricType) Type() protoreflect.EnumType
type PatternLabel ¶
type PatternLabel struct { Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` // string matchedPattern = 2; MatchedNames []string `protobuf:"bytes,3,rep,name=matchedNames,proto3" json:"matchedNames,omitempty"` // contains filtered or unexported fields }
func (*PatternLabel) Descriptor
deprecated
func (*PatternLabel) Descriptor() ([]byte, []int)
Deprecated: Use PatternLabel.ProtoReflect.Descriptor instead.
func (*PatternLabel) GetMatchedNames ¶
func (x *PatternLabel) GetMatchedNames() []string
func (*PatternLabel) GetPattern ¶
func (x *PatternLabel) GetPattern() string
func (*PatternLabel) ProtoMessage ¶
func (*PatternLabel) ProtoMessage()
func (*PatternLabel) ProtoReflect ¶
func (x *PatternLabel) ProtoReflect() protoreflect.Message
func (*PatternLabel) Reset ¶
func (x *PatternLabel) Reset()
func (*PatternLabel) String ¶
func (x *PatternLabel) String() string
type ProcessEventRuleByNameRequest ¶
type ProcessEventRuleByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ProcessEventRuleByNameRequest) Descriptor
deprecated
func (*ProcessEventRuleByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProcessEventRuleByNameRequest.ProtoReflect.Descriptor instead.
func (*ProcessEventRuleByNameRequest) GetName ¶
func (x *ProcessEventRuleByNameRequest) GetName() string
func (*ProcessEventRuleByNameRequest) ProtoMessage ¶
func (*ProcessEventRuleByNameRequest) ProtoMessage()
func (*ProcessEventRuleByNameRequest) ProtoReflect ¶
func (x *ProcessEventRuleByNameRequest) ProtoReflect() protoreflect.Message
func (*ProcessEventRuleByNameRequest) Reset ¶
func (x *ProcessEventRuleByNameRequest) Reset()
func (*ProcessEventRuleByNameRequest) String ¶
func (x *ProcessEventRuleByNameRequest) String() string
type Sequence ¶
type Sequence struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Sequence) Descriptor
deprecated
func (*Sequence) ProtoMessage ¶
func (*Sequence) ProtoMessage()
func (*Sequence) ProtoReflect ¶
func (x *Sequence) ProtoReflect() protoreflect.Message
type SortOrder ¶
type SortOrder struct { Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"` Order SortOrderEnums `protobuf:"varint,2,opt,name=order,proto3,enum=eventRules.SortOrderEnums" json:"order,omitempty"` // contains filtered or unexported fields }
func (*SortOrder) Descriptor
deprecated
func (*SortOrder) GetAttribute ¶
func (*SortOrder) GetOrder ¶
func (x *SortOrder) GetOrder() SortOrderEnums
func (*SortOrder) ProtoMessage ¶
func (*SortOrder) ProtoMessage()
func (*SortOrder) ProtoReflect ¶
func (x *SortOrder) ProtoReflect() protoreflect.Message
type SortOrderEnums ¶
type SortOrderEnums int32
const ( SortOrderEnums_UNKNOWN SortOrderEnums = 0 SortOrderEnums_ASC SortOrderEnums = 1 SortOrderEnums_DESC SortOrderEnums = 2 )
func (SortOrderEnums) Descriptor ¶
func (SortOrderEnums) Descriptor() protoreflect.EnumDescriptor
func (SortOrderEnums) Enum ¶
func (x SortOrderEnums) Enum() *SortOrderEnums
func (SortOrderEnums) EnumDescriptor
deprecated
func (SortOrderEnums) EnumDescriptor() ([]byte, []int)
Deprecated: Use SortOrderEnums.Descriptor instead.
func (SortOrderEnums) Number ¶
func (x SortOrderEnums) Number() protoreflect.EnumNumber
func (SortOrderEnums) String ¶
func (x SortOrderEnums) String() string
func (SortOrderEnums) Type ¶
func (SortOrderEnums) Type() protoreflect.EnumType
type TestEventRulePayload ¶
type TestEventRulePayload struct { RuleType string `protobuf:"bytes,1,opt,name=ruleType,proto3" json:"ruleType,omitempty"` Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` Params map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestEventRulePayload) Descriptor
deprecated
func (*TestEventRulePayload) Descriptor() ([]byte, []int)
Deprecated: Use TestEventRulePayload.ProtoReflect.Descriptor instead.
func (*TestEventRulePayload) GetCondition ¶
func (x *TestEventRulePayload) GetCondition() string
func (*TestEventRulePayload) GetParams ¶
func (x *TestEventRulePayload) GetParams() map[string]string
func (*TestEventRulePayload) GetRuleType ¶
func (x *TestEventRulePayload) GetRuleType() string
func (*TestEventRulePayload) ProtoMessage ¶
func (*TestEventRulePayload) ProtoMessage()
func (*TestEventRulePayload) ProtoReflect ¶
func (x *TestEventRulePayload) ProtoReflect() protoreflect.Message
func (*TestEventRulePayload) Reset ¶
func (x *TestEventRulePayload) Reset()
func (*TestEventRulePayload) String ¶
func (x *TestEventRulePayload) String() string
type TestEventRuleResponse ¶
type TestEventRuleResponse struct { Result string `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*TestEventRuleResponse) Descriptor
deprecated
func (*TestEventRuleResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestEventRuleResponse.ProtoReflect.Descriptor instead.
func (*TestEventRuleResponse) GetResult ¶
func (x *TestEventRuleResponse) GetResult() string
func (*TestEventRuleResponse) ProtoMessage ¶
func (*TestEventRuleResponse) ProtoMessage()
func (*TestEventRuleResponse) ProtoReflect ¶
func (x *TestEventRuleResponse) ProtoReflect() protoreflect.Message
func (*TestEventRuleResponse) Reset ¶
func (x *TestEventRuleResponse) Reset()
func (*TestEventRuleResponse) String ¶
func (x *TestEventRuleResponse) String() string
type UnimplementedEventRulesServiceServer ¶
type UnimplementedEventRulesServiceServer struct { }
UnimplementedEventRulesServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEventRulesServiceServer) CheckEventRuleExists ¶
func (*UnimplementedEventRulesServiceServer) CheckEventRuleExists(context.Context, *EventRuleExistsRequest) (*EventRuleExistsResponse, error)
func (*UnimplementedEventRulesServiceServer) CreateEventRule ¶
func (*UnimplementedEventRulesServiceServer) CreateEventRule(context.Context, *EventRule) (*EventRulesResponseResult, error)
func (*UnimplementedEventRulesServiceServer) DeleteEventRule ¶
func (*UnimplementedEventRulesServiceServer) DeleteEventRule(context.Context, *ProcessEventRuleByNameRequest) (*emptypb.Empty, error)
func (*UnimplementedEventRulesServiceServer) GenerateEventSequence ¶
func (*UnimplementedEventRulesServiceServer) GenerateEventSequence(context.Context, *emptypb.Empty) (*EventSequenceResponse, error)
func (*UnimplementedEventRulesServiceServer) GetEventRuleByName ¶
func (*UnimplementedEventRulesServiceServer) GetEventRuleByName(context.Context, *GetEventRuleByNameRequest) (*EventRule, error)
func (*UnimplementedEventRulesServiceServer) GetEventRuleGroups ¶
func (*UnimplementedEventRulesServiceServer) GetEventRuleGroups(context.Context, *emptypb.Empty) (*EventRulesGroupResponse, error)
func (*UnimplementedEventRulesServiceServer) GetEventRules ¶
func (*UnimplementedEventRulesServiceServer) GetEventRules(context.Context, *EventRulesQueryRequest) (*EventRulesResponse, error)
func (*UnimplementedEventRulesServiceServer) SetEventRuleGroupsActive ¶
func (*UnimplementedEventRulesServiceServer) SetEventRuleGroupsActive(context.Context, *EventRuleGroupActiveConfig) (*EventRulesResponseResult, error)
func (*UnimplementedEventRulesServiceServer) TestEventRule ¶
func (*UnimplementedEventRulesServiceServer) TestEventRule(context.Context, *TestEventRulePayload) (*TestEventRuleResponse, error)
func (*UnimplementedEventRulesServiceServer) UpdateEventRule ¶
func (*UnimplementedEventRulesServiceServer) UpdateEventRule(context.Context, *EventRule) (*EventRulesResponseResult, error)
func (*UnimplementedEventRulesServiceServer) ValidateRuleForDuplicate ¶
func (*UnimplementedEventRulesServiceServer) ValidateRuleForDuplicate(context.Context, *CheckDuplicateConditionRequest) (*CheckDuplicateConditionResponse, error)