notifications

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PlatformEventName_name = map[int32]string{
		0: "USER_REGISTER_SUCCESS",
		1: "APOLLO_MIGRATE_INIT",
		2: "APOLLO_MIGRATE_SUCCESS",
		3: "USER_DELETE_SUCCESS",
	}
	PlatformEventName_value = map[string]int32{
		"USER_REGISTER_SUCCESS":  0,
		"APOLLO_MIGRATE_INIT":    1,
		"APOLLO_MIGRATE_SUCCESS": 2,
		"USER_DELETE_SUCCESS":    3,
	}
)

Enum value maps for PlatformEventName.

View Source
var (
	OrganizationEventName_name = map[int32]string{
		0: "FEDERATED_GRAPH_SCHEMA_UPDATED",
		1: "MONOGRAPH_SCHEMA_UPDATED",
	}
	OrganizationEventName_value = map[string]int32{
		"FEDERATED_GRAPH_SCHEMA_UPDATED": 0,
		"MONOGRAPH_SCHEMA_UPDATED":       1,
	}
)

Enum value maps for OrganizationEventName.

View Source
var File_wg_cosmo_notifications_events_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EventMeta

type EventMeta struct {
	EventName OrganizationEventName `` /* 139-byte string literal not displayed */
	// Types that are assignable to Meta:
	//
	//	*EventMeta_FederatedGraphSchemaUpdated
	//	*EventMeta_MonographSchemaUpdated
	Meta isEventMeta_Meta `protobuf_oneof:"meta"`
	// contains filtered or unexported fields
}

func (*EventMeta) Descriptor deprecated

func (*EventMeta) Descriptor() ([]byte, []int)

Deprecated: Use EventMeta.ProtoReflect.Descriptor instead.

func (*EventMeta) GetEventName

func (x *EventMeta) GetEventName() OrganizationEventName

func (*EventMeta) GetFederatedGraphSchemaUpdated

func (x *EventMeta) GetFederatedGraphSchemaUpdated() *GraphSchemaUpdatedMeta

func (*EventMeta) GetMeta

func (m *EventMeta) GetMeta() isEventMeta_Meta

func (*EventMeta) GetMonographSchemaUpdated

func (x *EventMeta) GetMonographSchemaUpdated() *GraphSchemaUpdatedMeta

func (*EventMeta) ProtoMessage

func (*EventMeta) ProtoMessage()

func (*EventMeta) ProtoReflect

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

func (*EventMeta) Reset

func (x *EventMeta) Reset()

func (*EventMeta) String

func (x *EventMeta) String() string

type EventMeta_FederatedGraphSchemaUpdated

type EventMeta_FederatedGraphSchemaUpdated struct {
	FederatedGraphSchemaUpdated *GraphSchemaUpdatedMeta `protobuf:"bytes,2,opt,name=federated_graph_schema_updated,json=federatedGraphSchemaUpdated,proto3,oneof"`
}

type EventMeta_MonographSchemaUpdated

type EventMeta_MonographSchemaUpdated struct {
	MonographSchemaUpdated *GraphSchemaUpdatedMeta `protobuf:"bytes,3,opt,name=monograph_schema_updated,json=monographSchemaUpdated,proto3,oneof"`
}

type GraphSchemaUpdatedMeta

type GraphSchemaUpdatedMeta struct {
	GraphIds []string `protobuf:"bytes,1,rep,name=graphIds,proto3" json:"graphIds,omitempty"`
	// contains filtered or unexported fields
}

func (*GraphSchemaUpdatedMeta) Descriptor deprecated

func (*GraphSchemaUpdatedMeta) Descriptor() ([]byte, []int)

Deprecated: Use GraphSchemaUpdatedMeta.ProtoReflect.Descriptor instead.

func (*GraphSchemaUpdatedMeta) GetGraphIds

func (x *GraphSchemaUpdatedMeta) GetGraphIds() []string

func (*GraphSchemaUpdatedMeta) ProtoMessage

func (*GraphSchemaUpdatedMeta) ProtoMessage()

func (*GraphSchemaUpdatedMeta) ProtoReflect

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

func (*GraphSchemaUpdatedMeta) Reset

func (x *GraphSchemaUpdatedMeta) Reset()

func (*GraphSchemaUpdatedMeta) String

func (x *GraphSchemaUpdatedMeta) String() string

type OrganizationEventName

type OrganizationEventName int32
const (
	OrganizationEventName_FEDERATED_GRAPH_SCHEMA_UPDATED OrganizationEventName = 0
	OrganizationEventName_MONOGRAPH_SCHEMA_UPDATED       OrganizationEventName = 1
)

func (OrganizationEventName) Descriptor

func (OrganizationEventName) Enum

func (OrganizationEventName) EnumDescriptor deprecated

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

Deprecated: Use OrganizationEventName.Descriptor instead.

func (OrganizationEventName) Number

func (OrganizationEventName) String

func (x OrganizationEventName) String() string

func (OrganizationEventName) Type

type PlatformEventName

type PlatformEventName int32
const (
	PlatformEventName_USER_REGISTER_SUCCESS  PlatformEventName = 0
	PlatformEventName_APOLLO_MIGRATE_INIT    PlatformEventName = 1
	PlatformEventName_APOLLO_MIGRATE_SUCCESS PlatformEventName = 2
	PlatformEventName_USER_DELETE_SUCCESS    PlatformEventName = 3
)

func (PlatformEventName) Descriptor

func (PlatformEventName) Enum

func (PlatformEventName) EnumDescriptor deprecated

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

Deprecated: Use PlatformEventName.Descriptor instead.

func (PlatformEventName) Number

func (PlatformEventName) String

func (x PlatformEventName) String() string

func (PlatformEventName) Type

Jump to

Keyboard shortcuts

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