Documentation
¶
Index ¶
- Variables
- type DomainEventNotification
- func (*DomainEventNotification) Descriptor() ([]byte, []int)deprecated
- func (x *DomainEventNotification) GetEditor() *domain.Editor
- func (x *DomainEventNotification) GetEntityId() string
- func (x *DomainEventNotification) GetEntityType() domain.Event_EntityType
- func (x *DomainEventNotification) GetEnvironmentName() string
- func (x *DomainEventNotification) GetEnvironmentUrlCode() string
- func (x *DomainEventNotification) GetType() domain.Event_Type
- func (*DomainEventNotification) ProtoMessage()
- func (x *DomainEventNotification) ProtoReflect() protoreflect.Message
- func (x *DomainEventNotification) Reset()
- func (x *DomainEventNotification) String() string
- type ExperimentRunningNotification
- func (*ExperimentRunningNotification) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentRunningNotification) GetEnvironmentName() string
- func (x *ExperimentRunningNotification) GetEnvironmentUrlCode() string
- func (x *ExperimentRunningNotification) GetExperiments() []*experiment.Experiment
- func (*ExperimentRunningNotification) ProtoMessage()
- func (x *ExperimentRunningNotification) ProtoReflect() protoreflect.Message
- func (x *ExperimentRunningNotification) Reset()
- func (x *ExperimentRunningNotification) String() string
- type FeatureStaleNotification
- func (*FeatureStaleNotification) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureStaleNotification) GetEnvironmentName() string
- func (x *FeatureStaleNotification) GetEnvironmentUrlCode() string
- func (x *FeatureStaleNotification) GetFeatures() []*feature.Feature
- func (*FeatureStaleNotification) ProtoMessage()
- func (x *FeatureStaleNotification) ProtoReflect() protoreflect.Message
- func (x *FeatureStaleNotification) Reset()
- func (x *FeatureStaleNotification) String() string
- type MauCountNotification
- func (*MauCountNotification) Descriptor() ([]byte, []int)deprecated
- func (x *MauCountNotification) GetEnvironmentName() string
- func (x *MauCountNotification) GetEnvironmentUrlCode() string
- func (x *MauCountNotification) GetEventCount() int64
- func (x *MauCountNotification) GetMonth() int32
- func (x *MauCountNotification) GetUserCount() int64
- func (*MauCountNotification) ProtoMessage()
- func (x *MauCountNotification) ProtoReflect() protoreflect.Message
- func (x *MauCountNotification) Reset()
- func (x *MauCountNotification) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetDomainEventNotification() *DomainEventNotification
- func (x *Notification) GetExperimentRunningNotification() *ExperimentRunningNotification
- func (x *Notification) GetFeatureStaleNotification() *FeatureStaleNotification
- func (x *Notification) GetMauCountNotification() *MauCountNotification
- func (x *Notification) GetType() Notification_Type
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationEvent
- func (*NotificationEvent) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationEvent) GetEnvironmentNamespace() string
- func (x *NotificationEvent) GetId() string
- func (x *NotificationEvent) GetIsAdminEvent() bool
- func (x *NotificationEvent) GetNotification() *Notification
- func (x *NotificationEvent) GetSourceType() notification.Subscription_SourceType
- func (*NotificationEvent) ProtoMessage()
- func (x *NotificationEvent) ProtoReflect() protoreflect.Message
- func (x *NotificationEvent) Reset()
- func (x *NotificationEvent) String() string
- type Notification_Type
- func (Notification_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Notification_Type) Enum() *Notification_Type
- func (Notification_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Notification_Type) Number() protoreflect.EnumNumber
- func (x Notification_Type) String() string
- func (Notification_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Notification_Type_name = map[int32]string{ 0: "DomainEvent", 1: "FeatureStale", 2: "ExperimentRunning", 3: "MauCount", } Notification_Type_value = map[string]int32{ "DomainEvent": 0, "FeatureStale": 1, "ExperimentRunning": 2, "MauCount": 3, } )
Enum value maps for Notification_Type.
View Source
var File_proto_notification_sender_notification_event_proto protoreflect.FileDescriptor
View Source
var File_proto_notification_sender_notification_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DomainEventNotification ¶
type DomainEventNotification struct { Editor *domain.Editor `protobuf:"bytes,2,opt,name=editor,proto3" json:"editor"` EntityType domain.Event_EntityType `` /* 127-byte string literal not displayed */ EntityId string `protobuf:"bytes,4,opt,name=entity_id,json=entityId,proto3" json:"entity_id"` Type domain.Event_Type `protobuf:"varint,5,opt,name=type,proto3,enum=bucketeer.event.domain.Event_Type" json:"type"` EnvironmentName string `protobuf:"bytes,7,opt,name=environment_name,json=environmentName,proto3" json:"environment_name"` EnvironmentUrlCode string `protobuf:"bytes,8,opt,name=environment_url_code,json=environmentUrlCode,proto3" json:"environment_url_code"` // contains filtered or unexported fields }
func (*DomainEventNotification) Descriptor
deprecated
func (*DomainEventNotification) Descriptor() ([]byte, []int)
Deprecated: Use DomainEventNotification.ProtoReflect.Descriptor instead.
func (*DomainEventNotification) GetEditor ¶
func (x *DomainEventNotification) GetEditor() *domain.Editor
func (*DomainEventNotification) GetEntityId ¶
func (x *DomainEventNotification) GetEntityId() string
func (*DomainEventNotification) GetEntityType ¶
func (x *DomainEventNotification) GetEntityType() domain.Event_EntityType
func (*DomainEventNotification) GetEnvironmentName ¶ added in v0.4.0
func (x *DomainEventNotification) GetEnvironmentName() string
func (*DomainEventNotification) GetEnvironmentUrlCode ¶ added in v0.4.0
func (x *DomainEventNotification) GetEnvironmentUrlCode() string
func (*DomainEventNotification) GetType ¶
func (x *DomainEventNotification) GetType() domain.Event_Type
func (*DomainEventNotification) ProtoMessage ¶
func (*DomainEventNotification) ProtoMessage()
func (*DomainEventNotification) ProtoReflect ¶
func (x *DomainEventNotification) ProtoReflect() protoreflect.Message
func (*DomainEventNotification) Reset ¶
func (x *DomainEventNotification) Reset()
func (*DomainEventNotification) String ¶
func (x *DomainEventNotification) String() string
type ExperimentRunningNotification ¶
type ExperimentRunningNotification struct { Experiments []*experiment.Experiment `protobuf:"bytes,3,rep,name=experiments,proto3" json:"experiments"` EnvironmentName string `protobuf:"bytes,4,opt,name=environment_name,json=environmentName,proto3" json:"environment_name"` EnvironmentUrlCode string `protobuf:"bytes,5,opt,name=environment_url_code,json=environmentUrlCode,proto3" json:"environment_url_code"` // contains filtered or unexported fields }
func (*ExperimentRunningNotification) Descriptor
deprecated
func (*ExperimentRunningNotification) Descriptor() ([]byte, []int)
Deprecated: Use ExperimentRunningNotification.ProtoReflect.Descriptor instead.
func (*ExperimentRunningNotification) GetEnvironmentName ¶ added in v0.4.0
func (x *ExperimentRunningNotification) GetEnvironmentName() string
func (*ExperimentRunningNotification) GetEnvironmentUrlCode ¶ added in v0.4.0
func (x *ExperimentRunningNotification) GetEnvironmentUrlCode() string
func (*ExperimentRunningNotification) GetExperiments ¶
func (x *ExperimentRunningNotification) GetExperiments() []*experiment.Experiment
func (*ExperimentRunningNotification) ProtoMessage ¶
func (*ExperimentRunningNotification) ProtoMessage()
func (*ExperimentRunningNotification) ProtoReflect ¶
func (x *ExperimentRunningNotification) ProtoReflect() protoreflect.Message
func (*ExperimentRunningNotification) Reset ¶
func (x *ExperimentRunningNotification) Reset()
func (*ExperimentRunningNotification) String ¶
func (x *ExperimentRunningNotification) String() string
type FeatureStaleNotification ¶
type FeatureStaleNotification struct { Features []*feature.Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features"` EnvironmentName string `protobuf:"bytes,4,opt,name=environment_name,json=environmentName,proto3" json:"environment_name"` EnvironmentUrlCode string `protobuf:"bytes,5,opt,name=environment_url_code,json=environmentUrlCode,proto3" json:"environment_url_code"` // contains filtered or unexported fields }
func (*FeatureStaleNotification) Descriptor
deprecated
func (*FeatureStaleNotification) Descriptor() ([]byte, []int)
Deprecated: Use FeatureStaleNotification.ProtoReflect.Descriptor instead.
func (*FeatureStaleNotification) GetEnvironmentName ¶ added in v0.4.0
func (x *FeatureStaleNotification) GetEnvironmentName() string
func (*FeatureStaleNotification) GetEnvironmentUrlCode ¶ added in v0.4.0
func (x *FeatureStaleNotification) GetEnvironmentUrlCode() string
func (*FeatureStaleNotification) GetFeatures ¶
func (x *FeatureStaleNotification) GetFeatures() []*feature.Feature
func (*FeatureStaleNotification) ProtoMessage ¶
func (*FeatureStaleNotification) ProtoMessage()
func (*FeatureStaleNotification) ProtoReflect ¶
func (x *FeatureStaleNotification) ProtoReflect() protoreflect.Message
func (*FeatureStaleNotification) Reset ¶
func (x *FeatureStaleNotification) Reset()
func (*FeatureStaleNotification) String ¶
func (x *FeatureStaleNotification) String() string
type MauCountNotification ¶
type MauCountNotification struct { EventCount int64 `protobuf:"varint,2,opt,name=event_count,json=eventCount,proto3" json:"event_count"` UserCount int64 `protobuf:"varint,3,opt,name=user_count,json=userCount,proto3" json:"user_count"` Month int32 `protobuf:"varint,4,opt,name=month,proto3" json:"month"` EnvironmentName string `protobuf:"bytes,5,opt,name=environment_name,json=environmentName,proto3" json:"environment_name"` EnvironmentUrlCode string `protobuf:"bytes,6,opt,name=environment_url_code,json=environmentUrlCode,proto3" json:"environment_url_code"` // contains filtered or unexported fields }
func (*MauCountNotification) Descriptor
deprecated
func (*MauCountNotification) Descriptor() ([]byte, []int)
Deprecated: Use MauCountNotification.ProtoReflect.Descriptor instead.
func (*MauCountNotification) GetEnvironmentName ¶ added in v0.4.0
func (x *MauCountNotification) GetEnvironmentName() string
func (*MauCountNotification) GetEnvironmentUrlCode ¶ added in v0.4.0
func (x *MauCountNotification) GetEnvironmentUrlCode() string
func (*MauCountNotification) GetEventCount ¶
func (x *MauCountNotification) GetEventCount() int64
func (*MauCountNotification) GetMonth ¶
func (x *MauCountNotification) GetMonth() int32
func (*MauCountNotification) GetUserCount ¶
func (x *MauCountNotification) GetUserCount() int64
func (*MauCountNotification) ProtoMessage ¶
func (*MauCountNotification) ProtoMessage()
func (*MauCountNotification) ProtoReflect ¶
func (x *MauCountNotification) ProtoReflect() protoreflect.Message
func (*MauCountNotification) Reset ¶
func (x *MauCountNotification) Reset()
func (*MauCountNotification) String ¶
func (x *MauCountNotification) String() string
type Notification ¶
type Notification struct { Type Notification_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bucketeer.notification.sender.Notification_Type" json:"type"` DomainEventNotification *DomainEventNotification `protobuf:"bytes,2,opt,name=domain_event_notification,json=domainEventNotification,proto3" json:"domain_event_notification"` FeatureStaleNotification *FeatureStaleNotification `protobuf:"bytes,3,opt,name=feature_stale_notification,json=featureStaleNotification,proto3" json:"feature_stale_notification"` ExperimentRunningNotification *ExperimentRunningNotification `` /* 140-byte string literal not displayed */ MauCountNotification *MauCountNotification `protobuf:"bytes,5,opt,name=mau_count_notification,json=mauCountNotification,proto3" json:"mau_count_notification"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetDomainEventNotification ¶
func (x *Notification) GetDomainEventNotification() *DomainEventNotification
func (*Notification) GetExperimentRunningNotification ¶
func (x *Notification) GetExperimentRunningNotification() *ExperimentRunningNotification
func (*Notification) GetFeatureStaleNotification ¶
func (x *Notification) GetFeatureStaleNotification() *FeatureStaleNotification
func (*Notification) GetMauCountNotification ¶
func (x *Notification) GetMauCountNotification() *MauCountNotification
func (*Notification) GetType ¶
func (x *Notification) GetType() Notification_Type
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type NotificationEvent ¶
type NotificationEvent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` EnvironmentNamespace string `protobuf:"bytes,2,opt,name=environment_namespace,json=environmentNamespace,proto3" json:"environment_namespace"` SourceType notification.Subscription_SourceType `` /* 134-byte string literal not displayed */ Notification *Notification `protobuf:"bytes,4,opt,name=notification,proto3" json:"notification"` IsAdminEvent bool `protobuf:"varint,5,opt,name=is_admin_event,json=isAdminEvent,proto3" json:"is_admin_event"` // contains filtered or unexported fields }
func (*NotificationEvent) Descriptor
deprecated
func (*NotificationEvent) Descriptor() ([]byte, []int)
Deprecated: Use NotificationEvent.ProtoReflect.Descriptor instead.
func (*NotificationEvent) GetEnvironmentNamespace ¶
func (x *NotificationEvent) GetEnvironmentNamespace() string
func (*NotificationEvent) GetId ¶
func (x *NotificationEvent) GetId() string
func (*NotificationEvent) GetIsAdminEvent ¶
func (x *NotificationEvent) GetIsAdminEvent() bool
func (*NotificationEvent) GetNotification ¶
func (x *NotificationEvent) GetNotification() *Notification
func (*NotificationEvent) GetSourceType ¶
func (x *NotificationEvent) GetSourceType() notification.Subscription_SourceType
func (*NotificationEvent) ProtoMessage ¶
func (*NotificationEvent) ProtoMessage()
func (*NotificationEvent) ProtoReflect ¶
func (x *NotificationEvent) ProtoReflect() protoreflect.Message
func (*NotificationEvent) Reset ¶
func (x *NotificationEvent) Reset()
func (*NotificationEvent) String ¶
func (x *NotificationEvent) String() string
type Notification_Type ¶
type Notification_Type int32
const ( Notification_DomainEvent Notification_Type = 0 Notification_FeatureStale Notification_Type = 1 Notification_ExperimentRunning Notification_Type = 2 Notification_MauCount Notification_Type = 3 )
func (Notification_Type) Descriptor ¶
func (Notification_Type) Descriptor() protoreflect.EnumDescriptor
func (Notification_Type) Enum ¶
func (x Notification_Type) Enum() *Notification_Type
func (Notification_Type) EnumDescriptor
deprecated
func (Notification_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Notification_Type.Descriptor instead.
func (Notification_Type) Number ¶
func (x Notification_Type) Number() protoreflect.EnumNumber
func (Notification_Type) String ¶
func (x Notification_Type) String() string
func (Notification_Type) Type ¶
func (Notification_Type) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.