Documentation ¶
Index ¶
- Constants
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetProjectCreated() *ProjectCreated
- func (x *Event) GetProjectDeleted() *ProjectDeleted
- func (x *Event) GetType() EventType
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventType
- type ProjectCreated
- func (*ProjectCreated) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectCreated) GetBillingAccount() string
- func (x *ProjectCreated) GetId() string
- func (x *ProjectCreated) GetName() string
- func (*ProjectCreated) ProtoMessage()
- func (x *ProjectCreated) ProtoReflect() protoreflect.Message
- func (x *ProjectCreated) Reset()
- func (x *ProjectCreated) String() string
- type ProjectDeleted
- func (*ProjectDeleted) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectDeleted) GetBillingAccount() string
- func (x *ProjectDeleted) GetId() string
- func (x *ProjectDeleted) GetName() string
- func (*ProjectDeleted) ProtoMessage()
- func (x *ProjectDeleted) ProtoReflect() protoreflect.Message
- func (x *ProjectDeleted) Reset()
- func (x *ProjectDeleted) String() string
Constants ¶
View Source
const Topic = "projects"
Variables ¶
View Source
var ( EventType_name = map[int32]string{ 0: "EventTypeUnknown", 1: "EventTypeProjectCreated", 2: "EventTypeProjectDeleted", } EventType_value = map[string]int32{ "EventTypeUnknown": 0, "EventTypeProjectCreated": 1, "EventTypeProjectDeleted": 2, } )
Enum value maps for EventType.
View Source
var File_projects_events_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Type EventType `protobuf:"varint,1,opt,name=type,proto3,enum=projectsevents.EventType" json:"type,omitempty"` ProjectCreated *ProjectCreated `protobuf:"bytes,2,opt,name=project_created,json=projectCreated,proto3" json:"project_created,omitempty"` ProjectDeleted *ProjectDeleted `protobuf:"bytes,3,opt,name=project_deleted,json=projectDeleted,proto3" json:"project_deleted,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetProjectCreated ¶
func (x *Event) GetProjectCreated() *ProjectCreated
func (*Event) GetProjectDeleted ¶
func (x *Event) GetProjectDeleted() *ProjectDeleted
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType int32
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type ProjectCreated ¶
type ProjectCreated struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` BillingAccount string `protobuf:"bytes,3,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"` // contains filtered or unexported fields }
func (*ProjectCreated) Descriptor
deprecated
func (*ProjectCreated) Descriptor() ([]byte, []int)
Deprecated: Use ProjectCreated.ProtoReflect.Descriptor instead.
func (*ProjectCreated) GetBillingAccount ¶
func (x *ProjectCreated) GetBillingAccount() string
func (*ProjectCreated) GetId ¶
func (x *ProjectCreated) GetId() string
func (*ProjectCreated) GetName ¶
func (x *ProjectCreated) GetName() string
func (*ProjectCreated) ProtoMessage ¶
func (*ProjectCreated) ProtoMessage()
func (*ProjectCreated) ProtoReflect ¶
func (x *ProjectCreated) ProtoReflect() protoreflect.Message
func (*ProjectCreated) Reset ¶
func (x *ProjectCreated) Reset()
func (*ProjectCreated) String ¶
func (x *ProjectCreated) String() string
type ProjectDeleted ¶
type ProjectDeleted struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` BillingAccount string `protobuf:"bytes,3,opt,name=billing_account,json=billingAccount,proto3" json:"billing_account,omitempty"` // contains filtered or unexported fields }
func (*ProjectDeleted) Descriptor
deprecated
func (*ProjectDeleted) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDeleted.ProtoReflect.Descriptor instead.
func (*ProjectDeleted) GetBillingAccount ¶
func (x *ProjectDeleted) GetBillingAccount() string
func (*ProjectDeleted) GetId ¶
func (x *ProjectDeleted) GetId() string
func (*ProjectDeleted) GetName ¶
func (x *ProjectDeleted) GetName() string
func (*ProjectDeleted) ProtoMessage ¶
func (*ProjectDeleted) ProtoMessage()
func (*ProjectDeleted) ProtoReflect ¶
func (x *ProjectDeleted) ProtoReflect() protoreflect.Message
func (*ProjectDeleted) Reset ¶
func (x *ProjectDeleted) Reset()
func (*ProjectDeleted) String ¶
func (x *ProjectDeleted) String() string
Click to show internal directories.
Click to hide internal directories.